msgspec
A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML.
A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML.
To install this package, run one of the following:
msgspec is a fast serialization and validation library for Python,
supporting JSON, MessagePack, YAML, and TOML. It integrates well with
Python's type annotations, providing ergonomic (and performant!) schema
validation.
Summary
A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML.
Information Last Updated
Nov 26, 2025 at 03:11
License
BSD-3-Clause
Total Downloads
652.3K
Platforms
GitHub Repository
https://github.com/jcrist/msgspecDocumentation
https://jcristharif.com/msgspec/