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.9.0.tar.gz (122.7 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.9.0-py3-none-any.whl (229.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: synapse_fbs-0.9.0.tar.gz
  • Upload date:
  • Size: 122.7 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.9.0.tar.gz
Algorithm Hash digest
SHA256 f5e6ac3530490fd5ec4acc300d2541758450e15c4005eec0d9ce28a4cbae7f71
MD5 42c9f8236a47ced0cc3328335efc5ed0
BLAKE2b-256 ba8209eb51790667633a85c591df27ae54cf0128df8424a67c2efd203ddad989

See more details on using hashes here.

Provenance

The following attestation bundles were made for synapse_fbs-0.9.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.9.0-py3-none-any.whl.

File metadata

  • Download URL: synapse_fbs-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 229.5 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.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6ce98b23131d3c74d7144542e65f9cc61902d49ed036b45a93a270e01a74f456
MD5 25720ac2faa7987c7eae1c389c6f5bf8
BLAKE2b-256 786abc3bd36a908aa47a6b9770f17d045440cb3db9e666df8ee411dae82090f5

See more details on using hashes here.

Provenance

The following attestation bundles were made for synapse_fbs-0.9.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