Official Python SDK for EpochCore Application Primitives (Archive, Attest, Vault, Ledger, Rotate, ApiGuard, Molecule, Portfolio, CodeReview). Sealed receipts via ML-DSA-65 + Ed25519 + ML-KEM-768.
Project description
epochcore-app-primitives
Official Python SDK for the EpochCore Application Primitives API.
9 sealed primitives: Archive, Attest, Vault, Ledger, Rotate, ApiGuard, Molecule, Portfolio, CodeReview. Every response is dual-signed (Ed25519 + ML-DSA-65) and anchored to RAS 40668c787c463ca5.
Install
pip install epochcore-app-primitives
# Optional: enable ML-DSA-65 offline verification
pip install 'epochcore-app-primitives[pqc-verify]'
Quick start
from epochcore_app_primitives import Client
with Client(api_key="...") as client:
sealed = client.archive.seal(payload="hello world", content_type="text/plain")
print(sealed["archive_id"], sealed["cert_pdf_url"])
verify = client.verify(sealed["archive_id"])
assert verify["verified"]
assert verify["ml_dsa_65_ok"] and verify["ed25519_ok"]
Offline verification
from epochcore_app_primitives import load_offline_verifier_keys, verify_offline, SealMeta
keys = load_offline_verifier_keys() # fetches pubkeys once
result = verify_offline(
keys,
SealMeta(ts=1700000000000, primitive="archive",
primitive_id="arc_...", tenant_id="acme-corp",
payload_hash="<sha256-hex>"),
ed25519_sig_hex="...",
pqc_sig_hex="...",
)
assert result.verified
Sub-clients
client.archive— seal / get / payload / cert_pdfclient.attest— attest / get / verify / cert_pdfclient.vault— generate_key / sign / verify / create_envelope / unwrapclient.ledger— verify_chain / list / get_entry / set_cadence / transparencyclient.rotate— run / get / historyclient.apiguard— register / get / stats / rotate_keysclient.molecule— register / simulate_vqe / binding_affinity / screen / backendsclient.portfolio— register / optimize / get / jobsclient.code_review— review / get / findingsclient.health(),client.status(),client.well_known()— cross-cutting
Anchor canon
Every response carries X-RAS-Root: 40668c787c463ca5 + X-Watermark: epoch26matrix2025. The frequency 1210 Hz is the EpochCore quantum tunnels' unique oscillation signature — non-negotiable canonical.
License
Proprietary. See LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file epochcore_app_primitives-0.1.0.tar.gz.
File metadata
- Download URL: epochcore_app_primitives-0.1.0.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf2930da21de8c764eec4beae6ff1f5822383e27c114415e09b65762941f58b7
|
|
| MD5 |
127974e5ca9e5595478482a1bb7c7b39
|
|
| BLAKE2b-256 |
e8e8b01dd67ae4c4ec93da0d459234bf791aafa243d30cb7a44a0dfd4c44e47c
|
File details
Details for the file epochcore_app_primitives-0.1.0-py3-none-any.whl.
File metadata
- Download URL: epochcore_app_primitives-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f29873d33b0e17ccaeab53afad02b129bce513f3cf4f0468e27dafa55a65dedf
|
|
| MD5 |
a38f677008b84915d92c09deb00c3851
|
|
| BLAKE2b-256 |
15ca9bc723691226611f64c0f03ab1070c06cfbc11077e041948efdce6dc96e3
|