Skip to main content

Vexil runtime for Python

The Python wire runtime for code generated by vexilc. It provides bit-level readers and writers plus the protocols used by generated dataclasses. Python 3.10 or newer is required.

Install

python -m pip install vexil-runtime

To work from a repository checkout instead:

python -m pip install ./packages/runtime-py

Core API

from vexil_runtime import BitReader, BitWriter

writer = BitWriter()
writer.write_u8(42)
writer.write_u16(1000)
writer.write_bool(True)
data = writer.finish()

reader = BitReader(data)
assert reader.read_u8() == 42
assert reader.read_u16() == 1000
assert reader.read_bool() is True

Generated types expose their own encode and decode helpers. Vexil's compliance vectors provide the shared byte-level contract for runtime verification.

Licensed under either MIT or Apache-2.0, at your option.

Download files

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

Source Distribution

vexil_runtime-0.1.0.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

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

vexil_runtime-0.1.0-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vexil_runtime-0.1.0.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for vexil_runtime-0.1.0.tar.gz
Algorithm Hash digest
SHA256 08418333aeede7c6e90cbbaaf52488330226086d50a2b5c2e3a5c3616fb79a8e
MD5 cd812cb138d2deb88ab04c44210ffc13
BLAKE2b-256 585b4d32f309a37c8e6461a09584f80a3a1ca1c7393e5e6b8f2b5077b6bddac9

See more details on using hashes here.

Provenance

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

Publisher: pypi-publish.yml on vexil-lang/vexil

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

File details

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

File metadata

  • Download URL: vexil_runtime-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for vexil_runtime-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 04dffac3fea18677ef3a4e47579f127497a86ecb2083516797821c30542dad05
MD5 bcc05d1f8496154f2293324b51a6b6c2
BLAKE2b-256 9375265744777696de7a06277b6a68ce7e798c6bbf1abe78366f7f8755c03b39

See more details on using hashes here.

Provenance

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

Publisher: pypi-publish.yml on vexil-lang/vexil

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