Comparison
attrs vs cobble
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Classes Without Boilerplate
Maintained. Last release 8 months ago, commits in 18 of the last 26 weeks. Weaker on release cadence and contributor spread.
$
pip install attrsCreate data objects
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install cobbleIn short
- cobble is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- attrs is the most used: 932.4M downloads a month, 51× more than cobble.
- attrs also has the best Pythie’s Index (62).
- attrs is growing fastest: downloads +14% over the last month.
- Safe default for a new project: attrs.