Comparison
attrdict vs easydict vs prodict 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 attrdictAccess 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 easydictA dict with dot-accessible attributes, IDE auto-completion and type conversion driven by annotations.
Maintained. Last release 5 weeks ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install prodictAdvanced 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, 1.9× more than easydict.
- Maintenance is comparable: python-box 55, prodict 47, easydict 47 on Pythie’s Index.
Side by side
| Metric | attrdict | easydict | prodict | python-box |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 2 | 47 |