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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08418333aeede7c6e90cbbaaf52488330226086d50a2b5c2e3a5c3616fb79a8e
|
|
| MD5 |
cd812cb138d2deb88ab04c44210ffc13
|
|
| BLAKE2b-256 |
585b4d32f309a37c8e6461a09584f80a3a1ca1c7393e5e6b8f2b5077b6bddac9
|
Provenance
The following attestation bundles were made for vexil_runtime-0.1.0.tar.gz:
Publisher:
pypi-publish.yml on vexil-lang/vexil
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vexil_runtime-0.1.0.tar.gz -
Subject digest:
08418333aeede7c6e90cbbaaf52488330226086d50a2b5c2e3a5c3616fb79a8e - Sigstore transparency entry: 2336199957
- Sigstore integration time:
-
Permalink:
vexil-lang/vexil@9b8d94074b3918131606a5f90e5deecf1afd4c57 -
Branch / Tag:
refs/tags/vexil-runtime-py-v0.1.0 - Owner: https://github.com/vexil-lang
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@9b8d94074b3918131606a5f90e5deecf1afd4c57 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04dffac3fea18677ef3a4e47579f127497a86ecb2083516797821c30542dad05
|
|
| MD5 |
bcc05d1f8496154f2293324b51a6b6c2
|
|
| BLAKE2b-256 |
9375265744777696de7a06277b6a68ce7e798c6bbf1abe78366f7f8755c03b39
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vexil_runtime-0.1.0-py3-none-any.whl -
Subject digest:
04dffac3fea18677ef3a4e47579f127497a86ecb2083516797821c30542dad05 - Sigstore transparency entry: 2336200008
- Sigstore integration time:
-
Permalink:
vexil-lang/vexil@9b8d94074b3918131606a5f90e5deecf1afd4c57 -
Branch / Tag:
refs/tags/vexil-runtime-py-v0.1.0 - Owner: https://github.com/vexil-lang
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@9b8d94074b3918131606a5f90e5deecf1afd4c57 -
Trigger Event:
push
-
Statement type: