Skip to main content

immutabledict

PyPI Conda PyPI - Python Version

License Build Codecov PyPI - Downloads

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:

Example

from immutabledict import immutabledict

my_item = immutabledict({"a": "value", "b": "other_value"})
print(my_item["a"]) # Print "value"

Differences with the old original frozendict package

  • Dropped support of EOL Python versions (older versions of the library may support older Python versions)
  • Fixed collections.Mapping deprecation warning
  • Typing
  • PEP 584 union operators
  • Keep the same signature for copy() as dict (starting with immutabledict 3.0.0), don't accept extra keyword arguments.
  • Added set, delete and discard methods

Donations

If you wish to support this library, donations are possible here.

Release files for immutabledict 4.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for immutabledict 4.3.1
File Size Uploaded
immutabledict-4.3.1.tar.gz 7.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for immutabledict 4.3.1
File Interpreter ABI Platform
immutabledict-4.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 12.8 kB

Release files / immutabledict-4.3.1.tar.gz

Download URL immutabledict-4.3.1.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f844a669106cfdc73f47b1a9da003782fb17dc955a54c80972e0d93d1c63c514
BLAKE2b-256 checksum
How to use checksums
1de6718471048fea0366c3e3d1df3acfd914ca66d571cdffcf6d37bbcd725708
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 15, 2026.

Transparency log

Release files / immutabledict-4.3.1-py3-none-any.whl

Download URL immutabledict-4.3.1-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c9facdc0ff30fdb8e35bd16532026cac472a549e182c94fa201b51b25e4bf7bf
BLAKE2b-256 checksum
How to use checksums
a3cef9018bf69ae91b273b6391a095e7c93fa5e1617f25b6ba81ad4b20c9df10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 15, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

4.3.1 This release

2 release files

4.3.0

2 release files

4.2.2

2 release files

4.2.1

2 release files

4.2.0

2 release files

4.1.0

2 release files

4.0.0

2 release files

3.0.0

2 release files

2.2.5

2 release files

2.2.4

2 release files

2.2.3

2 release files

2.2.2

2 release files

2.2.1

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.2.0

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page