BSD Ports

devel/py-msgspec 0.21.1 NetBSD

Fast serialization and validation library

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
65c9b1c391
License
modified-bsd
Categories
devel, python
Package size
198.9 KiB, 687.8 KiB installed

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.

In the other systems

SystemPortVersion
NetBSDdevel/py-msgspec0.21.1
FreeBSDdevel/py-msgspec0.21.1
OpenBSDdevel/py-msgspec0.19.0p0
DragonFlydevel/py-msgspec0.19.0

Install

Binary package:

pkgin install py312-msgspec

From pkgsrc:

cd /usr/pkgsrc/devel/py-msgspec && make install clean

Dependencies

Run dependencies 3

Configuration

No options to configure.

Service scripts
none
Flavors
py313-msgspec-0.21.1, py314-msgspec-0.21.1

Commit history 1

DateCommitCreditsLog message
65c9b1c391 adam Forget Python 3.10