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
Downloads (Last 6 months): 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.

Last Updated

Nov 24, 2025 at 06:59

License

BSD-3-Clause

Total Downloads

664.0K

Supported Platforms

macOS-arm64
win-64
macOS-64
linux-64
linux-aarch64
linux-ppc64le