Comparison
attrdict vs attrdict3 vs dictobj 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 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 dictobjordered, 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.
- attrdict3 is archived: avoid it for new projects.
- dictobj looks abandoned: avoid it for new projects.
- dotmap is the most used: 1.7M downloads a month, 3.5× more than attrdict.
- dotmap also has the best Pythie’s Index (23).
Side by side
| Metric | attrdict | attrdict3 | dictobj | dotmap |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 2 | Pythie’s Index: 3 | Pythie’s Index: 13 | Pythie’s Index: 23 |
| Verdict | Archived | Archived | Likely abandoned | Low maintenance activity |
| Downloads / month | 500.3K | 87.3K | 67.6K | 1.7M |
| Downloads, month over month | +10% | +33% | -9% | -27% |
| GitHub stars | 271 | 5 | 7 | 478 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 172 | 14 | 1 | 144 |
| Last release | Feb 1, 2019 | Apr 1, 2022 | Apr 14, 2016 | Apr 6, 2022 |
| Releases, 12 months | 0 | 0 | 0 | 0 |
| Weeks with commits | 0 / 26 | 0 / 26 | 0 / 26 | 3 / 26 |
| Recent contributors | 6 | 7 | 4 | 14 |
| First release | Nov 2013 | Apr 2022 | Dec 2012 | Aug 2015 |
| Python versions | – | – | – | – |
| 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.