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.

Python wheels (0.5.0 onwards): CPython 3.14 only. The PyPI release carries one cp314-cp314-manylinux_*_x86_64 wheel plus an sdist (no abi3 wheel, no cp312 wheel; owner decision 2026-11-07), built with pyo3 0.30. requires-python = ">=3.14". 0.4.0 and earlier stay on PyPI with their cp312 wheel, so a consumer pinned to them keeps working on 3.12 until it moves.

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.5.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.5.0
File Size Uploaded Provenance Actions
consiliency_canon_core-0.5.0.tar.gz 24.0 kB With provenance Details for consiliency_canon_core-0.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 348.9 kB

Release files / consiliency_canon_core-0.5.0.tar.gz

Download URL consiliency_canon_core-0.5.0.tar.gz
Size 24.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6fb9a2228051c7c184d5f8378d9e7538c6912a1bd415f232c40a0b781a7a36b7
BLAKE2b-256 checksum
How to use checksums
9ef39c2a92edf464eeeae83f1cbc66cf73e9a154fc7ddde1c3e7dbddeba970ce
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 7, 2026.

Transparency log

Release files / consiliency_canon_core-0.5.0-cp314-cp314-manylinux_2_34_x86_64.whl

Download URL consiliency_canon_core-0.5.0-cp314-cp314-manylinux_2_34_x86_64.whl
Size 324.9 kB
Tags CPython 3.14 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
d86a5dc559d1c3f2cd085430dcea88709a0f8b1f2ce28febecc00ac1ec1b3f65
BLAKE2b-256 checksum
How to use checksums
75d5ec1b5a66f5334b8524acbf2246536745645b945a97376ee8021b8f721990
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 7, 2026.

Transparency log

Security for consiliency-canon-core 0.5.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for consiliency_canon_core-0.5.0.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 7, 2026.

Transparency log

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.

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