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.1.0.tar.gz (37.1 kB view hashes)

Uploaded Source

Built Distribution

foxglove_schemas_flatbuffer-0.1.0-py3-none-any.whl (83.5 kB view hashes)

Uploaded Python 3

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