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: JSON dans les projets data science : Trucs & Astuces | dev.to | 2024-03-07
  • 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.

    WorkOS logo
  • itsdangerous

    Safely pass trusted data to untrusted environments and back.

  • 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 | news.ycombinator.com | 2023-11-01
  • strictyaml

    Type-safe YAML parser and validator.

  • Project mention: StrictYAML | news.ycombinator.com | 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.

  • Project mention: Show HN: Mutuple – Replace items in Python's "immutable" tuples | news.ycombinator.com | 2024-04-10

    While I mostly wrote `mutuple` for fun, it's also a proof of concept for solving a tricky pickling problem in the jsonpickle[1] library: restoring object graphs that contain tuples with back-references to the same tuple.

    I'm pretty sure there are better ways of handling this edge case, but, hey, it works and was a pretty fun experiment.

    [1] https://github.com/jsonpickle/jsonpickle/pull/491

  • 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.

    InfluxDB logo
  • 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 (https://catt.rs) 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 | news.ycombinator.com | 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 | news.ycombinator.com | 2023-11-18
  • pysimdjson

    Python bindings for the simdjson project.

  • PyLD

    JSON-LD processor written in Python

  • colander

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

  • Fast JSON schema for Python

    Fast JSON schema validator for Python.

  • 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 | news.ycombinator.com | 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.

    [0] https://github.com/foxglove/studio

    [1] https://github.com/foxglove/mcap

  • srsly

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

  • Project mention: [Serious] Tag Ankündigung | /r/Finanzen | 2023-04-28
  • 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

    SaaSHub logo
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).

Python Serialization related posts

Index

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

Project Stars
1 marshmallow 6,893
2 orjson 5,540
3 itsdangerous 2,824
4 Schematics 2,571
5 msgspec 1,857
6 strictyaml 1,407
7 jsonpickle 1,216
8 serpy 954
9 cattrs 755
10 mashumaro 727
11 pyserde 651
12 pysimdjson 628
13 PyLD 577
14 colander 440
15 Fast JSON schema for Python 431
16 mcap 423
17 srsly 409
18 nestedtext 334
19 django-data-wizard 330
20 jsons 280
21 pySHACL 229
22 apischema 216
23 cachew 207

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com