Python Deserialization

Open-source Python projects categorized as Deserialization Edit details

Top 12 Python Deserialization Projects

  • marshmallow

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

    Project mention: Should I use SQLAlchemy for a side project? | | 2022-06-15

    You might be surprised how much I agree - I recently opened an issue there hoping to discuss something like this (still awaiting response).

  • orjson

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

    Project mention: Benchmarking Python JSON serializers - json vs ujson vs orjson | | 2022-05-25

    For most cases, you would want to go with python’s standard json library which removes dependencies on other libraries. On other hand you could try out ujsonwhich is simple replacement for python’s json library. If you want more speed and also want dataclass, datetime, numpy, and UUID instances and you are ready to deal with more complex code, then you can try your hands on orjson

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • Schematics

    Python Data Structures for Humans™.

  • 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: Thoughts on custom implementation around 3rd party libraries? | | 2022-05-10

    One specific use case that I've encountered was with the jsonpickle library where we inherit from the pickler and change a lot of the internal methods.

  • cattrs

    Complex custom class converters for attrs.

    Project mention: Taking JSON input for "posts", "tags" etc. How to escape '\' charecter or detect carefully? | | 2022-01-21

    I'm fond of attrs and cattrs myself, attrs make creating data classes a snap, writing all of the stupid code python requires to have a dataclass. Note the new built in dataclass is actually a limited copy of attrs. and

  • mashumaro

    Fast and well tested serialization framework on top of dataclasses

    Project mention: apischema v0.17 - I've developed the fastest typed JSON (de)serialization library, and you can also build your GraphQL schema with it | | 2022-01-18

    This month, I've released version 0.17, and it's now blazing fast; there is in fact no more comparison with Pydantic, which more than 5x slower (up to 30x in serialization). It's also faster than alternatives like mashumaro or cattrs. (See the quick benchmark result in documentation, and the code)

  • colander

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

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • dataconf

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

    Project mention: Show HN: Dataconf, Python dataclasses config (hocon/JSON/YAML/env-vars/dict) | | 2021-11-07
  • lupin is a Python JSON object mapper

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

  • py-object-factory

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

  • stuff_sack

    Efficient multi-language message packing / serialization.

    Project mention: Efficient multi-language message packing / serialization for embedded applications. (stuff_sack) | | 2021-07-17
  • ZnJSON

    Package to Encode/Decode some common file formats to json

    Project mention: ZnJSON - another lightweight en/decoder for Python objects to Json | | 2022-03-11

    Check it out directly via pip install znjson or on GitHub

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 2022-06-15.

Python Deserialization related posts


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

Project Stars
1 marshmallow 6,141
2 orjson 3,450
3 Schematics 2,509
4 jsonpickle 1,022
5 cattrs 486
6 mashumaro 418
7 colander 418
8 dataconf 50
9 lupin is a Python JSON object mapper 23
10 py-object-factory 4
11 stuff_sack 4
12 ZnJSON 2
Find remote jobs at our new job board There are 2 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives