./devel/py-msgspec, Fast serialization and validation library

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.18.6, Package name: py312-msgspec-0.18.6, Maintainer: pkgsrc-users

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.


Master sites:

Filesize: 211.677 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-26 13:45:44 by Nia Alarie | Files touched by this commit (3)
Log message:
py-msgspec: Fails to build with Python 3.13
   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-05-12 19:46:55 by Thomas Klausner | Files touched by this commit (4)
Log message:
devel/py-msgspec: import py-msgspec-0.18.6

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.