Comparison
namedlist vs recordclass
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Similar to namedtuple, but instances are mutable.
Likely abandoned. No release or commit for years (last release over 6 years ago).
$
pip install namedlistMutable variant of namedtuple -- recordclass, which support assignments, compact dataclasses and other memory saving variants.
Maintained. Last release 3 months ago, commits in 3 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install recordclassIn short
- namedlist looks abandoned: avoid it for new projects.
- recordclass is the most used: 109.6K downloads a month.
- recordclass also has the best Pythie’s Index (53).
Side by side
| Metric | namedlist | recordclass |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 19 | 53 |