Comparison
cattrs vs dacite vs dataclass-wizard vs jsons
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Composable complex class support for attrs and dataclasses.
Actively maintained. Last release 2 months ago, commits in 17 of the last 26 weeks. A safe choice.
pip install cattrsSimple creation of data classes from dictionaries.
Maintained. Last release 7 days ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install daciteA 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-wizardFor serializing Python objects to JSON (dicts) and back
Likely abandoned. No release or commit for years (last release over 4 years ago).
pip install jsonsIn short
- jsons looks abandoned: avoid it for new projects.
- cattrs is the most used: 36.3M downloads a month.
- cattrs also has the best Pythie’s Index (83).
- dacite is growing fastest: downloads +17% over the last month.
- Safe default for a new project: cattrs.
Side by side
| Metric | cattrs | dacite | dataclass-wizard | jsons |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 83 | Pythie’s Index: 49 | Pythie’s Index: 52 | Pythie’s Index: 18 |
| Verdict | Actively maintained | Maintained | Maintained | Likely abandoned |
| Downloads / month | 36.3M | 28.1M | 2M | 656.4K |
| Downloads, month over month | 0% | +17% | -4% | -5% |
| GitHub stars | 1.1K | 2.1K | 250 | 290 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 348 | 654 | 63 | 105 |
| Last release | Sep 26, 2026 | Nov 24, 2026 | Jul 3, 2026 | Jun 9, 2022 |
| Releases, 12 months | 3 | 1 | 14 | 0 |
| Weeks with commits | 17 / 26 | 1 / 26 | 1 / 26 | 0 / 26 |
| Recent contributors | 23 | 9 | 8 | 10 |
| First release | Dec 2017 | Mar 2018 | Aug 2021 | Jul 2018 |
| Python versions | 3.10 – 3.14 | 3.7 – 3.13 | 3.9 – 3.14 | 3.5 – 3.10 |
| License | MIT | MIT | Apache-2.0 | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.