Comparison
dataclasses-jsonschema vs json-strong-typing vs jsonconversion vs mashumaro
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
JSON schema generation from dataclasses
Archived. The repository is read-only: no more fixes or releases will come.
pip install dataclasses-jsonschemaType-safe data interchange for Python data classes
Maintained. Last release 5 weeks ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install json-strong-typingThis python module helps converting arbitrary Python objects into JSON strings and back.
Maintained. Last release 7 days ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install jsonconversionFast and well tested serialization library
Actively maintained. Last release 2 months ago, commits in 11 of the last 26 weeks. A safe choice.
pip install mashumaroIn short
- dataclasses-jsonschema is archived: avoid it for new projects.
- mashumaro is the most used: 29.5M downloads a month.
- mashumaro also has the best Pythie’s Index (80).
- jsonconversion is growing fastest: downloads +18% over the last month.
- Safe default for a new project: mashumaro.
Side by side
| Metric | dataclasses-jsonschema | json-strong-typing | jsonconversion | mashumaro |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 3 | 45 |