A lightweight library for converting complex objects to and from simple Python datatypes.
-
Updated
Jul 1, 2026 - Python
A lightweight library for converting complex objects to and from simple Python datatypes.
A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML
Fast and well tested serialization library
Yet another serialization library on top of dataclasses, inspired by serde-rs.
🐍 A hyper-fast Python module for reading/writing JSON data using Rust's serde-json.
Typical: Fast, simple, & correct data-validation using Python 3 typing.
🚝 (unmaintained) A framework for defining, serializing, deserializing, and validating data structures
UNSUPPORTED (De)serialize XML documents into Python dataclasses
Define python objects that can be safely converted to (and from) bytes.
Generate fast JSON parsers based on type stubs
Pydantic-X is a lightweight toolkit for Pydantic v2 that provides: - Sanitizers (trim, lower, strip HTML, normalize whitespace) - Schema versioning (versioned models + migration hooks) - Fast validation helpers This is not a replacement for Pydantic. It is a thin layer that helps you build production APIs with strict data control.
A simple, linear, non-recursive data-interchange format designed to be easily emitted, and parsed by any language.
Generic polymorphic serializer/deserializer for Pydantic models and complex Python object graphs.
Add a description, image, and links to the serde topic page so that developers can more easily learn about it.
To associate your repository with the serde topic, visit your repo's landing page and select "manage topics."