Comparison
cattrs vs mashumaro
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 cattrsFast and well tested serialization library
Actively maintained. Last release 2 months ago, commits in 10 of the last 26 weeks. A safe choice.
$
pip install mashumaroIn short
- cattrs is the most used: 37.1M downloads a month.
- Maintenance is comparable: cattrs 83, mashumaro 78 on Pythie’s Index.
- Safe default for a new project: cattrs.
Side by side
| Metric | cattrs | mashumaro |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 83 | Pythie’s Index: 78 |
| Verdict | Actively maintained | Actively maintained |
| Downloads / month | 37.1M | 29.5M |
| Downloads, month over month | 0% | +9% |
| GitHub stars | 1.1K | 946 |
| Stars, last 7 days | – | – |
| Direct dependents | 348 | 236 |
| Last release | Sep 26, 2026 | Sep 30, 2026 |
| Releases, 12 months | 3 | 6 |
| Weeks with commits | 18 / 26 | 10 / 26 |
| Recent contributors | 23 | 4 |
| First release | Dec 2017 | Sep 2018 |
| Python versions | 3.10 – 3.14 | 3.10 – 3.15 |
| License | MIT | Apache-2.0 |
| Known vulnerabilities | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.