Comparison
attrdict vs dotmap vs dotted-notation vs dotty-dict
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 attrdictordered, dynamically-expandable dot-access dictionary
Low maintenance activity. Last release over 4 years ago, commits in 3 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install dotmapDotted 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-dictIn short
- attrdict is archived: avoid it for new projects.
- dotty-dict looks abandoned: avoid it for new projects.
- dotmap is the most used: 1.7M downloads a month.
- dotted-notation is better maintained: Pythie’s Index 82 against 23.
- dotted-notation is growing fastest: downloads +92% over the last month.
Side by side
| Metric | attrdict | dotmap | dotted-notation | dotty-dict |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 2 | 23 |