SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Python Deserialization Projects
-
marshmallow
A lightweight library for converting complex objects to and from simple Python datatypes.
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
Project mention: Web scraping of a dynamic website using Python with HTTP Client | dev.to | 2024-09-28
The library already has support for an HTTP client that allows bypassing Cloudflare - CurlImpersonateHttpClient. Since we have to work with JSON responses we could use parsel_crawler added in version 0.3.0, but I think this is excessive for such tasks, besides I like the high speed of orjson.. Therefore, we'll need to implement our crawler rather than using one of the ready-made ones.
-
-
msgspec
A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML
gjson [1] and a few other go packages offer a way to parse arbitrary JSON without requiring structs to hold them.
re: Python. I like PyRight/PyLance for Python typing, it seems to "just work" afaict. I also like msgspec for dataclass like behavior [2].
---
1: https://github.com/tidwall/gjson
2: https://jcristharif.com/msgspec/
-
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-10While 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
-
mcap
MCAP is a modular, performant, and serialization-agnostic container file format, useful for pub/sub and robotics applications.
Seems like it's aiming to be a more general alternative to tools like ROS rosbags, pretty widely used in robotics. Sounds like a good idea to me -- having a nice tool to create and visualize multimodal logs can be pretty useful outside of robotics.
Foxglove (https://foxglove.dev/) is an alternative specifically aimed at robotics. It was originally a fork of Cruise webviz (https://webviz.io/), iirc, which came out of the ROS ecosystem. The format for ROS logs (rosbags) has evolved a bit - from a custom format, to a format based on sqlite, to a new format that is intended to be more general and compatible with various serialization formats, MCAP (https://mcap.dev/).
-
-
-
I'm a Master's student in Artificial Intelligence at UofT. Right now, I'm adding the "ML (Machine Learning) Streaming" feature to PyMilo. PyMilo is an open-source Python package that provides a transparent, safe, and end-to-end way for users to export pre-trained machine-learning models.
Transparency and non-executable export format is a serious thing, take a look at https://embracethered.com/blog/posts/2022/machine-learning-a....
After version 0.9 release, PyMilo became feature-completed with full support of scikit-learn models, now it's time to move on to PyTorch and then Tensorflow. But we decided to add the "ML Streaming" feature before getting into PyTorch, in order to provide an easy way to smoothly stream your ML model. By using the "ML Streaming" feature you can easily deploy your model into the remote server, connect to it from the client side, and choose the working mode, either delegation or local mode, through delegation mode your requests will be relayed to the remote server and you can easily work with your remote model from any devices without any further dependencies, and finally, you can download model for local use.
We will release the 1.0 (tenth) version of PyMilo around Sep 16th, this release will be the first release to have the "ML Streaming" feature with support of REST API, and we will next add other protocols such as Websocket.
Here is PyMilo: https://github.com/openscilab/pymilo
-
-
-
dataconf
Simple dataclasses configuration management for Python with hocon/json/yaml/properties/env-vars/dict/cli support.
-
-
bytechomp
A pure python declarative custom binary protocol parser & generator using dataclasses and type hinting. Like Pydantic for binary protocols.
-
Project mention: Ask HN: What Are You Working On? (October 2024) | news.ycombinator.com | 2024-10-27
I'm working on a library that allows anyone to build fully typed, declarative API clients very easily, in Python.
https://github.com/martinn/quickapiclient
-
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
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Python Deserialization discussion
Python Deserialization related posts
-
Show HN: Mutuple – Replace items in Python's "immutable" tuples
-
Litestar 2.0
-
Help making draggable items for Flask app.
-
Starlite updates March '22 | 2.0 is coming
-
Noob question on saving objects in YAML files
-
Yet another object serialization framework!
-
For fun, I created a library to serialize / deserialize any python object into JSON
-
A note from our sponsor - SaaSHub
www.saashub.com | 9 Dec 2024
Index
What are some of the best open-source Deserialization projects in Python? This list will help you:
Project | Stars | |
---|---|---|
1 | marshmallow | 7,067 |
2 | orjson | 6,340 |
3 | Schematics | 2,580 |
4 | msgspec | 2,474 |
5 | jsonpickle | 1,259 |
6 | cattrs | 830 |
7 | mashumaro | 789 |
8 | mcap | 533 |
9 | colander | 451 |
10 | rtoml | 324 |
11 | pymilo | 149 |
12 | PyFLP | 130 |
13 | Pickora | 116 |
14 | dataconf | 82 |
15 | chili | 71 |
16 | bytechomp | 43 |
17 | quickapiclient | 40 |
18 | lupin is a Python JSON object mapper | 26 |
19 | orjsonl | 25 |
20 | bstruct | 17 |
21 | versionedobj | 9 |
22 | py-object-factory | 9 |
23 | ZnJSON | 3 |