Comparison
attrdict vs dictobj vs jsonasobj2 vs prodict
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 dictobjJSON as python objects - version 2
Likely abandoned. No release or commit for years (last release over 5 years ago).
pip install jsonasobj2A dict with dot-accessible attributes, IDE auto-completion and type conversion driven by annotations.
Maintained. Last release 5 weeks ago, commits in 3 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install prodictIn short
- attrdict is archived: avoid it for new projects.
- dictobj looks abandoned: avoid it for new projects.
- jsonasobj2 looks abandoned: avoid it for new projects.
- prodict is the most used: 94.9K downloads a month.
- prodict also has the best Pythie’s Index (49).
Side by side
| Metric | attrdict | dictobj | jsonasobj2 | prodict |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 2 | 13 |