Comparison
dictobj vs dotdict vs dotmap vs jsonasobj2
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A 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 dictobjdot 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 dotmapJSON as python objects - version 2
Likely abandoned. No release or commit for years (last release over 5 years ago).
pip install jsonasobj2In short
- dictobj looks abandoned: avoid it for new projects.
- dotdict looks abandoned: avoid it for new projects.
- jsonasobj2 looks abandoned: avoid it for new projects.
- dotmap is the most used: 1.8M downloads a month.
- dotmap also has the best Pythie’s Index (23).
Side by side
| Metric | dictobj | dotdict | dotmap | jsonasobj2 |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 13 | Pythie’s Index: 19 | Pythie’s Index: 23 | Pythie’s Index: 12 |
| Verdict | Likely abandoned | Likely abandoned | Low maintenance activity | Likely abandoned |
| Downloads / month | 68.2K | 68.8K | 1.8M | 1.3M |
| Downloads, month over month | -9% | +53% | -25% | +46% |
| GitHub stars | 7 | – | 478 | 5 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 1 | 7 | 144 | 10 |
| Last release | Apr 14, 2016 | Feb 23, 2012 | Apr 6, 2022 | Jun 2, 2021 |
| Releases, 12 months | 0 | 0 | 0 | 0 |
| Weeks with commits | 0 / 26 | – | 3 / 26 | 0 / 26 |
| Recent contributors | 4 | – | 14 | 1 |
| First release | Dec 2012 | Feb 2012 | Aug 2015 | May 2021 |
| Python versions | – | – | – | 3.6 – 3.9 |
| License | non-standard | non-standard | MIT | CC0-1.0 |
| 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.