msgspec-serde
A high-performance serialization tool for msgspec, FlatBuffers, and NumPy arrays
SITE CAPTUREBased on information published on the service's website. Selection and review policy
WHAT IT DOES
What does it do?
msgspec-serde generates typed msgspec.Struct models and read-only FlatBuffers views from .fbs schemas. Its JSON, MessagePack, and FlatBuffers codecs support fast serialization of structures containing NumPy arrays. It offers both lazy views and conversion to fully mutable models, and can be installed on Python 3.12 or later.
KEY FEATURES
Key features
- Generates msgspec.Struct models from .fbs schemas
- Generates read-only FlatBuffers views from .fbs schemas
- Encodes and decodes structures containing NumPy arrays as JSON
- Supports MessagePack and FlatBuffers serialization
- Provides lazy views that read fields from a serialized buffer when needed
- Converts lazy views to mutable models and runs validators