immutabledict
Immutable wrapper around dictionaries (a fork of frozendict)
Install
immutabledict on PyPI
pip
pip install immutabledictuv
uv add immutabledictpoetry
poetry add immutabledictPackage facts
| License | MIT (permissive) |
| Python support | supports the current Python release (<4.0,>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 179 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: immutabledict-4.3.1-py3-none-any.whl
Keywords: immutable, dictionary
About immutabledict
from the package's own PyPI description — quoted content, verbatim
immutabledict
PyPI (image) Conda (image) PyPI - Python Version (image)
License (image) Build (image) Codecov (image) PyPI - Downloads (image)
An immutable wrapper around dictionaries. immutabledict implements the complete mapping interface and can be used as a drop-in replacement for dictionaries where immutability is desired.
It's a fork of slezica's frozendict. This library is a pure Python, MIT-licensed alternative to the new LGPL-3.0 licensed frozendict.
Installation
Official release in on pypi as immutabledict.
Community-maintained releases are available:
- On conda-forge as immutabledict
-...
Read as markdown · JSON record · Source repository · Homepage · Docs
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
immutabledict provides an immutable, hashable wrapper around dictionaries that implements the complete mapping interface, allowing it to serve as a drop-in replacement for dicts where immutability is required.
Installs cleanly with no runtime dependencies; the project is actively maintained with a recent release (179 days ago) and a stable codebase supporting Python 3.8–3.14.
MIT license permits unrestricted use, modification, and distribution in both open-source and commercial contexts with minimal obligations.
Usage
pip install immutabledict
from immutabledict import immutabledict
my_dict = immutabledict({"key": "value"})
print(my_dict["key"])
Requires Python 3.8 or later (supports up to 3.14).
Verdict: immutabledict is a lightweight, well-maintained MIT-licensed library with zero dependencies and no known vulnerabilities. It offers a pure-Python alternative to frozendict for applications needing immutable dictionary semantics across modern Python versions.
Needs verification
- Performance characteristics compared to dict or other immutable mapping implementations in typical use cases.
- Adoption rate and real-world usage patterns beyond the top-1000 PyPI tier classification.
Similar packages
permissive · top 1,000 on PyPI
rpds-pypermissive · top 100 on PyPI
arrowpermissive · top 1,000 on PyPI
pyphencopyleft · top 1,000 on PyPI
hyperlinkpermissive · top 1,000 on PyPI
multidictpermissive · top 100 on PyPI
frozenlistpermissive · top 100 on PyPI
bitarraypermissive · top 1,000 on PyPI
celerypermissive · top 1,000 on PyPI
toolzpermissive · top 1,000 on PyPI