Skip to main content

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.

Metadata

Release files for visio-schema 0.6.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for visio-schema 0.6.5
File Size Uploaded
visio_schema-0.6.5.tar.gz 338.3 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for visio-schema 0.6.5
File
visio_schema-0.6.5-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
visio_schema-0.6.5-cp313-cp313-macosx_11_0_universal2.whl CPython 3.13 CPython 3.13 macOS 11.0+ universal2 (ARM64, x86-64) Details
visio_schema-0.6.5-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details
visio_schema-0.6.5-cp312-cp312-macosx_11_0_universal2.whl CPython 3.12 CPython 3.12 macOS 11.0+ universal2 (ARM64, x86-64) Details
visio_schema-0.6.5-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
visio_schema-0.6.5-cp311-cp311-macosx_11_0_universal2.whl CPython 3.11 CPython 3.11 macOS 11.0+ universal2 (ARM64, x86-64) Details
visio_schema-0.6.5-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
visio_schema-0.6.5-cp310-cp310-macosx_11_0_universal2.whl CPython 3.10 CPython 3.10 macOS 11.0+ universal2 (ARM64, x86-64) Details

Total release size: 11.0 MB

Release files / visio_schema-0.6.5.tar.gz

Download URL visio_schema-0.6.5.tar.gz
Size 338.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ee9aad8669afb32483a187c2cf804c95d86cfdd6465e84f709072b32e23f4268
BLAKE2b-256 checksum
How to use checksums
0bf6eb0d64c59144580a9ce7c495ea28711dd8d4287b9e6dce762cee27836820
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 24, 2026.

Transparency log

Release files / visio_schema-0.6.5-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL visio_schema-0.6.5-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 2.2 MB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
4468c2ec3c5aa57a1f5069970c039031511e1aeca18ad138cd72bcaf7e55e075
BLAKE2b-256 checksum
How to use checksums
a3336c40a6acbcae54dff44e63ddf707bcd01419411cbabf05f51f7b83955409
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 24, 2026.

Transparency log

Release files / visio_schema-0.6.5-cp313-cp313-macosx_11_0_universal2.whl

Download URL visio_schema-0.6.5-cp313-cp313-macosx_11_0_universal2.whl
Size 519.9 kB
Tags CPython 3.13 macOS 11.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
4ed00b245107ccf1ed912091a2df9e044cfcbd02f584bcc783d20c98982b8bf0
BLAKE2b-256 checksum
How to use checksums
e8cf5979720e70d5c5c35e634a2f9b24d466df54c7f1f2c943f4156bafdc4ff5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 24, 2026.

Transparency log

Release files / visio_schema-0.6.5-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL visio_schema-0.6.5-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 2.2 MB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
e7142ecaa0b391c1091e50fab12102be66e69a1b9feb2c26ff1aa42b09d06255
BLAKE2b-256 checksum
How to use checksums
2772c1f235a5ec0ee0c4b22abe1945363e367cf87995994e3a26d2b59d99785d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 24, 2026.

Transparency log

Release files / visio_schema-0.6.5-cp312-cp312-macosx_11_0_universal2.whl

Download URL visio_schema-0.6.5-cp312-cp312-macosx_11_0_universal2.whl
Size 519.8 kB
Tags CPython 3.12 macOS 11.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
3b07853ac21efe57707c5c45888384536d719e2fed7f5cc8a671c4bd2f2e6e6f
BLAKE2b-256 checksum
How to use checksums
39b85598de6a1ce218b2f34bb143797c7d6ab8e41b9441e90fd25bb16823b3a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 24, 2026.

Transparency log

Release files / visio_schema-0.6.5-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL visio_schema-0.6.5-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 2.2 MB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
4b2bfac5fbbb60c2ea5bcb1aaf636b00b1ae5893c21f72a08ff91e7e5015961e
BLAKE2b-256 checksum
How to use checksums
dd915f3fb69de713fdb1c9cbd4ac2f915d985c3b8657ed5a87e17a7e0491a198
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 24, 2026.

Transparency log

Release files / visio_schema-0.6.5-cp311-cp311-macosx_11_0_universal2.whl

Download URL visio_schema-0.6.5-cp311-cp311-macosx_11_0_universal2.whl
Size 514.7 kB
Tags CPython 3.11 macOS 11.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
73e126d8e6f531e3940c0e813b857a90b63d903b8ee4151b6dac4b029e730b92
BLAKE2b-256 checksum
How to use checksums
1ce85fceb474aeec4a0237bb09650afb614dace3f7907815e545139a5e1f23ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 24, 2026.

Transparency log

Release files / visio_schema-0.6.5-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL visio_schema-0.6.5-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 2.1 MB
Tags CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
431b6cc54eafc483cbb138f9ea2b78dc77b21b94e565ddab6deeb0bcf03ed752
BLAKE2b-256 checksum
How to use checksums
2ceca339cdd379d2a09848f86254910490b2e20575366645cd9c89c6e0a47167
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 24, 2026.

Transparency log

Release files / visio_schema-0.6.5-cp310-cp310-macosx_11_0_universal2.whl

Download URL visio_schema-0.6.5-cp310-cp310-macosx_11_0_universal2.whl
Size 511.8 kB
Tags CPython 3.10 macOS 11.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
e50829da332e2bd8083d356e041cbc4169ebe267adbdceac6377b2de8981d60c
BLAKE2b-256 checksum
How to use checksums
c1028a4ea3327ac4f2836b8c22b8eda364a5a3784ab6eae6083c96a13e9509a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 24, 2026.

Transparency log

Release history Release notifications | RSS feed

0.9.1

9 release files

0.9.0

9 release files

0.7.3

9 release files

This release

0.6.5 This release

9 release files

0.4.2

9 release files

0.3.2

9 release files

0.3.1

9 release files

0.3.0

9 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page