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.7.3

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.7.3
File Size Uploaded
visio_schema-0.7.3.tar.gz 472.0 kB Details

Built distributions (wheels)

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

Total release size: 12.0 MB

Release files / visio_schema-0.7.3.tar.gz

Download URL visio_schema-0.7.3.tar.gz
Size 472.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e3dcb4d62418322071d1a1d62e8d33188bbe64c4799a4c5aa7367bfe5c694ddc
BLAKE2b-256 checksum
How to use checksums
cd2bc4e3f34719bc04c4c1fae5027096f74f5c8efa1eb76038429ba5dd161878
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.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 Aug 19, 2026.

Transparency log

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

Download URL visio_schema-0.7.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 2.4 MB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
7f7558ee663f0aa2b46c726e0e94acd698992d96069c4ccad24bd2847521f4cb
BLAKE2b-256 checksum
How to use checksums
fd1fa02c0d9bad66fe3767c6575029a24025370cdcba1264ff12e44ef65acdbf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.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 Aug 19, 2026.

Transparency log

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

Download URL visio_schema-0.7.3-cp313-cp313-macosx_11_0_universal2.whl
Size 542.6 kB
Tags CPython 3.13 macOS 11.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
9ace5d4dbcd9c4f8170f48d8231795a01171e66e91a4183c6547d9c70a755de8
BLAKE2b-256 checksum
How to use checksums
56b98c9c49738e1a10d632e78f3806fe68231b068405a36076166c2f394e1da7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.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 Aug 19, 2026.

Transparency log

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

Download URL visio_schema-0.7.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 2.4 MB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
b1b7fd1eb89c75b9a8a50dc691ab9b2a8d6f1363307832f69c176b00abddd53b
BLAKE2b-256 checksum
How to use checksums
dff582ed6bc5e514288c5699272346a29237c79dd890d76e104e3da51b278963
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.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 Aug 19, 2026.

Transparency log

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

Download URL visio_schema-0.7.3-cp312-cp312-macosx_11_0_universal2.whl
Size 542.4 kB
Tags CPython 3.12 macOS 11.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
dada1e931bd6908007ad25fe1508c928df5770714eaba097d104a5af9edb5129
BLAKE2b-256 checksum
How to use checksums
b28cdec54d66e63dd2f0a8dc599336608d23d0e58c63532c5a3bf610786f5e47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.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 Aug 19, 2026.

Transparency log

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

Download URL visio_schema-0.7.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 2.4 MB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
73ce4f2f35c8e9936bf926147ac52df8b1a113ba0078acded4f1ca69ae9c1774
BLAKE2b-256 checksum
How to use checksums
e481e727ef0665584332a57acb68cd86d7543e2675a6b3c6b0eccf22426e8e45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.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 Aug 19, 2026.

Transparency log

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

Download URL visio_schema-0.7.3-cp311-cp311-macosx_11_0_universal2.whl
Size 538.5 kB
Tags CPython 3.11 macOS 11.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
591f94d251c390e36528cc38d3ed9fa71494e76f1125e1e6b9fae6a15280df25
BLAKE2b-256 checksum
How to use checksums
542d6717d4aa560e71dbbd9b8e52e81710ce8561f156f681784bf0d413832c8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.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 Aug 19, 2026.

Transparency log

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

Download URL visio_schema-0.7.3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 2.3 MB
Tags CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
5ae657d9a20bbc9e0cd9c349d9296e230ad8030e7df753a87c96f07fbf36eb91
BLAKE2b-256 checksum
How to use checksums
c15cb8913ce38086403b652a0b733d84daac058337369285eb305b0ffcbe1fa6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.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 Aug 19, 2026.

Transparency log

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

Download URL visio_schema-0.7.3-cp310-cp310-macosx_11_0_universal2.whl
Size 536.2 kB
Tags CPython 3.10 macOS 11.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
2c87a8b00031ebae15aff96f3288457cb10e397b2bd5c95a87e7b87cd4e879c7
BLAKE2b-256 checksum
How to use checksums
0bb2a8e7ae8a33df700aacef794afc0b63f5b9a5e51a98ae35ecd3acaffa2b6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.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 Aug 19, 2026.

Transparency log

Release history Release notifications | RSS feed

0.9.1

9 release files

0.9.0

9 release files

This release

0.7.3 This release

9 release files

0.6.5

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