Flatbuffer classes for Foxglove Schemas
Project description
Foxglove Schemas (Flatbuffer)
This package provides Flatbuffer classes for Foxglove Schemas.
Installation
Install via Pipenv by adding foxglove-schemas-flatbuffer
to your Pipfile
or via the command line:
pipenv install foxglove-schemas-flatbuffer
Usage
Import types from the foxglove_schemas_flatbuffer
module as follows:
import flatbuffers
import foxglove_schemas_flatbuffer.CompressedImage as CompressedImage
from foxglove_schemas_flatbuffer import get_schema
builder = flatbuffers.Builder(1024)
png = builder.CreateString("png")
CompressedImage.Start(builder)
CompressedImage.AddFormat(builder, png)
img = CompressedImage.End(builder)
builder.Finish(img)
# Serialized flatbuffer schema
schema_data = get_schema("CompressedImage")
# Serialized CompressedImage message
msg_data = builder.Output()
Stay in touch
Join our Slack channel to ask questions, share feedback, and stay up to date on what our team is working on.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for foxglove-schemas-flatbuffer-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | db2af18a15ad672b3f29ffa3fd3eada09418eb129a8a92b72a6a8b862c0be205 |
|
MD5 | 3808266b8a1eee9560a42b44ab6b6871 |
|
BLAKE2b-256 | 335f59d72c726d08a93a94451aa45db5f7126e78d1098ebf982b7517d1db480e |
Close
Hashes for foxglove_schemas_flatbuffer-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9689f79915b72e14e6f9ae8a5518d04342ad6870936e97722f727ca57af345ae |
|
MD5 | f31f00090ee397abd8eb0508b354389c |
|
BLAKE2b-256 | b9bcfcc8d8a4e1bbf81fa75e9debe1aa77968446eb5131118820c1a02e0121e4 |