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

  • SaaSHub

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

    SaaSHub 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 | news.ycombinator.com | 2024-05-06
  • pysimdjson

    Python bindings for the simdjson project.

  • PyLD

    JSON-LD processor written in Python

  • Project mention: Lucky like a 7 — Seven SymfonyCasts Courses to Master Symfony 7 | dev.to | 2024-04-27

    "API Platform contains a PHP library (Core) to create fully featured hypermedia (or GraphQL) web APIs supporting industry-leading standards: JSON-LD with Hydra, OpenAPI, etc.

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

  • 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

  • Pyserde

    1 project | news.ycombinator.com | 6 May 2024
  • Show HN: Mutuple – Replace items in Python's "immutable" tuples

    2 projects | news.ycombinator.com | 10 Apr 2024
  • pyserde: Serialization library on top of dataclasses, inspired by serde-rs

    1 project | news.ycombinator.com | 18 Nov 2023
  • Litestar 2.0

    4 projects | /r/Python | 29 Aug 2023
  • Help making draggable items for Flask app.

    1 project | /r/flask | 21 Aug 2023
  • DotDict: A simple Python library to make chained attributes possible

    4 projects | news.ycombinator.com | 2 Aug 2023
  • Need help developing a high performance Redis ORM for Python

    2 projects | /r/Python | 23 May 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 17 May 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

Project Stars
1 marshmallow 6,909
2 orjson 5,602
3 itsdangerous 2,833
4 Schematics 2,570
5 msgspec 1,889
6 strictyaml 1,418
7 jsonpickle 1,220
8 serpy 956
9 cattrs 762
10 mashumaro 731
11 pyserde 659
12 pysimdjson 631
13 PyLD 583
14 colander 440
15 Fast JSON schema for Python 434
16 mcap 427
17 srsly 414
18 nestedtext 336
19 django-data-wizard 335
20 jsons 283
21 pySHACL 231
22 apischema 217
23 cachew 207

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