jsonpickle
mutuple
jsonpickle | mutuple | |
---|---|---|
3 | 2 | |
1,217 | 5 | |
1.4% | - | |
9.1 | 5.4 | |
7 days ago | 24 days ago | |
Python | Rust | |
BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
jsonpickle
-
Show HN: Mutuple – Replace items in Python's "immutable" tuples
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
-
For fun, I created a library to serialize / deserialize any python object into JSON
How it's different than jsonpickle?
-
Thoughts on custom implementation around 3rd party libraries?
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.
mutuple
-
This Week In Python
mutuple – Replace items in Python's "immutable" tuples
- Show HN: Mutuple – Replace items in Python's "immutable" tuples
What are some alternatives?
picklejson - A library allowing the user to serialize any python object into JSON
srsly - 🦉 Modern high-performance serialization utilities for Python (JSON, MessagePack, Pickle)
PyFLP - FL Studio project file parser
rememberer - Rememberer is a python package to help your functions remember their previous results.
msgspec - A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML
orjson - Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy
mashumaro - Fast and well tested serialization library
orjsonl - A lightweight, high-performance Python library for parsing jsonl files.