Comparison
immutabledict vs immutables vs pyrsistent vs rpds-py
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Immutable wrapper around dictionaries (a fork of frozendict)
Maintained. Last release 10 months ago, commits in 19 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 immutablesPersistent/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 pyrsistentPython bindings to Rust's persistent data structures (rpds)
Actively maintained. Last release 8 weeks ago, commits in 23 of the last 26 weeks. A safe choice.
pip install rpds-pyIn short
- immutables is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- rpds-py is the most used: 703.4M downloads a month, 34× more than pyrsistent.
- Maintenance is comparable: rpds-py 77, immutabledict 69, pyrsistent 17 on Pythie’s Index.
- rpds-py is growing fastest: downloads +19% over the last month.
- Safe default for a new project: rpds-py.
Side by side
| Metric | immutabledict | immutables | pyrsistent | rpds-py |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 69 | 25 |