Comparison
attrdict vs attrdict3 vs dotty-dict vs easydict
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 dict with attribute-style access
Archived. The repository is read-only: no more fixes or releases will come.
$
pip install attrdict3Dictionary wrapper for quick access to deeply nested keys.
Likely abandoned. No release or commit for years (last release over 4 years ago).
$
pip install dotty-dictAccess dict values as attributes (works recursively).
Maintained. Last release 1 day ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install easydictIn short
- attrdict is archived: avoid it for new projects.
- attrdict3 is archived: avoid it for new projects.
- dotty-dict looks abandoned: avoid it for new projects.
- easydict is the most used: 3.2M downloads a month.
- easydict also has the best Pythie’s Index (51).
Side by side
| Metric | attrdict | attrdict3 | dotty-dict | easydict |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 2 | 3 |