Visio wire contract — generated protobuf bindings + the framing codec
Project description
visio-schema
The wire contract for the Visio sensor ecosystem: the generated protobuf
message bindings plus a small, hand-written framing codec, packaged so you can
read a live device or a recording with one pip install. It is the single
source of truth for what Visio data looks like on the wire; the transport,
bus, and recording stack live in a separate layer.
Imported as visio_schema. Full docs, the wire spec, and C++ sources are in the
GitHub repository.
Install
pip install visio-schema
One install includes MCAP read/write (read_mcap / McapWriter) and the
visio-display live viewer — no extras to choose. Released wheels (Linux
manylinux_2_28 x86_64, macOS universal2, CPython 3.10–3.13) bundle an optional
native reader for higher throughput. If no wheel matches your platform, the sdist
installs a pure-Python reader with identical behavior — only throughput differs.
Quickstart
from visio_schema import read_serial, read_mcap, message_class
# live device -> (Message, Channel) rows
for msg, ch in read_serial("/dev/ttyACM0"):
cls = message_class(ch.schema_name) # resolve the payload type
payload = cls.FromString(msg.payload)
print(ch.topic, payload)
# replay a recording
for msg, ch in read_mcap("run.mcap"):
...
Send commands and read replies with serial_endpoint(...) + command_message.
See usage.md
for the three end-to-end recipes.
visio-display viewer
The package installs a visio-display console command that reads a live device
(serial or TCP) or replays an MCAP, and fans it out to a live
Foxglove WebSocket, a live Rerun
viewer, and/or an MCAP recording:
visio-display --serial /dev/ttyACM0 --rerun
visio-display --tcp my-device.local --foxglove
visio-display --mcap-in run.mcap --rerun
# also runnable as: python -m visio_schema.display
License
MIT — see LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
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 visio_schema-0.3.0.tar.gz.
File metadata
- Download URL: visio_schema-0.3.0.tar.gz
- Upload date:
- Size: 273.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
086cfbb28600ea80249774120e3ac1caea9293bb04b9e2d7379c5408db63c6eb
|
|
| MD5 |
27e390b61e3909d83b7e1db802a21f73
|
|
| BLAKE2b-256 |
53b9dd9fc820fa5d39449f5fe474a8de87b6b673c1873a24e0dfae49e0a4312d
|
Provenance
The following attestation bundles were made for visio_schema-0.3.0.tar.gz:
Publisher:
wheels.yml on General-Intelligence-Labs/visio-schema
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
visio_schema-0.3.0.tar.gz -
Subject digest:
086cfbb28600ea80249774120e3ac1caea9293bb04b9e2d7379c5408db63c6eb - Sigstore transparency entry: 2066506464
- Sigstore integration time:
-
Permalink:
General-Intelligence-Labs/visio-schema@349bded02f6714a7e764aacf01a02e7818dfadfc -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/General-Intelligence-Labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@349bded02f6714a7e764aacf01a02e7818dfadfc -
Trigger Event:
push
-
Statement type:
File details
Details for the file visio_schema-0.3.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: visio_schema-0.3.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 2.1 MB
- Tags: CPython 3.13, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d577743c89344e6dcef468adbdf8526f3f4d4b38645521c06dd026b36a7feb03
|
|
| MD5 |
3a61ed41b22ea7e2520d844ae9636e1b
|
|
| BLAKE2b-256 |
7f6dc4fa94f0f80b11f06277cfb54641b8ff3a3cfc8c128bfc54884d903030da
|
Provenance
The following attestation bundles were made for visio_schema-0.3.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
wheels.yml on General-Intelligence-Labs/visio-schema
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
visio_schema-0.3.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
d577743c89344e6dcef468adbdf8526f3f4d4b38645521c06dd026b36a7feb03 - Sigstore transparency entry: 2066506762
- Sigstore integration time:
-
Permalink:
General-Intelligence-Labs/visio-schema@349bded02f6714a7e764aacf01a02e7818dfadfc -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/General-Intelligence-Labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@349bded02f6714a7e764aacf01a02e7818dfadfc -
Trigger Event:
push
-
Statement type:
File details
Details for the file visio_schema-0.3.0-cp313-cp313-macosx_11_0_universal2.whl.
File metadata
- Download URL: visio_schema-0.3.0-cp313-cp313-macosx_11_0_universal2.whl
- Upload date:
- Size: 484.7 kB
- Tags: CPython 3.13, macOS 11.0+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f871715e5105a8df90f9194c5ff4f91a5d4590ebeb4d127e4b8053956cbe1376
|
|
| MD5 |
8e215543bdfd7c976e39b6c34d731b7a
|
|
| BLAKE2b-256 |
037e1edf4395ffb7fd960123aaf04366a30fa4fc31a339a79e8cb825a62c1c5d
|
Provenance
The following attestation bundles were made for visio_schema-0.3.0-cp313-cp313-macosx_11_0_universal2.whl:
Publisher:
wheels.yml on General-Intelligence-Labs/visio-schema
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
visio_schema-0.3.0-cp313-cp313-macosx_11_0_universal2.whl -
Subject digest:
f871715e5105a8df90f9194c5ff4f91a5d4590ebeb4d127e4b8053956cbe1376 - Sigstore transparency entry: 2066506657
- Sigstore integration time:
-
Permalink:
General-Intelligence-Labs/visio-schema@349bded02f6714a7e764aacf01a02e7818dfadfc -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/General-Intelligence-Labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@349bded02f6714a7e764aacf01a02e7818dfadfc -
Trigger Event:
push
-
Statement type:
File details
Details for the file visio_schema-0.3.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: visio_schema-0.3.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 2.1 MB
- Tags: CPython 3.12, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
645e61127cfa3025522d8f8682f03d0cbe80aa47cb03ef95de1a560bc021f484
|
|
| MD5 |
c0172d1255aba3cdda94eba149f2550b
|
|
| BLAKE2b-256 |
e938b21511d503bf52c028574e0a502e3189e6dc2bdd61ee2b994eaeb3f2a5b3
|
Provenance
The following attestation bundles were made for visio_schema-0.3.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
wheels.yml on General-Intelligence-Labs/visio-schema
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
visio_schema-0.3.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
645e61127cfa3025522d8f8682f03d0cbe80aa47cb03ef95de1a560bc021f484 - Sigstore transparency entry: 2066506615
- Sigstore integration time:
-
Permalink:
General-Intelligence-Labs/visio-schema@349bded02f6714a7e764aacf01a02e7818dfadfc -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/General-Intelligence-Labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@349bded02f6714a7e764aacf01a02e7818dfadfc -
Trigger Event:
push
-
Statement type:
File details
Details for the file visio_schema-0.3.0-cp312-cp312-macosx_11_0_universal2.whl.
File metadata
- Download URL: visio_schema-0.3.0-cp312-cp312-macosx_11_0_universal2.whl
- Upload date:
- Size: 484.7 kB
- Tags: CPython 3.12, macOS 11.0+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0ec68485ec5fc2c5a3cbf41274acb22c0f0c0323db3c849e8b070f88da0712f
|
|
| MD5 |
90665a3f43af03b3c26ef1a8fe86c5a4
|
|
| BLAKE2b-256 |
f2c4688b12dcdeea47e589296e3f87bfcfc32ebacf10c26ec137aa4bb475e2c1
|
Provenance
The following attestation bundles were made for visio_schema-0.3.0-cp312-cp312-macosx_11_0_universal2.whl:
Publisher:
wheels.yml on General-Intelligence-Labs/visio-schema
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
visio_schema-0.3.0-cp312-cp312-macosx_11_0_universal2.whl -
Subject digest:
d0ec68485ec5fc2c5a3cbf41274acb22c0f0c0323db3c849e8b070f88da0712f - Sigstore transparency entry: 2066506571
- Sigstore integration time:
-
Permalink:
General-Intelligence-Labs/visio-schema@349bded02f6714a7e764aacf01a02e7818dfadfc -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/General-Intelligence-Labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@349bded02f6714a7e764aacf01a02e7818dfadfc -
Trigger Event:
push
-
Statement type:
File details
Details for the file visio_schema-0.3.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: visio_schema-0.3.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 2.1 MB
- Tags: CPython 3.11, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4afe206ac3b70bd09e272038a074f560af705db5b70086b136122d446bbc49d6
|
|
| MD5 |
ca1b8b463e4acfc122d0d1312cff9bc1
|
|
| BLAKE2b-256 |
b3bd061c021c8854b5a43214631804e86a01943de462d56937d34fbe296303fc
|
Provenance
The following attestation bundles were made for visio_schema-0.3.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
wheels.yml on General-Intelligence-Labs/visio-schema
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
visio_schema-0.3.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
4afe206ac3b70bd09e272038a074f560af705db5b70086b136122d446bbc49d6 - Sigstore transparency entry: 2066506848
- Sigstore integration time:
-
Permalink:
General-Intelligence-Labs/visio-schema@349bded02f6714a7e764aacf01a02e7818dfadfc -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/General-Intelligence-Labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@349bded02f6714a7e764aacf01a02e7818dfadfc -
Trigger Event:
push
-
Statement type:
File details
Details for the file visio_schema-0.3.0-cp311-cp311-macosx_11_0_universal2.whl.
File metadata
- Download URL: visio_schema-0.3.0-cp311-cp311-macosx_11_0_universal2.whl
- Upload date:
- Size: 479.6 kB
- Tags: CPython 3.11, macOS 11.0+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffe23813956d9d29f19dc12fcb621b231113ac809b7d36638fe348bb5edb75b4
|
|
| MD5 |
b0ce892e828fc1ff5551a231a86fec81
|
|
| BLAKE2b-256 |
2e25f17f944524876e7642d0c823da41ad87cd6529f4bb9ef61f2f84e6c8ad0a
|
Provenance
The following attestation bundles were made for visio_schema-0.3.0-cp311-cp311-macosx_11_0_universal2.whl:
Publisher:
wheels.yml on General-Intelligence-Labs/visio-schema
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
visio_schema-0.3.0-cp311-cp311-macosx_11_0_universal2.whl -
Subject digest:
ffe23813956d9d29f19dc12fcb621b231113ac809b7d36638fe348bb5edb75b4 - Sigstore transparency entry: 2066506712
- Sigstore integration time:
-
Permalink:
General-Intelligence-Labs/visio-schema@349bded02f6714a7e764aacf01a02e7818dfadfc -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/General-Intelligence-Labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@349bded02f6714a7e764aacf01a02e7818dfadfc -
Trigger Event:
push
-
Statement type:
File details
Details for the file visio_schema-0.3.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: visio_schema-0.3.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 2.1 MB
- Tags: CPython 3.10, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c17194734432a35173212bb96ac8fa6e8fb873c13673233fad28a58d6741ff50
|
|
| MD5 |
098f9a181c8caf86409f08a414c880e9
|
|
| BLAKE2b-256 |
6582a1fcde2774a31307873bd5504f9a9e6f5721228e04c5fa337ea006f8d49d
|
Provenance
The following attestation bundles were made for visio_schema-0.3.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
wheels.yml on General-Intelligence-Labs/visio-schema
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
visio_schema-0.3.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
c17194734432a35173212bb96ac8fa6e8fb873c13673233fad28a58d6741ff50 - Sigstore transparency entry: 2066506519
- Sigstore integration time:
-
Permalink:
General-Intelligence-Labs/visio-schema@349bded02f6714a7e764aacf01a02e7818dfadfc -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/General-Intelligence-Labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@349bded02f6714a7e764aacf01a02e7818dfadfc -
Trigger Event:
push
-
Statement type:
File details
Details for the file visio_schema-0.3.0-cp310-cp310-macosx_11_0_universal2.whl.
File metadata
- Download URL: visio_schema-0.3.0-cp310-cp310-macosx_11_0_universal2.whl
- Upload date:
- Size: 476.8 kB
- Tags: CPython 3.10, macOS 11.0+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9449f3c30f0cce17af33d6b2fe2be158dbeec9f43d6abef3186e909519804cfd
|
|
| MD5 |
ee5d03a27c2e386a73cc3260b24027de
|
|
| BLAKE2b-256 |
661fc510842883caa6ac78b2561702057993f1a84f38951807757b008232da07
|
Provenance
The following attestation bundles were made for visio_schema-0.3.0-cp310-cp310-macosx_11_0_universal2.whl:
Publisher:
wheels.yml on General-Intelligence-Labs/visio-schema
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
visio_schema-0.3.0-cp310-cp310-macosx_11_0_universal2.whl -
Subject digest:
9449f3c30f0cce17af33d6b2fe2be158dbeec9f43d6abef3186e909519804cfd - Sigstore transparency entry: 2066506807
- Sigstore integration time:
-
Permalink:
General-Intelligence-Labs/visio-schema@349bded02f6714a7e764aacf01a02e7818dfadfc -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/General-Intelligence-Labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@349bded02f6714a7e764aacf01a02e7818dfadfc -
Trigger Event:
push
-
Statement type: