Comparison
attrdict vs dotmap vs easydict vs mo-dots
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 attrdictordered, 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 dotmapAccess dict values as attributes (works recursively).
Maintained. Last release 3 weeks ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install easydictMore Dots! Dot-access to Python dicts like Javascript
Maintained. Last release 2 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.
- easydict is the most used: 3.2M downloads a month, 1.8× more than dotmap.
- mo-dots is better maintained: Pythie’s Index 64 against 47.