Skip to main content

Generated Python FlatBuffers bindings for Synapse schemas

Project description

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

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

Project details


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.1.8.tar.gz (23.1 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.1.8-py3-none-any.whl (71.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: synapse_fbs-0.1.8.tar.gz
  • Upload date:
  • Size: 23.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for synapse_fbs-0.1.8.tar.gz
Algorithm Hash digest
SHA256 19a5062bea5dea2e98c75a9c78e8ae36e2aadcacad1f717d4632a5db829b33e1
MD5 5353864df31bc664695b921580259aa8
BLAKE2b-256 01cadadd09cec9f95b0d9f1751cd49eaaf364594203c27691c72d73da2a3ee3a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: synapse_fbs-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 71.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for synapse_fbs-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 9c80c668e9dac031d36185dece3464bc8f802a25a7ff4909cb1c02fa01716a14
MD5 55069ee471d24ec2877c605b2d165a99
BLAKE2b-256 802e9e6b67487e623be55bde635d2363867b70ed3072aff03b953b435551ddf8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page