Metadata-Version: 2.4
Name: kanonak-wire
Version: 0.1.0
Summary: 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.
Author: Kanonak Maintainers
License-Expression: Apache-2.0
Project-URL: Homepage, https://kanonak.org
Project-URL: Repository, https://github.com/kanonak-protocol/runtime
Project-URL: Issues, https://github.com/kanonak-protocol/runtime/issues
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# 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
