Comparison
attrdict vs dictobj vs dotty-dict vs munch
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 set of Python dictionary objects where keys can be accessed as instance attributes.
Likely abandoned. No release or commit for years (last release over 10 years ago).
pip install dictobjDictionary 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-dictA 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.
- dictobj looks abandoned: avoid it for new projects.
- dotty-dict looks abandoned: avoid it for new projects.
- munch is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
Side by side
| Metric | attrdict | dictobj | dotty-dict | munch |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 2 | 13 |