Skip to main content

psi-verifier (Python)

Apex PSI is not a tool and not a product. It is the verification substrate — the layer beneath proof. It does not judge. It does not certify. It only remembers.

MIT. Free forever. Verify any APEX PSI seal. Zero dependencies, Python 3.8+.

from psi_verifier import verify, PsiSealInvalidError

try:
    result = verify(seal)          # enforce=True by default (v1.2.0)
except PsiSealInvalidError as e:
    print(e)                       # tells you exactly where to get a valid seal

v1.2.0 — enforcement release with cross-language parity

verify() now rejects non-conformant seals instead of merely reporting them. Invalid input raises PsiSealInvalidError with the canonical schema digest and a fix URL. Report-only inspection remains available:

from psi_verifier import verify_seal, is_conformant

verify(seal, enforce=False)   # legacy data only
verify_seal(seal)             # ConformanceResult, never raises
is_conformant(seal)           # bool

What it checks

The PSI-SEAL/1 canonical schema, byte for byte: closed field set (R2/R3), 64-char lowercase hex SHA-256 (R4/R5), RFC 3339 UTC with exactly three fractional digits (R6), exact octet length (R7), domain-separated leaf SHA-256("PSI1:" + hash) and promoted-odd Merkle assembly (R8/R9), seal_hash = SHA-256(JCS(core envelope)) (R10), and matching schema_digest (R12).

Licensing

  • This verifier: MIT. Check seals forever, no cost, no permission.
  • The generator (sealing engine): proprietary. Free for personal / non-commercial use; commercial sealing is licensed under PSI-05 royalty terms. Generate a conformant seal at https://ai-governance-standard.com/seal.

Schema: © 2026 APEX Infrastructure. Specification: https://ai-governance-standard.com/spec

Metadata

Release files for psi-verifier 1.3.0

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

Source distribution (sdist)

Source distribution for psi-verifier 1.3.0
File Size Uploaded Provenance
psi_verifier-1.3.0.tar.gz 11.8 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for psi-verifier 1.3.0
File Interpreter ABI Platform
psi_verifier-1.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 23.1 kB

Release files / psi_verifier-1.3.0.tar.gz

Download URL psi_verifier-1.3.0.tar.gz
Size 11.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7aee1eda0d8a7b7cc8803ff842c228434f839f93a3406073a8ef8a17f052b022
BLAKE2b-256 checksum
How to use checksums
6fd2172b0a7b9650f41a4738bbaae4fd9335bf36413f8cf52e885df0e2359fa7
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 Oct 18, 2026.

Transparency log

Release files / psi_verifier-1.3.0-py3-none-any.whl

Download URL psi_verifier-1.3.0-py3-none-any.whl
Size 11.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d99a8a48f96da792f0bc17c203863d8b828af8165e48efc7e1f14c84475abfd5
BLAKE2b-256 checksum
How to use checksums
e4444ac8489870b84d24b4b06180a86966ab6038504015aaab3c6084f3d1003a
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 Oct 18, 2026.

Transparency log

Security for psi-verifier 1.3.0

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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for psi_verifier-1.3.0.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 Oct 18, 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

1.3.0 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