skillfed

immutabledict

Immutable wrapper around dictionaries (a fork of frozendict)

immutabledict Permissive license MIT Active 54 v4.3.1 released

Install

immutabledict on PyPI

pip

pip install immutabledict

uv

uv add immutabledict

poetry

poetry add immutabledict

Package 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

Development Status :: 5 - Production/StableProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Libraries :: Python Modules

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.
immutable dictionaryfrozen dict pythonhashable dict wrapperread-only dictionaryimmutable mappingconstant dictionarydict immutability

Similar packages