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

Try This Package Beta

Usage Tracking

0.22.0
0.21.1
0.21.0
0.20.0
0.19.0
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

Oct 6, 2026 at 10:32

License

BSD-3-Clause

Supported Platforms

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