Comparison
cattrs vs pyserde vs serpyco
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 16 of the last 26 weeks. A safe choice.
$
pip install cattrsYet another serialization library on top of dataclasses
Actively maintained. Last release 3 weeks ago, commits in 16 of the last 26 weeks. A safe choice.
$
pip install pyserdeFast 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 serpycoIn short
- serpyco is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- cattrs is the most used: 36.3M downloads a month, 34× more than pyserde.
- Maintenance is comparable: pyserde 91, cattrs 83 on Pythie’s Index.
- Safe default for a new project: cattrs.
Side by side
| Metric | cattrs | pyserde | serpyco |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 83 | Pythie’s Index: 91 | Pythie’s Index: 27 |
| Verdict | Actively maintained | Actively maintained | Slowing down |
| Downloads / month | 36.3M | 1.1M | 74.1K |
| Downloads, month over month | 0% | +9% | -2% |
| GitHub stars | 1.1K | 854 | – |
| Stars, last 7 days | – | – | – |
| Direct dependents | 348 | 35 | 1 |
| Last release | Sep 26, 2026 | Nov 8, 2026 | May 4, 2024 |
| Releases, 12 months | 3 | 26 | 0 |
| Weeks with commits | 16 / 26 | 16 / 26 | – |
| Recent contributors | 23 | 14 | – |
| First release | Dec 2017 | Dec 2018 | Nov 2018 |
| Python versions | 3.10 – 3.14 | 3.11 – 3.14 | – |
| License | MIT | MIT | MIT |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.