Comparison
attrdict vs dotdict vs dotmap
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 attrdictdot style dictionary like JavaScript.
Likely abandoned. No release or commit for years (last release over 14 years ago).
$
pip install dotdictordered, 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 dotmapIn short
- attrdict is archived: avoid it for new projects.
- dotdict looks abandoned: avoid it for new projects.
- dotmap is the most used: 1.8M downloads a month, 3.5× more than attrdict.
- dotmap also has the best Pythie’s Index (23).
Side by side
| Metric | attrdict | dotdict | dotmap |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 2 | Pythie’s Index: 19 | Pythie’s Index: 23 |
| Verdict | Archived | Likely abandoned | Low maintenance activity |
| Downloads / month | 509.2K | 68.8K | 1.8M |
| Downloads, month over month | +13% | +53% | -25% |
| GitHub stars | 271 | – | 478 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 172 | 7 | 144 |
| Last release | Feb 1, 2019 | Feb 23, 2012 | Apr 6, 2022 |
| Releases, 12 months | 0 | 0 | 0 |
| Weeks with commits | 0 / 26 | – | 3 / 26 |
| Recent contributors | 6 | – | 14 |
| First release | Nov 2013 | Feb 2012 | Aug 2015 |
| Python versions | – | – | – |
| License | MIT | non-standard | MIT |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.