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:

Metadata

Release files for belgi 0.1.0a0

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

Source distribution (sdist)

Source distribution for belgi 0.1.0a0
File Size Uploaded
belgi-0.1.0a0.tar.gz 437.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for belgi 0.1.0a0
File Interpreter ABI Platform
belgi-0.1.0a0-py3-none-any.whl Python 3 none any Details

Total release size: 1.1 MB

Release files / belgi-0.1.0a0.tar.gz

Download URL belgi-0.1.0a0.tar.gz
Size 437.9 kB
Tags Source
SHA-256 checksum
How to use checksums
fdb509a0d042c1d7cfada2190a2cdba82767531ca391bae8100c5b2c25a11491
BLAKE2b-256 checksum
How to use checksums
56bedb7c0661b44bcb414e68f26f2b4f47da68307a36264804aa54841df6c57c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.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 Jul 28, 2026.

Transparency log

Release files / belgi-0.1.0a0-py3-none-any.whl

Download URL belgi-0.1.0a0-py3-none-any.whl
Size 642.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f10a771f67f9def47660d1d4ea8b896536953253925f669a4065bc2e522d6842
BLAKE2b-256 checksum
How to use checksums
95130e8021f90e70dcdf0241679078caaccd3e61b7ca675a131c172d3ce52ac2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.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 Jul 28, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0a0 This release

2 release files

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