Skip to main content

synapse-fbs

Generated Python FlatBuffers bindings for the Synapse message schemas.

The schema source of truth lives in fbs/. CI stages this package under target/xtask/packages/python, generates bindings there, then publishes it to PyPI. To build locally from the repository root:

cargo run --locked --manifest-path xtask/Cargo.toml -- ci

Install the staged wheel locally with:

pip install target/xtask/packages/python/dist/*.whl

Install with the optional upstream MCAP implementation for first-class log reading and writing:

pip install 'synapse-fbs[mcap]'
from synapse.mcap import Reader, TimeBasis, Writer

Writer applies the frozen synapse/1 metadata, embeds the exact packaged BFBS, and defaults to direct uncompressed, unchunked output. Reader validates the profile and required metadata before yielding upstream MCAP records. It does not require the log's schema-set hash to equal the installed release: historical logs are decoded from their own embedded BFBS.

The generated package includes topic catalog helpers for bridge and routing code:

from synapse import topic_catalog

key = topic_catalog.key_for_topic("VehicleHealth")
payload_type = topic_catalog.topic_by_id(1).payload_type

Download files

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

Source Distribution

synapse_fbs-0.10.0.tar.gz (139.9 kB view details)

Uploaded Source

Built Distribution

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

synapse_fbs-0.10.0-py3-none-any.whl (257.8 kB view details)

Uploaded Python 3

File details

Details for the file synapse_fbs-0.10.0.tar.gz.

File metadata

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

File hashes

Hashes for synapse_fbs-0.10.0.tar.gz
Algorithm Hash digest
SHA256 bc4dfa594ad5fec79e15f342fe7209359b81ff2bda3171d2ee1cb635276ebb2a
MD5 91d7fbb3c67fa67f43549abf9de7997d
BLAKE2b-256 7ece719fb65b32d29dedeb7aee66780568c9cb184fb0ec024e670ffb19f6aee9

See more details on using hashes here.

Provenance

The following attestation bundles were made for synapse_fbs-0.10.0.tar.gz:

Publisher: release.yml on CogniPilot/synapse_fbs

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

File details

Details for the file synapse_fbs-0.10.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for synapse_fbs-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 65dce52ca636604c92aa1480e5b5b53524a36d91b9fd89b09fcccf3c8c25617f
MD5 f6b10aee051b0d1a0d20661b3a684b33
BLAKE2b-256 0f556c5d931438c3d8258143f50e62e6dd1f111c8af69eb87a644996b4de98cd

See more details on using hashes here.

Provenance

The following attestation bundles were made for synapse_fbs-0.10.0-py3-none-any.whl:

Publisher: release.yml on CogniPilot/synapse_fbs

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 Sentry Error logging StatusPage Status page