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.10

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.10
File Size Uploaded Provenance Actions
assurance_cli-0.6.10.tar.gz 126.7 kB With provenance Details for assurance_cli-0.6.10.tar.gz

Built distribution (wheel)

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

Total release size: 207.0 kB

Release files / assurance_cli-0.6.10.tar.gz

Download URL assurance_cli-0.6.10.tar.gz
Size 126.7 kB
Tags Source
SHA-256 checksum
How to use checksums
817911dea420eca6c880ee8f2616b6806224e1886d0f8da85181b4a73f3a3336
BLAKE2b-256 checksum
How to use checksums
33b1a731e5f74ee0f3b51c0c87fef08d5aaf9fd50415cb7eb508010951420548
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 19, 2026.

Transparency log

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

Download URL assurance_cli-0.6.10-py3-none-any.whl
Size 80.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2ddeb979d4807890fa6b913462055aa1ac821f5e0be62ae23c7706002704a323
BLAKE2b-256 checksum
How to use checksums
648b21b5e59ad89e5825b585d42f0c3a96c3a41277565c55ed550173e5a3fdb6
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 19, 2026.

Transparency log

Security for assurance-cli 0.6.10

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.10.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 19, 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.10 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