Comparison
attrdict vs dotdict vs dotmap vs prodict
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 dotmapA dict with dot-accessible attributes, IDE auto-completion and type conversion driven by annotations.
Maintained. Last release 5 weeks ago, commits in 3 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install prodictIn 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.
- prodict is better maintained: Pythie’s Index 49 against 23.