Skip to main content

Kanonak wire kernel (wireFormatVersion 1). Conformant Python port of the kanonak.org/wire-form reader/writer kernel — bounds-checked cursor reads/writes, big-endian integers, strict UTF-8, and a fail-loud error taxonomy — verified against the shared golden vectors. Standard-library only.

Project description

kanonak-wire

The Python port of the Kanonak wire kernel (kanonak.org/wire-form, wireFormatVersion "1"), verified against the shared golden vectors.

A minimal, allocation-conscious binary reader/writer for hot-path wire protocols: bounds-checked cursor reads/writes, big-endian integers, strict UTF-8, lowercase-canonical UUIDs, and a rich fail-loud error taxonomy. bytes(n)/rest() return zero-copy memoryview slices over the source buffer; writer numeric and UUID parameters are validated — out-of-range or non-integer values are ValueOutOfRange, never a silent truncation. Standard library only.

Source & issues: https://github.com/kanonak-protocol/runtime

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

kanonak_wire-0.1.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

kanonak_wire-0.1.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file kanonak_wire-0.1.0.tar.gz.

File metadata

  • Download URL: kanonak_wire-0.1.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for kanonak_wire-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5ee62c6e4114714b4aba3711998c84aa7d081bacbc93d871352e7fc693bd3015
MD5 576d7b8ee7e91a36126752d00d70cb23
BLAKE2b-256 c475c4d477ac184fee62757dab6ff9b62c5e7c8882f60017f046315c661f82f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for kanonak_wire-0.1.0.tar.gz:

Publisher: release.yml on kanonak-protocol/runtime

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: kanonak_wire-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for kanonak_wire-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5d4e166e3379233cbd6370832742537d1d7df98aa32c847baa00af4cf87a5d40
MD5 3ccf1d2627e9fa531bd9c3df55ba071f
BLAKE2b-256 f1fa2748686bab8cf48e580b6f84b27f61fc0c9188fe6ee4074e98426fe5af6a

See more details on using hashes here.

Provenance

The following attestation bundles were made for kanonak_wire-0.1.0-py3-none-any.whl:

Publisher: release.yml on kanonak-protocol/runtime

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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