This release is a pre-release and may not be stable for production use.
BELGI Python reference
belgi is the bounded Python reference distribution for replaying finite
software-change review records and checking the exact installed conformance
surface.
This alpha distribution targets the exact spec-0.5 Working Draft material
packaged with the wheel. It is a research/reference artifact, not a production
admission controller.
Install and inspect
Python 3.11 or newer is required.
python -m pip install .
python -c "import belgi; print(belgi.__version__)"
belgi --help
To inspect exact candidate bytes, install the local wheel by its full path:
python -m pip install ./dist/belgi-0.1.0a0-py3-none-any.whl
Package-index availability is established by the exact version page and the
release readback, not by this README. If version 0.1.0a0 is present on PyPI
and its published bytes have passed that readback, install it with:
python -m pip install "belgi==0.1.0a0"
Otherwise, use the source or admitted local-wheel commands above.
The only promised Python import is belgi.__version__. All other Python
modules are implementation detail.
The command surface is deliberately small:
belgi [--json] replay PATH
belgi [--json] conformance
PATH must be a physical directory or a ZIP archive. Reads are bounded and
authenticated against the selected package-representation procedure before
semantic lifting. Replay emits the authoritative replay report; a cached
verdict in the record is never replay authority.
Static examples
The source distribution contains two static records:
belgi --json replay examples/finite-review-record
belgi --json replay examples/finite-review-record-tampered
The first is the exact static finite Part 4 record-check package and replays
successfully. The second differs by one byte in its bound proposed source-state
member and is rejected for an integrity-binding mismatch before semantic
lifting. These examples are fixed bytes, not output from a packaged builder or
signing workflow.
An installed wheel also places both examples under
share/belgi/examples/ in the installation prefix.
Conformance
belgi --json conformance
The JSON result separates:
normative_corpora: exact JSON representation, replay-package representation, and package-integrity crypto corpora;implementation_checks: the exact finite Part 4 evaluator validation.
An implementation check is not presented as a normative or cross-implementation conformance claim.
Exit status
| Code | Meaning |
|---|---|
| 0 | Replay or conformance succeeded. |
| 1 | The package was rejected, replay failed, or a conformance mismatch was observed. |
| 2 | Command usage or physical path kind was unsupported. |
| 3 | I/O, installation, or integration failed. |
Expected invalid input is reported without a traceback. Use root --json for
one machine-readable document.
Scope boundary
This wheel contains the Part 1–4 reference execution path, the six selected companion specifications, exact resources, and minimum substrate required for replay and conformance. It does not ship the product application, operational-action or Part 5 surfaces, cloud/IaC integrations, console, MCP transport, policy/PEP integration, admission orchestration, package builders, or signing orchestration.
The reference validates the supplied record under its exact packaged editions. It does not prove that evidence was honestly produced, establish deployment or CI provenance, control external writes, provide a sandbox, or make a production security claim.
Project sources:
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file belgi-0.1.0a0.tar.gz.
File metadata
- Download URL: belgi-0.1.0a0.tar.gz
- Upload date:
- Size: 437.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fdb509a0d042c1d7cfada2190a2cdba82767531ca391bae8100c5b2c25a11491
|
|
| MD5 |
c84c1f4a9ff209eeea08cb7e35b1f6ed
|
|
| BLAKE2b-256 |
56bedb7c0661b44bcb414e68f26f2b4f47da68307a36264804aa54841df6c57c
|
Provenance
The following attestation bundles were made for belgi-0.1.0a0.tar.gz:
Publisher:
publish.yml on belgi-protocol/belgi-reference
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
belgi-0.1.0a0.tar.gz -
Subject digest:
fdb509a0d042c1d7cfada2190a2cdba82767531ca391bae8100c5b2c25a11491 - Sigstore transparency entry: 2274582689
- Sigstore integration time:
-
Permalink:
belgi-protocol/belgi-reference@770b13fdc81271c1bbb39ebb7d15b61eaa3a7a90 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/belgi-protocol
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@770b13fdc81271c1bbb39ebb7d15b61eaa3a7a90 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file belgi-0.1.0a0-py3-none-any.whl.
File metadata
- Download URL: belgi-0.1.0a0-py3-none-any.whl
- Upload date:
- Size: 642.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f10a771f67f9def47660d1d4ea8b896536953253925f669a4065bc2e522d6842
|
|
| MD5 |
79b7ab1728d2a634a50d9e06807f5dad
|
|
| BLAKE2b-256 |
95130e8021f90e70dcdf0241679078caaccd3e61b7ca675a131c172d3ce52ac2
|
Provenance
The following attestation bundles were made for belgi-0.1.0a0-py3-none-any.whl:
Publisher:
publish.yml on belgi-protocol/belgi-reference
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
belgi-0.1.0a0-py3-none-any.whl -
Subject digest:
f10a771f67f9def47660d1d4ea8b896536953253925f669a4065bc2e522d6842 - Sigstore transparency entry: 2274582784
- Sigstore integration time:
-
Permalink:
belgi-protocol/belgi-reference@770b13fdc81271c1bbb39ebb7d15b61eaa3a7a90 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/belgi-protocol
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@770b13fdc81271c1bbb39ebb7d15b61eaa3a7a90 -
Trigger Event:
workflow_dispatch
-
Statement type: