foxglove-schemas-flatbuffer-0.1.0
توضیحات
Flatbuffer classes for Foxglove Schemas
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | foxglove-schemas-flatbuffer-0.1.0 |
| نام | foxglove-schemas-flatbuffer |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/foxglove/schemas |
| آدرس اینترنتی | https://pypi.org/project/foxglove-schemas-flatbuffer/ |
| مجوز | - |
# Foxglove Schemas (Flatbuffer)
This package provides [Flatbuffer](https://google.github.io/flatbuffers/) classes for [Foxglove Schemas](https://foxglove.dev/docs/studio/messages/introduction).
## Installation
Install via [Pipenv](https://pipenv.pypa.io/en/latest/) by adding `foxglove-schemas-flatbuffer` to your `Pipfile` or via the command line:
```bash
pipenv install foxglove-schemas-flatbuffer
```
## Usage
Import types from the `foxglove_schemas_flatbuffer` module as follows:
```py
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](https://foxglove.dev/join-slack) to ask questions, share feedback, and stay up to date on what our team is working on.
نیازمندی
| مقدار | نام |
|---|---|
| - | flatbuffers |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl foxglove-schemas-flatbuffer-0.1.0:
pip install foxglove-schemas-flatbuffer-0.1.0.whl
نصب پکیج tar.gz foxglove-schemas-flatbuffer-0.1.0:
pip install foxglove-schemas-flatbuffer-0.1.0.tar.gz