Comparison
frozendict vs immutabledict vs immutables
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A simple immutable dictionary
Maintained. Last release 5 weeks ago, commits in 12 of the last 26 weeks. Weaker on release cadence and contributor spread.
$
pip install frozendictImmutable wrapper around dictionaries (a fork of frozendict)
Maintained. Last release 10 months ago, commits in 20 of the last 26 weeks. Weaker on release cadence and contributor spread.
$
pip install immutabledictImmutable Collections
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install immutablesIn short
- immutables is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- immutabledict is the most used: 18M downloads a month.
- Maintenance is comparable: frozendict 69, immutabledict 69 on Pythie’s Index.
- Safe default for a new project: immutabledict.
Side by side
| Metric | frozendict | immutabledict | immutables |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 69 | 69 |