Skip to main content

assurance-cli

PyPI Tests Python License

Did the job cover everything it was supposed to cover? Arithmetic, not models.

Install

pip install assurance-cli
# or: pip install assurance   # every tool

Quick start

assurance --help lists: audit, hook, serve, reach, batch, init, check, diff, pin, drift, deps, budget, authority. audit, hook, serve, reach, budget, authority and deps forward to their packages when installed.

Point check at a folder of dated files (real output from a temp folder with Jan, Feb, Apr CSVs):

$ assurance check reports
3 of 4 months from 2026-01 to 2026-04 in reports — not in this folder: March 2026 — Range inferred from filenames: earliest 2026-01, latest 2026-04 — uneven spacing, so monthly was read from the names rather than detected. Override with --expect / --from / --to.

With --fail-on-gap that same line exits 1.

diff compares any two sets of keys (no folder required). pin snapshots MCP tool definitions and detects drift. drift watches a binary outcome stream.

What it checks

  • Dated or numbered series in a folder (check) — months, weeks, days, numbered runs
  • What an LLM batch job returned, per record (batch) — returned, errored, truncated, empty, or a reply shape it could not read, on Bedrock, OpenAI Batch and Anthropic Message Batches
  • Coverage over any two key sets (diff)
  • MCP tool-description drift since a pin (pin)
  • Shift in a binary outcome stream (drift)
  • Forwards: session audit, the Stop hook, the local endpoint, what a change reaches, run budget, authority review, dependency install hooks

In CI

exit means
0 checked; no gap (or not asked to fail on one)
1 gap / unexpected key / stale pin / nothing it could check
2 could not run (bad path, missing sibling package, bad JSON)

Limits

  • Does not invent the expected set. diff takes your declaration; check derives one and prints how.
  • Does not guess where a provider keeps a field. batch knows eight reply bodies by name; a record matching none of them is unreadable and counted, never read as a pass, and --stop-path names the fields of one it has not seen.
  • No network, no telemetry, no keys.
  • A folder it cannot parse exits 1, not 0 — silence is not a pass.
  • Skipped tool directories (.git, node_modules, …) are named, not folded into “files not opened” as if they were content.

See the root README and CHANGELOG.md.

Metadata

Release files for assurance-cli 0.6.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for assurance-cli 0.6.11
File Size Uploaded Provenance Actions
assurance_cli-0.6.11.tar.gz 131.5 kB With provenance Details for assurance_cli-0.6.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for assurance-cli 0.6.11
File Interpreter ABI Platform Actions
assurance_cli-0.6.11-py3-none-any.whl Python 3 none any Details for assurance_cli-0.6.11-py3-none-any.whl

Total release size: 214.3 kB

Release files / assurance_cli-0.6.11.tar.gz

Download URL assurance_cli-0.6.11.tar.gz
Size 131.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e11ae3cef27d2f251225f6a2b9eb2a7b0c0e1fbc97ce3cecf71754d43c0dafb5
BLAKE2b-256 checksum
How to use checksums
e419a9e255a1da1bb70409345ca2e048cfca53ba660f0aa7f184f6a8c1f6ff0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Release files / assurance_cli-0.6.11-py3-none-any.whl

Download URL assurance_cli-0.6.11-py3-none-any.whl
Size 82.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a7e397bfe71ef0ea41acacf2831acda5bfdf53f64362cfb0141b5e4e1c79881d
BLAKE2b-256 checksum
How to use checksums
fde99d1ccef24a262d5404c00ba25c56ff81c46f1a4cc1dd7c212e4fc654bdf5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Security for assurance-cli 0.6.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for assurance_cli-0.6.11.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.6.11 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page