The devel/py-msgspec port
py3-msgspec-0.19.0 – serialization/validation for common data interchange formats
Description
msgspec is a fast serialization and validation library, with builtin
support for JSON, MessagePack, YAML, and TOML. It features:
- High performance encoders/decoders for common protocols. The
JSON and MessagePack implementations regularly benchmark as the
fastest options for Python.
- Support for a wide variety of Python types. Additional types
may be supported through extensions.
- Zero-cost schema validation using familiar Python type
annotations. In benchmarks msgspec decodes and validates JSON faster
than orjson can decode it alone.
- A speedy Struct type for representing structured data. If you
already use dataclasses or attrs, structs should feel familiar.
However, they're 5-60x faster for common operations.
WWW: https://pypi.python.org/pypi/msgspec
- Only for arches
-
aarch64
aarch64
alpha
amd64
amd64
arm
arm
hppa
i386
i386
mips64
mips64
mips64el
mips64el
powerpc
powerpc
powerpc64
powerpc64
riscv64
riscv64
sparc64
- Categories:
-
devel
lang/python
Library dependencies
Build dependencies
Run dependencies