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. Learn more →
Top 23 Python Serialization Projects
-
marshmallow
A lightweight library for converting complex objects to and from simple Python datatypes.
-
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.
-
msgspec
A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML
-
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.
-
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.
-
mcap
MCAP is a modular, performant, and serialization-agnostic container file format, useful for pub/sub and robotics applications.
-
django-data-wizard
🧙⚙️ Import structured data (e.g. Excel, CSV, XML, JSON) into one or more Django models via an interactive web-based wizard
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Somehow get a serializer going for your database models. I used marshmallow and flask-marshmallow
Project mention: Htmx, Rust and Shuttle: A New Rapid Prototyping Stack | news.ycombinator.com | 2023-11-01
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
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.
Project mention: DotDict: A simple Python library to make chained attributes possible | news.ycombinator.com | 2023-08-02
Project mention: pyserde: Serialization library on top of dataclasses, inspired by serde-rs | news.ycombinator.com | 2023-11-18
> 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
Python Serialization related posts
- Show HN: Mutuple – Replace items in Python's "immutable" tuples
- pyserde: Serialization library on top of dataclasses, inspired by serde-rs
- Litestar 2.0
- Help making draggable items for Flask app.
- DotDict: A simple Python library to make chained attributes possible
- Need help developing a high performance Redis ORM for Python
- Writing Python like it’s Rust
-
A note from our sponsor - InfluxDB
www.influxdata.com | 25 Apr 2024
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