Comparison
attrdict vs munch vs python-box
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 attrdictA 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 munchAdvanced Python dictionaries with dot notation access
Maintained. Last release 2 weeks ago, commits in 2 of the last 26 weeks. Weaker on commit activity and contributor spread.
$
pip install python-boxIn 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.
- python-box is the most used: 6.1M downloads a month, 2.3× more than munch.
- python-box also has the best Pythie’s Index (55).
Side by side
| Metric | attrdict | munch | python-box |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 2 | 21 |