devel/py-msgspec - The NetBSD Packages Collection

Fast serialization and validation library

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.

Build dependencies

devel/py-setuptools devel/py-wheel devel/py-build misc/py-installer pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

textproc/py-yaml textproc/py-tomli_w lang/python311 lang/python311

Binary packages

OSArchitectureVersion
(none)

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.