Comparison
attrdict vs dotted-notation 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 attrdictDotted notation for safe nested data traversal with optional chaining, pattern matching, and transforms
Actively maintained. Last release 6 days ago, commits in 14 of the last 26 weeks. A safe choice.
pip install dotted-notationDictionary 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.
- 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.
- dotted-notation is the most used: 135.8K downloads a month.
- dotted-notation also has the best Pythie’s Index (82).
- dotted-notation is growing fastest: downloads +92% over the last month.
- Safe default for a new project: dotted-notation.
Side by side
| Metric | attrdict | dotted-notation | dotty-dict | munch |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 2 | 82 |