Quickstart

This walk-through takes about five minutes. It uses synthetic data, so nothing here touches a real system.

1. Install

pipx install faithful-pakad
pipx ensurepath
pakad --version

pipx ensurepath puts pipx’s tools on your PATH; run it once and open a new terminal. With pip, use pip install faithful-pakad. For a fixed version, use faithful-pakad==0.1.2. To try the development version, install from GitHub: pipx install git+https://github.com/faithful-oversight/faithful-pakad.

pakad runs on Windows, macOS, and Linux with Python 3.11 or newer.

2. Create the example

pakad example ./pakad-demo

This writes three files:

File

What it is

expected.csv

The population that should exist: a small HR roster.

collected.csv

What a directory export says exists.

profile.toml

How to match and check them. Every setting has a comment.

3. Run the reconciliation

pakad reconcile -p ./pakad-demo/profile.toml -e ./pakad-demo/expected.csv \
  -c ./pakad-demo/collected.csv -o ./pakad-demo/report --as-of 2026-11-07T12:00:00Z

On Windows PowerShell, put the command on one line or end each continued line with a backtick (`) instead of a backslash.

--as-of fixes the reference time so the example’s freshness check gives the same answer whenever you run it. Leave it out on real data to use the current time.

The terminal shows a summary:

pakad 0.1.2: HR roster vs directory export
  expected         9 records  expected.csv
  collected       12 records  collected.csv
  matched          8 keys

7 errors and 2 warnings need review.
  Missing from the collected export            1  (missing)
  Not in the expected population               1  (unexpected)
  Duplicate keys                               1  (duplicate-key)
  Keys that collide after normalization        1  (ambiguous-key)
  Records without a usable key                 1  (blank-key)
  Field values that disagree                   1  (field-mismatch)
  Expected sources with no records             1  (missing-source)
  Stale records                                1  (stale-record)
  Unusable capture times                       1  (invalid-timestamp)
1 check not verified; see the report.

Reports:
  pakad-demo/report/pakad-report.html  <- open this in a browser
  ...

pakad exits with code 1 because it found something. That is the expected result here.

4. Read the report

Open ./pakad-demo/report/pakad-report.html in a browser. Each group of findings explains what it means and what to do next, and each finding names the file and line it came from. The Not verified section lists checks that could not run, and the Evidence section records the hash of every input.

5. Use your own data

pakad example-profile > my-profile.toml

Edit the key columns and checks to match your exports, using the profile reference. Then check the profile before running it:

pakad check-profile my-profile.toml

Next steps