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.8.0.tar.gz (117.0 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.8.0-py3-none-any.whl (235.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: synapse_fbs-0.8.0.tar.gz
  • Upload date:
  • Size: 117.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for synapse_fbs-0.8.0.tar.gz
Algorithm Hash digest
SHA256 fc49bfff8423b9a0b3293d83c657a5572d4017b2a145ac53a28846be17ac7227
MD5 38dbffe3eb281c6321f8bb7a0e45a78e
BLAKE2b-256 2bc415d57a94aeb62457b60d04c1f7a93e822e245c0dbf466aa848d8e23b0202

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: synapse_fbs-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 235.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for synapse_fbs-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3f7daa0bbf8611544f90d60038f16b82ae453c481dc1c7e6cf12eb8c4ab60169
MD5 d4276ae8fa9d079dbac0c5102ed96989
BLAKE2b-256 4b788cf0ee047abdaa74b27d4153efa738f78cbe8b338b27baec3ade250ac125

See more details on using hashes here.

Provenance

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