Comparison
addict vs attrdict vs dotty-dict vs mo-dots
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Addict is a dictionary whose items can be set using both attribute and item syntax.
Low maintenance activity. Last release over 6 years ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install addictA dict with attribute-style access
Archived. The repository is read-only: no more fixes or releases will come.
pip install attrdictDictionary wrapper for quick access to deeply nested keys.
Likely abandoned. No release or commit for years (last release over 4 years ago).
pip install dotty-dictMore Dots! Dot-access to Python dicts like Javascript
Maintained. Last release 3 weeks ago, commits in 6 of the last 26 weeks. Weaker on contributor spread and security practices.
pip install mo-dotsIn short
- attrdict is archived: avoid it for new projects.
- dotty-dict looks abandoned: avoid it for new projects.
- addict is the most used: 6.1M downloads a month, 1.9× more than dotty-dict.
- mo-dots is better maintained: Pythie’s Index 64 against 16.
Side by side
| Metric | addict | attrdict | dotty-dict | mo-dots |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 16 | 2 |