Python Deserialization

Open-source Python projects categorized as Deserialization

Top 22 Python Deserialization 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.

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

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

  • colander

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

  • 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

  • rtoml

    A fast TOML library for python implemented in rust.

  • pymilo

    PyMilo: Python for ML I/O

    Project mention: [P] Request to Test PyMilo: A New Python Library for Machine Learning I/O | /r/MachineLearning | 2023-09-29

    GitHub Repo: https://github.com/openscilab/pymilo

  • PyFLP

    FL Studio project file parser

  • Pickora

    A toy compiler that can convert Python scripts 🐍 to pickle bytecode 🥒

  • dataconf

    Simple dataclasses configuration management for Python with hocon/json/yaml/properties/env-vars/dict/cli support.

  • chili

    Object serialization/deserialization tools for python. (by kodemore)

  • bytechomp

    A pure python declarative custom binary protocol parser & generator using dataclasses and type hinting. Like Pydantic for binary protocols.

  • lupin is a Python JSON object mapper

    Python document object mapper (load python object from JSON and vice-versa)

  • bstruct

    Simple and efficient binary (de)serialization using type annotations.

  • orjsonl

    A lightweight, high-performance Python library for parsing jsonl files.

    Project mention: orjsonl VS json-lines - a user suggested alternative | libhunt.com/r/orjsonl | 2023-11-09
  • py-object-factory

    objectfactory is a python package to easily implement the factory design pattern for object creation, serialization, and polymorphism

  • versionedobj

    Easy object serialization and versioning framework for python

  • ZnJSON

    Package to Encode/Decode some common file formats to json

  • 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 2024-04-10.

Python Deserialization related posts

Index

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

Project Stars
1 marshmallow 6,882
2 orjson 5,520
3 Schematics 2,572
4 msgspec 1,839
5 jsonpickle 1,206
6 cattrs 754
7 mashumaro 726
8 colander 440
9 mcap 416
10 rtoml 295
11 pymilo 123
12 PyFLP 107
13 Pickora 89
14 dataconf 78
15 chili 64
16 bytechomp 35
17 lupin is a Python JSON object mapper 25
18 bstruct 17
19 orjsonl 13
20 py-object-factory 9
21 versionedobj 7
22 ZnJSON 2
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com