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
File details
Details for the file foxglove_schemas_flatbuffer-0.2.0.tar.gz
.
File metadata
- Download URL: foxglove_schemas_flatbuffer-0.2.0.tar.gz
- Upload date:
- Size: 38.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb1e9bed6fa5f150c6801934a32748fdc50b9a68ad4c63972b87db311380fadc |
|
MD5 | bd7fd8035c99771090c923785c8869a6 |
|
BLAKE2b-256 | 21916b125c2288b3ecb15602201735ee0212400dc38d284a272661d9a9ac4458 |
File details
Details for the file foxglove_schemas_flatbuffer-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: foxglove_schemas_flatbuffer-0.2.0-py3-none-any.whl
- Upload date:
- Size: 86.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c31a03946c181c3f751be82f0e3f620086918144c1696d4f2a58a85462e8d91a |
|
MD5 | 5f0f9cb5f6ba9e2b682f797e681a1d6f |
|
BLAKE2b-256 | 46ebb616a2c735a18914c5731b1f5ea61fbfb1ac0d3278b7b86ca41a8da5587b |