Comparison
attrdict vs document vs dotmap 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 documentordered, dynamically-expandable dot-access dictionary
Low maintenance activity. Last release over 4 years ago, commits in 3 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install dotmapAdvanced 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.
- python-box is the most used: 6.1M downloads a month, 3.5× more than dotmap.
- python-box also has the best Pythie’s Index (63).
- Safe default for a new project: python-box.
Side by side
| Metric | attrdict | document | dotmap | python-box |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 2 | Pythie’s Index: 19 | Pythie’s Index: 23 | Pythie’s Index: 63 |
| Verdict | Archived | Likely abandoned | Low maintenance activity | Maintained |
| Downloads / month | 492.6K | 74.8K | 1.8M | 6.1M |
| Downloads, month over month | +2% | +114% | -29% | +5% |
| GitHub stars | 271 | – | 478 | 2.8K |
| Stars, last 7 days | +0 | – | +0 | +0 |
| Direct dependents | 172 | 4 | 144 | 215 |
| Last release | Feb 1, 2019 | Mar 5, 2014 | Apr 6, 2022 | Dec 4, 2026 |
| Releases, 12 months | 0 | 0 | 0 | 6 |
| Weeks with commits | 0 / 26 | – | 3 / 26 | 3 / 26 |
| Recent contributors | 6 | – | 14 | 1 |
| First release | Nov 2013 | Mar 2014 | Aug 2015 | Mar 2017 |
| Python versions | – | – | – | 3.11 – 3.15 |
| License | MIT | MIT | MIT | 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.