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.2.0.tar.gz (38.2 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file foxglove_schemas_flatbuffer-0.2.0.tar.gz.

File metadata

File hashes

Hashes for foxglove_schemas_flatbuffer-0.2.0.tar.gz
Algorithm Hash digest
SHA256 fb1e9bed6fa5f150c6801934a32748fdc50b9a68ad4c63972b87db311380fadc
MD5 bd7fd8035c99771090c923785c8869a6
BLAKE2b-256 21916b125c2288b3ecb15602201735ee0212400dc38d284a272661d9a9ac4458

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_schemas_flatbuffer-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c31a03946c181c3f751be82f0e3f620086918144c1696d4f2a58a85462e8d91a
MD5 5f0f9cb5f6ba9e2b682f797e681a1d6f
BLAKE2b-256 46ebb616a2c735a18914c5731b1f5ea61fbfb1ac0d3278b7b86ca41a8da5587b

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