Comparison
attrdict vs document vs dotdict 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 attrdictWraps dicts in an object for convenient document management
Likely abandoned. No release or commit for years (last release over 12 years ago).
pip install documentdot style dictionary like JavaScript.
Likely abandoned. No release or commit for years (last release over 14 years ago).
pip install dotdictAdvanced Python dictionaries with dot notation access
Maintained. Last release 2 days ago, commits in 3 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.
- document looks abandoned: avoid it for new projects.
- dotdict 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 (63).
- Safe default for a new project: python-box.
Side by side
| Metric | attrdict | document | dotdict | python-box |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 2 | Pythie’s Index: 19 | Pythie’s Index: 19 | Pythie’s Index: 63 |
| Verdict | Archived | Likely abandoned | Likely abandoned | Maintained |
| Downloads / month | 492.6K | 74.8K | 60.2K | 6.1M |
| Downloads, month over month | +2% | +114% | +14% | +5% |
| GitHub stars | 271 | – | – | 2.8K |
| Stars, last 7 days | +0 | – | – | +0 |
| Direct dependents | 172 | 4 | 7 | 215 |
| Last release | Feb 1, 2019 | Mar 5, 2014 | Feb 23, 2012 | Dec 4, 2026 |
| Releases, 12 months | 0 | 0 | 0 | 6 |
| Weeks with commits | 0 / 26 | – | – | 3 / 26 |
| Recent contributors | 6 | – | – | 1 |
| First release | Nov 2013 | Mar 2014 | Feb 2012 | Mar 2017 |
| Python versions | – | – | – | 3.11 – 3.15 |
| License | MIT | MIT | non-standard | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.