hedron-conformance
Language-neutral Hedron conformance-test kit and capability runner.
Ships versioned machine-readable fixtures, golden render/diagnostic artifacts, normalization rules, and a capability-level runner CLI so experimental Java/Node runtimes and optional native accelerators can prove parity with the Python reference — without matching incidental CPython formatting.
Also available as the flagship extra hedron[conformance].
Package maturity: Beta · Train: 0.55.x (in-tree tip v0.55.0; PyPI 0.54.0 deferred) · pin >=0.55.0,<0.56 in-tree (PyPI >=0.54.0,<0.55 while deferred)
Phase 0.52 authority contract: RFC-0079 / #522.
Phase 0.53 Application DX Stage 1 lives in the flagship package — see Application DX API.
Install
pip install "hedron-conformance>=0.55.0,<0.56"
# or
uv add "hedron-conformance>=0.55.0,<0.56"
# via flagship:
pip install "hedron[conformance]>=0.55.0,<0.56"
Checkout tip v0.55.0 uses >=0.55.0,<0.56 in-tree; PyPI first-run stays >=0.54.0,<0.55 until the Git tag / PyPI upload lands.
Requires Python 3.11–3.14.
Runner
hedron-conformance run
hedron-conformance run --json
hedron-conformance run --junit
hedron-conformance run --sarif
hedron-conformance run --envelope
hedron-conformance compile
hedron-conformance profiles
hedron-conformance list
hedron-conformance schema
hedron-conformance --version
# or
python -m hedron_conformance run
Failures report fixture id, contract version, and violated capability.
Python API
from hedron_conformance import compile_suite, load_bundled_fixtures, run_kit
fixtures = load_bundled_fixtures()
compiled = compile_suite(fixtures)
assert compiled.ok
result = run_kit(fixtures)
assert result.ok
0.52 surfaces
| Symbol | Role |
|---|---|
compile_suite(...) |
Fixture compiler; rejects contradictory suites |
load_profile_registry() |
Versioned profile registry |
build_result_envelope(...) |
Signed-ish result envelope |
to_junit / to_sarif |
CI converters |
SandboxPolicy / check_archive_budget(...) |
Archive/process/network/secret sandbox defaults + fail-closed budget checks |
Related runtimes
Experimental evaluators in the monorepo (not published as PyPI apps):
hedron-runtime-node— Node ≥ 18 (0.53.0)hedron-runtime-java— JDK 11+ (0.53.0)
Links
License
MIT. See the repository license.
Release files for hedron-conformance 0.55.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hedron_conformance-0.55.0.tar.gz | 23.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hedron_conformance-0.55.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 54.3 kB
Release files / hedron_conformance-0.55.0.tar.gz
| Download URL | hedron_conformance-0.55.0.tar.gz |
|---|---|
| Size | 23.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b17f7acba5ba298ba3029fdb799010b2c1dd89dbb5a885ea6f1cf1076f3f0e6f
|
|
BLAKE2b-256 checksum How to use checksums |
596c894dd553ccf9754222bc2ca1386ea9944bb11f28e3c810486b7ecefd2cfe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / hedron_conformance-0.55.0-py3-none-any.whl
| Download URL | hedron_conformance-0.55.0-py3-none-any.whl |
|---|---|
| Size | 30.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9c12cefe4ff1c049dc405bcee13c96e33294b53c309bf7b2997796f99dd3b020
|
|
BLAKE2b-256 checksum How to use checksums |
533d458f52a47ccc36d82d6c17622f729a2a7924fc8b7d0aeb0dc79500517f91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|