b4n1-notary — Python SDK
Authorship integrity and sealing: seal a project into one Merkle root, then verify it later with a portable proof file.
The wheel bundles the engine for every supported platform — nothing to compile.
pip install b4n1-notary
from b4n1notary import NotaryClient
client = NotaryClient()
client.stamp("/path/to/project", identity="team")
proof = client.history("/path/to/project").stdout
print(proof)
print(client.verify("/path/to/project", "/path/to/project/.b4n1/proofs/<id>.b4n1-proof").ok)
| Method | Engine verb |
|---|---|
stamp(path, identity=None) |
stamp |
verify(path, proof) |
verify |
verify_ots(path, proof, check_calendar=False, header=None) |
verify-ots |
history(path) |
history |
license(action=None, key=None, json=False) |
license |
Resolution order: B4N1NOTARY_BIN_PATH, the bundled binary, then
b4n1-notary on PATH.
CLI: python -m b4n1notary stamp --path .
Test
PYTHONPATH=. python3 -m unittest discover -s tests
Offline; five checks against the real binary.
License
Business Source License 1.1 (BUSL-1.1). See LICENSE. Binaries ship with
EULA.txt.
Metadata
Release files for b4n1-notary 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| b4n1_notary-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for b4n1_notary-0.2.1-py3-none-any.whl |
Release files / b4n1_notary-0.2.1-py3-none-any.whl
| Download URL | b4n1_notary-0.2.1-py3-none-any.whl |
|---|---|
| Size | 19.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
77aecff0a55dfe4d2b502ab39adad7db0926e1582e0ae181621435c23ca11bde
|
|
BLAKE2b-256 checksum How to use checksums |
750224ab6a88f8c98e452142499b7058e9bf3e00f4f519da63ca07a903fa7c8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.12
|
Security for b4n1-notary 0.2.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.