This release is a pre-release and may not be stable for production use.
boundri-policy-ir
Apache-2.0 shared schema and verification primitives for Boundri. It is the
base of the dependency graph: boundri-cli and boundri-sdk both build on it,
and the hosted server re-exports parts of it rather than keeping a second copy.
pip install boundri-policy-ir
Why it is a separate, permissive package
Anything a third party must be able to reproduce byte-for-byte lives here, so reproducing it never requires source-available code:
- Bundle signatures.
bundle_signaturecanonicalises a manifest core and verifies its Ed25519 signature;local_signerproduces the same envelope. - Audit chain.
audit_chainholds the canonical-bytes, entry-hash and Merkle recompute used to re-derive a chain checkpoint offline. - Verification packs.
verification_packreads the offline bundle a publisher ships, andtrust_anchor/trust_storeresolve the key it is checked against. - Policy pack promotion.
promotionparses the signedpromotionblock that names a published policy pack and its pinned regulation floor.
The server's boundri_server.services.audit.{canonical,merkle} and
...distribution.signer.sign are shims over the functions here. They are one
implementation with two names, never a fork: a structural test fails the build
on a second copy of the envelope recipe anywhere under packages/.
Runtime input contract
evaluation_input is the single declaration of which input roots a compiled
policy may reference at evaluation time: principal, action, resource,
parameters, context. A rule that binds on anything else is undefined in
Rego, which means it compiles clean and can never fire, so the compiler refuses
it against this declaration rather than shipping a rule that silently does
nothing.
Licence
Apache-2.0. See LICENSE and docs/architecture/licensing-target.md for the monorepo's per-package split.
Metadata
Release files for boundri-policy-ir 1.0.0rc1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| boundri_policy_ir-1.0.0rc1.tar.gz | 334.2 kB | With provenance | Details for boundri_policy_ir-1.0.0rc1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| boundri_policy_ir-1.0.0rc1-py3-none-any.whl | Python 3 | none | any | Details for boundri_policy_ir-1.0.0rc1-py3-none-any.whl |
Total release size: 588.6 kB
Release files / boundri_policy_ir-1.0.0rc1.tar.gz
| Download URL | boundri_policy_ir-1.0.0rc1.tar.gz |
|---|---|
| Size | 334.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0dbdcc4ed3b315c6ce4863b033429110729adb44b7c6ecbaac97af2a890b059b
|
|
BLAKE2b-256 checksum How to use checksums |
14988ee0c87eed9464b142923c8e70c89a4d69b2cae3a412eedfdc18af807e1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 13, 2026.
Transparency logRelease files / boundri_policy_ir-1.0.0rc1-py3-none-any.whl
| Download URL | boundri_policy_ir-1.0.0rc1-py3-none-any.whl |
|---|---|
| Size | 254.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e260e4169be3a95dec59d382156aa63225575458648d3589752d206da406a785
|
|
BLAKE2b-256 checksum How to use checksums |
650549e4fe35c9785cdcac641f762906ffd61a6cdc65b6794405d58f926cd50b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 13, 2026.
Transparency logSecurity for boundri-policy-ir 1.0.0rc1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for boundri_policy_ir-1.0.0rc1.tar.gz
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 Nov 13, 2026.
Transparency logA 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.