Comparison
attrdict vs mo-dots 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 attrdictMore Dots! Dot-access to Python dicts like Javascript
Maintained. Last release 2 weeks ago, commits in 8 of the last 26 weeks. Weaker on contributor spread and security practices.
$
pip install mo-dotsAdvanced 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.
- python-box is the most used: 6.1M downloads a month, 12× more than attrdict.
- mo-dots is better maintained: Pythie’s Index 68 against 55.
Side by side
| Metric | attrdict | mo-dots | python-box |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 2 | 68 |