ara-protocol-py
Python binding for ara-protocol — the typed primitive kernel for governed acts on any compute surface.
Built with PyO3 + maturin.
Single abi3-py39 wheel covers CPython 3.9+.
Status
Movement 2 adoption layer. First primitive bound: ProtocolAddress.
Remaining primitives (anchor, envelope, manifest, signing_authority,
peer_identity, …) land behind the same import ara_protocol surface
on the same release cadence.
Why this exists
ARQERA backend services (Python) had been parallel-implementing
kernel concepts in app/services/substrate_client.py instead of
consuming the Rust kernel directly. That violated USCP-v1 (Universal
Substrate Citizenship Principle): every layer must consume substrate
truth, not re-derive it.
This binding closes the gap. Backend Python imports the kernel crate's exact types, parses + emits the canonical wire form, and inherits the kernel's invariants for free.
Build
cd bindings/python/ara-protocol-py
pip install maturin
maturin develop # builds + installs into the active venv
python -c "import ara_protocol; print(ara_protocol.__version__)"
Release wheel:
maturin build --release # produces target/wheels/ara_protocol-*.whl
Use
from ara_protocol import ProtocolAddress
addr = ProtocolAddress("act", "probe", "cloudflare-1776233934")
assert addr.to_uri() == "arq://act/probe/cloudflare-1776233934"
parsed = ProtocolAddress.parse(addr.to_uri())
assert parsed == addr
assert parsed.address_class == "act"
assert parsed.type == "probe"
assert parsed.ref == "cloudflare-1776233934"
Layout
Cargo.toml— cdylib crate, pyo3 + path-dep onara-protocol-primitivespyproject.toml— maturin backend, abi3-py39 wheelsrc/lib.rs—#[pymodule]exposing kernel typestests/— pytest suite that mirrors the Rust unit tests
License
BUSL-1.1. Same as the rest of ara-protocol.
Metadata
Release files for ara-protocol 0.1.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 | Provenance | Actions |
|---|---|---|---|---|
| ara_protocol-0.1.0.tar.gz | 172.0 kB | Without provenance | Details for ara_protocol-0.1.0.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| ara_protocol-0.1.0-cp310-abi3-win_amd64.whl | CPython 3.10 | abi3 | Windows x86-64 | Details for ara_protocol-0.1.0-cp310-abi3-win_amd64.whl |
| ara_protocol-0.1.0-cp310-abi3-manylinux_2_28_aarch64.whl | CPython 3.10 | abi3 | Linux glibc 2.28+ ARM64 | Details for ara_protocol-0.1.0-cp310-abi3-manylinux_2_28_aarch64.whl |
| ara_protocol-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.10 | abi3 | Linux glibc 2.17+ x86-64 | Details for ara_protocol-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
| ara_protocol-0.1.0-cp310-abi3-macosx_11_0_arm64.whl | CPython 3.10 | abi3 | macOS 11.0+ ARM64 | Details for ara_protocol-0.1.0-cp310-abi3-macosx_11_0_arm64.whl |
| ara_protocol-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl | CPython 3.10 | abi3 | macOS 10.12+ x86-64 | Details for ara_protocol-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl |
Total release size: 3.8 MB
Release files / ara_protocol-0.1.0.tar.gz
| Download URL | ara_protocol-0.1.0.tar.gz |
|---|---|
| Size | 172.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
69711cb495f54ddb9ccdc79070d652712d1f144af31358d90af14e307f404946
|
|
BLAKE2b-256 checksum How to use checksums |
15437e468514c28ffca9238ce9cd9e6ac2a4d9c494b6acf386dbd93ffc85b026
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / ara_protocol-0.1.0-cp310-abi3-win_amd64.whl
| Download URL | ara_protocol-0.1.0-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 840.1 kB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
e7b92177aa22094d8ad60889f709f51f975d61bc26dbcf79e295cae8ffa527a5
|
|
BLAKE2b-256 checksum How to use checksums |
29a4c2923346526f4d16522de0bc49d75334928cc8e38a2480465e6a20cb579a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / ara_protocol-0.1.0-cp310-abi3-manylinux_2_28_aarch64.whl
| Download URL | ara_protocol-0.1.0-cp310-abi3-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 651.1 kB |
| Tags | CPython 3.10 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
7337789fb90bc66cfe6a2a2d038081cefe563a5ae74bd52988498f70ac90e96a
|
|
BLAKE2b-256 checksum How to use checksums |
b42a0006c4221c0a434622fd1c044e61458eefde63d080b710ff23ebb03733c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / ara_protocol-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | ara_protocol-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 765.5 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
86342b2723b8c7e035b3f1c0c7de5c635005d59c98ee4d229cc184e601c781f0
|
|
BLAKE2b-256 checksum How to use checksums |
754fc6a7e84fbbfcc1338daf3c079b84c0421199e1a26c03e7849dc28131a98e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / ara_protocol-0.1.0-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | ara_protocol-0.1.0-cp310-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 642.5 kB |
| Tags | CPython 3.10 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
10858b38ae6bd3ec45a4ace4552aea358a408c5b5e3f57eafe4dc38b5882b95e
|
|
BLAKE2b-256 checksum How to use checksums |
1fe571df394b824973817b6503149950258121c28e6caab1c31d58c091804b42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / ara_protocol-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl
| Download URL | ara_protocol-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 702.6 kB |
| Tags | CPython 3.10 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
7974bbd6023f9da01cd40dffe5c11d7c107824e19fbc4a70bd7fcde25fd38a0e
|
|
BLAKE2b-256 checksum How to use checksums |
55af07f8ce8c4132dfa5531eac2df0d3faac76ecc9fe499aa710d83c7fd9984f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Security for ara-protocol 0.1.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.