Comparison
frozendict vs immutables vs itypes vs pyrsistent
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 10 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 itypesPersistent/Functional/Immutable data structures
Low maintenance activity. Last release over 3 years ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install pyrsistentIn 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.
- pyrsistent is the most used: 20.8M downloads a month.
- frozendict is better maintained: Pythie’s Index 65 against 17.
Side by side
| Metric | frozendict | immutables | itypes | pyrsistent |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 65 | 25 |