Skip to main content

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_pdf
  • client.attest — attest / get / verify / cert_pdf
  • client.vault — generate_key / sign / verify / create_envelope / unwrap
  • client.ledger — verify_chain / list / get_entry / set_cadence / transparency
  • client.rotate — run / get / history
  • client.apiguard — register / get / stats / rotate_keys
  • client.molecule — register / simulate_vqe / binding_affinity / screen / backends
  • client.portfolio — register / optimize / get / jobs
  • client.code_review — review / get / findings
  • client.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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

epochcore_app_primitives-0.1.0.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

epochcore_app_primitives-0.1.0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

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

Hashes for epochcore_app_primitives-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cf2930da21de8c764eec4beae6ff1f5822383e27c114415e09b65762941f58b7
MD5 127974e5ca9e5595478482a1bb7c7b39
BLAKE2b-256 e8e8b01dd67ae4c4ec93da0d459234bf791aafa243d30cb7a44a0dfd4c44e47c

See more details on using hashes here.

File details

Details for the file epochcore_app_primitives-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for epochcore_app_primitives-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f29873d33b0e17ccaeab53afad02b129bce513f3cf4f0468e27dafa55a65dedf
MD5 a38f677008b84915d92c09deb00c3851
BLAKE2b-256 15ca9bc723691226611f64c0f03ab1070c06cfbc11077e041948efdce6dc96e3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page