CMD + K

msgspec

Community

A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML.

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::msgspec

Usage Tracking

0.20.0
0.19.0
0.18.6
0.18.5
0.18.4
5 / 8 versions selected
Total downloads: 0

Description

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.

About

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

macOS arm64 Version: 0.20.0
Win 64 Version: 0.20.0
macOS 64 Version: 0.20.0
Linux 64 Version: 0.20.0
Linux aarch64 Version: 0.20.0
Linux ppc64le Version: 0.20.0