Comparison
addict vs attrdict vs dotmap vs munch
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 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 dotmapA dot-accessible dictionary (a la JavaScript objects)
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install munchIn short
- attrdict is archived: avoid it for new projects.
- munch is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- addict is the most used: 6M downloads a month, 2.3× more than munch.
- Maintenance is comparable: dotmap 23, addict 16 on Pythie’s Index.