Comparison
cattrs vs dacite
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 18 of the last 26 weeks. A safe choice.
$
pip install cattrsSimple creation of data classes from dictionaries.
Maintained. Last release 6 days ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install daciteIn short
- cattrs is the most used: 37.1M downloads a month.
- cattrs also has the best Pythie’s Index (83).
- dacite is growing fastest: downloads +15% over the last month.
- Safe default for a new project: cattrs.
Side by side
| Metric | cattrs | dacite |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 83 | Pythie’s Index: 49 |
| Verdict | Actively maintained | Maintained |
| Downloads / month | 37.1M | 28.3M |
| Downloads, month over month | 0% | +15% |
| GitHub stars | 1.1K | 2.1K |
| Stars, last 7 days | – | – |
| Direct dependents | 348 | 654 |
| Last release | Sep 26, 2026 | Nov 24, 2026 |
| Releases, 12 months | 3 | 1 |
| Weeks with commits | 18 / 26 | 1 / 26 |
| Recent contributors | 23 | 9 |
| First release | Dec 2017 | Mar 2018 |
| Python versions | 3.10 – 3.14 | 3.7 – 3.13 |
| License | MIT | MIT |
| Known vulnerabilities | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.