PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Serialization Python Packages

Python packages with the GitHub topic serialization. Sorted by monthly downloads, with stars and forks.
protocolbuffers
protobuf

Protocol Buffers - Google's data interchange format

626.5M 72K 16K
ijl
orjson

Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy

186.9M 8K 337
pallets
itsdangerous

Safely pass trusted data to untrusted environments and back.

172.3M 3K 288
marshmallow-code
marshmallow

A lightweight library for converting complex objects to and from simple Python datatypes.

85.2M 7K 761
google
flatbuffers

FlatBuffers: Memory Efficient Serialization Library

82.2M 27K 4K
agronholm
cbor2

Python CBOR (de)serializer with extensive tag support

67.1M 311 80
python-attrs
cattrs

Composable custom class converters for attrs, dataclasses and friends.

34.5M 1K 171
msgspec
msgspec

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

31.4M 4K 209
Fatal1ty
mashumaro

High-performance serialization without replacing your data model

24.4M 940 69
crdoconnor
strictyaml

Type-safe YAML parser and validator.

24.2M 2K 68
explosion
srsly

🦉 Modern high-performance serialization utilities for Python (JSON, MessagePack, Pickle)

20.7M 488 42
jsonpickle
jsonpickle

Python library for serializing any arbitrary object graph into JSON. It can take almost any Python object and turn the object into JSON. Additionally, it can reconstitute the object back into Python.

14.3M 1K 192
trailofbits
rfc8785

A pure-Python implementation of RFC8785 (JSON Canonicalization Scheme)

8.9M 13 5
mk-fg
pyaml

PyYAML-based module to produce a bit more pretty and readable YAML-serialized data

4.9M 140 32
lovasoa
marshmallow-dataclass

Automatic generation of marshmallow schemas from dataclasses.

4.1M 475 75
dapper91
pydantic-xml

python xml for humans

2.5M 258 36
foxglove
mcap

MCAP is a modular, performant, and serialization-agnostic container file format, useful for pub/sub and robotics applications.

2.3M 1K 237
rnag
dataclass-wizard

Simple, elegant, wizarding tools for interacting with Python's dataclasses.

2.3M 250 38
databento
databento-dbn

Databento Binary Encoding (DBN) - Fast message encoding and storage format for market data

1.4M 172 27
Crimson-Crow
json-numpy

JSON encoding/decoding for Numpy arrays and scalars

1.3M 23 2
romis2012
pydantic-collections

Collections of pydantic models

1M 47 4
yukinarit
pyserde

Yet another serialization library on top of dataclasses, inspired by serde-rs.

922K 851 64
schematics
schematics

Python Data Structures for Humans™.

833K 3K 293
foxglove
mcap-protobuf-support

MCAP is a modular, performant, and serialization-agnostic container file format, useful for pub/sub and robotics applications.

812K 1K 237
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology