Comparison
dataclass-wizard vs mashumaro vs serpyco vs typedload
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A wizard-like JSON serialization library for Python dataclasses
Maintained. Last release 5 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install dataclass-wizardFast 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 mashumaroFast serialization of dataclasses using Cython
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install serpycoLoad and dump data from json-like format into typed data structures
Maintained. Last release 6 months ago. Weaker on release cadence.
pip install typedloadIn short
- serpyco is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- typedload is the most used: 81.2M downloads a month, 2.8× more than mashumaro.
- mashumaro is better maintained: Pythie’s Index 80 against 57.
- mashumaro is growing fastest: downloads +11% over the last month.
Side by side
| Metric | dataclass-wizard | mashumaro | serpyco | typedload |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 52 | 80 |