Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

foxglove-schemas-flatbuffer-0.0.1.tar.gz (35.9 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file foxglove-schemas-flatbuffer-0.0.1.tar.gz.

File metadata

File hashes

Hashes for foxglove-schemas-flatbuffer-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b30afc46834c46759008e3890fac49fbec12951892b57bbbd563ed7c6e3f7af2
MD5 238747c0a4a6a3cdcfb8cca6ed2e089d
BLAKE2b-256 56904e7b6689b5f28a6a3e0070d826a0655275f5a90b1290258329773cef1e74

See more details on using hashes here.

File details

Details for the file foxglove_schemas_flatbuffer-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for foxglove_schemas_flatbuffer-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b73ea0394e0c127a084dfe93735f587411ca3bebb84d6ee0ac9900b224521c47
MD5 e9671f619862d6dffb7529e085b9cd6b
BLAKE2b-256 7dc324fff71e2f43da4fd0759387e2a02343e921e1738941ce2ebf41098f9cdf

See more details on using hashes here.

Supported by

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