Comparison
frozendict vs immutables vs itypes
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 Collections
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install immutablesSimple immutable types for python.
Archived. The repository is read-only: no more fixes or releases will come.
$
pip install itypesIn short
- immutables is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- itypes is archived: avoid it for new projects.
- frozendict is the most used: 15.6M downloads a month, 7.1× more than immutables.
- frozendict also has the best Pythie’s Index (69).
- Safe default for a new project: frozendict.
Side by side
| Metric | frozendict | immutables | itypes |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 69 | 25 |