Skip to main content
Pre-release

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

belgi-0.1.0a0.tar.gz (437.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

belgi-0.1.0a0-py3-none-any.whl (642.7 kB view details)

Uploaded Python 3

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

Hashes for belgi-0.1.0a0.tar.gz
Algorithm Hash digest
SHA256 fdb509a0d042c1d7cfada2190a2cdba82767531ca391bae8100c5b2c25a11491
MD5 c84c1f4a9ff209eeea08cb7e35b1f6ed
BLAKE2b-256 56bedb7c0661b44bcb414e68f26f2b4f47da68307a36264804aa54841df6c57c

See more details on using hashes here.

Provenance

The following attestation bundles were made for belgi-0.1.0a0.tar.gz:

Publisher: publish.yml on belgi-protocol/belgi-reference

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for belgi-0.1.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 f10a771f67f9def47660d1d4ea8b896536953253925f669a4065bc2e522d6842
MD5 79b7ab1728d2a634a50d9e06807f5dad
BLAKE2b-256 95130e8021f90e70dcdf0241679078caaccd3e61b7ca675a131c172d3ce52ac2

See more details on using hashes here.

Provenance

The following attestation bundles were made for belgi-0.1.0a0-py3-none-any.whl:

Publisher: publish.yml on belgi-protocol/belgi-reference

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page