Comparison
attrdict vs attrdict3 vs dictobj vs python-box
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A dict with attribute-style access
Archived. The repository is read-only: no more fixes or releases will come.
pip install attrdictA dict with attribute-style access
Archived. The repository is read-only: no more fixes or releases will come.
pip install attrdict3A set of Python dictionary objects where keys can be accessed as instance attributes.
Likely abandoned. No release or commit for years (last release over 10 years ago).
pip install dictobjAdvanced Python dictionaries with dot notation access
Maintained. Last release 2 weeks ago, commits in 2 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install python-boxIn short
- attrdict is archived: avoid it for new projects.
- attrdict3 is archived: avoid it for new projects.
- dictobj looks abandoned: avoid it for new projects.
- python-box is the most used: 6.1M downloads a month, 12× more than attrdict.
- python-box also has the best Pythie’s Index (55).
Side by side
| Metric | attrdict | attrdict3 | dictobj | python-box |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 2 | 3 |