Skip to main content

canon-core packaging (PKG)

Dual-published canonicalization engine — the shared byte/digest truth every Consiliency certificate hashes. Same Rust engine (src/lib.rs), two distributions:

Distribution Tool Name Consumer Entry points
PyPI maturin (pyproject.toml) consiliency-canon-core (imports as canon_core) Python canonical_bytes_from_json(tagged_json), digest_from_json(tagged_json, profile)
npm wasm-pack (Makefile.packaging) @consiliency/canon-core (Node target) governed-pipeline (JS) canonicalBytesFromJson(taggedJson), digestFromJson(taggedJson, profile)

Surface is tagged-JSON text, not a raw value — this is load-bearing for byte-identity: a lone surrogate serializes to the ASCII escape \ud800, survives UTF-8 marshalling, and serde_json rejects it at parse (SPEC §5.0). Consumers MUST feed tagged-JSON text produced by a validating encoder, never a raw host string (see the GP-canon design doc). Both packages ship the shared canon-vectors.json corpus so consumers can self-verify parity.

Local build

make -f Makefile.packaging all      # needs: maturin, wasm-pack, wasm32 target

Publish

Push a canon-core-v<version> tag → .github/workflows/publish-canon-core.yml builds + publishes both via OIDC. One-time registry setup (see the workflow header) is a USER action: claim the PyPI project + the npm @consiliency scope and register the trusted publishers.

Metadata

Release files for consiliency-canon-core 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for consiliency-canon-core 0.3.0
File Size Uploaded
consiliency_canon_core-0.3.0.tar.gz 20.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for consiliency-canon-core 0.3.0
File Interpreter ABI Platform
consiliency_canon_core-0.3.0-cp312-cp312-manylinux_2_34_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.34+ x86-64 Details

Total release size: 342.4 kB

Release files / consiliency_canon_core-0.3.0.tar.gz

Download URL consiliency_canon_core-0.3.0.tar.gz
Size 20.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2513d60c0aa36f46f18d0732a2e9f0f05b67f5f272c55e287ed5abe976fa01a3
BLAKE2b-256 checksum
How to use checksums
0046617d21b21167f115121c9dd4304512a0c7f43355b616637114b2af8cb244
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 5, 2026.

Transparency log

Release files / consiliency_canon_core-0.3.0-cp312-cp312-manylinux_2_34_x86_64.whl

Download URL consiliency_canon_core-0.3.0-cp312-cp312-manylinux_2_34_x86_64.whl
Size 321.6 kB
Tags CPython 3.12 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
3439a9ec85e42258f27f1049d9e5c5707df9b24a6851c9198e10d64a6e1c00a5
BLAKE2b-256 checksum
How to use checksums
9d3542243dbe68280f00623e471fa3ee58c15bfc826ea2e72f83a62f03d99b37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 5, 2026.

Transparency log

Release history Release notifications | RSS feed

0.4.0

2 release files

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page