py3-msgspec-0.19.0p0
serialization/validation for common data interchange formats
Back to search · Project homepage
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.
Package information
- Ports path
- devel/py-msgspec
- Package architecture
- amd64
- Maintainer
- The OpenBSD ports mailing-list <ports@openbsd.org>
- Categories
- devel, lang/python
- Available flavors
- None listed
- Only for architectures
- aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, sparc64, alpha, hppa
These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.
Direct dependencies
Runtime
Build
- lang/python/3
- devel/py-build
- devel/py-installer
- devel/py-setuptools py3-setuptools->=79v0
- devel/py-wheel
- devel/py-setuptools_scm
Test
Used by (3 dependency relationships)
Includes library, runtime, build and test relationships. Results load 100 at a time.