Python Serialization

Open-source Python projects categorized as Serialization

Top 23 Python Serialization Projects

  • marshmallow

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

    Project mention: Help making draggable items for Flask app. | /r/flask | 2023-08-21

    Somehow get a serializer going for your database models. I used marshmallow and flask-marshmallow

  • orjson

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

    Project mention: Segunda linguagem | /r/brdev | 2023-12-10
  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • itsdangerous

    Safely pass trusted data to untrusted environments and back.

    Project mention: Blake2Signer: simple and straightforward library to securely sign data using BLAKE | /r/Python | 2023-04-11

    It is similar to itsdangerous in the sense that both achieve the same goal, but in very different ways.

  • Schematics

    Python Data Structures for Humans™.

  • msgspec

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

    Project mention: Htmx, Rust and Shuttle: A New Rapid Prototyping Stack | | 2023-11-01
  • strictyaml

    Type-safe YAML parser and validator.

    Project mention: StrictYAML | | 2023-09-29
  • 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.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • serpy

    ridiculously fast object serialization

  • cattrs

    Composable custom class converters for attrs.

    Project mention: Writing Python like it’s Rust | /r/rust | 2023-05-20

    I'd suggest you look at my cattrs ( library as a good serde lookalike in Python (sum type support present and getting better), and to use attrs instead of dataclasses in general.

  • mashumaro

    Fast and well tested serialization library

    Project mention: DotDict: A simple Python library to make chained attributes possible | | 2023-08-02
  • pyserde

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

    Project mention: pyserde: Serialization library on top of dataclasses, inspired by serde-rs | | 2023-11-18
  • pysimdjson

    Python bindings for the simdjson project.

    Project mention: Analyzing multi-gigabyte JSON files locally | | 2023-03-18
  • PyLD

    JSON-LD processor written in Python

    Project mention: I Wrote an Activitypub Server in OCaml: Lessons Learnt, Weekends Lost | | 2023-04-23
  • colander

    A serialization/deserialization/validation library for strings, mappings and lists.

  • Fast JSON schema for Python

    Fast JSON schema validator for Python.

  • srsly

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

    Project mention: [Serious] Tag Ankündigung | /r/Finanzen | 2023-04-28
  • mcap

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

    Project mention: ROS 2 Iron Irwini Release | | 2023-05-23

    > Especially a tool like RViz is always missing. And in many many robotics video I see (of a moderately complex robot), there's ROS's RViz on some screen.

    I would love the future robotics development stack to be more modular, so that (for example) future middleware solutions don't need to also bundle their own visualization software. This was direct inspiration for creating Foxglove Studio[0] for visualization and MCAP[1] for logging - both work great with ROS, or equally well without it.



  • nestedtext

    Human readable and writable data interchange format

  • django-data-wizard

    🧙⚙️ Import structured data (e.g. Excel, CSV, XML, JSON) into one or more Django models via an interactive web-based wizard

  • jsons

    🐍 A Python lib for (de)serializing Python objects to/from JSON

  • pySHACL

    A Python validator for SHACL

  • apischema

    JSON (de)serialization, GraphQL and JSON schema generation using Python typing.

  • cachew

    Transparent and persistent cache/serialization powered by type hints

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-12-10.

Python Serialization related posts


What are some of the best open-source Serialization projects in Python? This list will help you:

Project Stars
1 marshmallow 6,831
2 orjson 5,375
3 itsdangerous 2,805
4 Schematics 2,573
5 msgspec 1,771
6 strictyaml 1,392
7 jsonpickle 1,189
8 serpy 954
9 cattrs 740
10 mashumaro 713
11 pyserde 636
12 pysimdjson 625
13 PyLD 570
14 colander 439
15 Fast JSON schema for Python 427
16 srsly 407
17 mcap 402
18 nestedtext 329
19 django-data-wizard 328
20 jsons 278
21 pySHACL 225
22 apischema 213
23 cachew 207
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives