devel/py-immutabledict 3.0.0 DragonFly
Immutable wrapper around dictionaries for Python3
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- MIT
- Categories
- devel, python
- Package size
- 6.1 KiB, 18.6 KiB installed
Description
A fork of the original frozendict, an immutable wrapper around dictionaries. This library is a pure Python, MIT-licensed alternative to the new LGPL-3.0 licensed frozendict.
It implements the complete mapping interface and can be used as a drop-in replacement for dictionaries where immutability is desired. The immutabledict constructor mimics dict, and all of the expected interfaces (iter, len, repr, hash, getitem) are provided. Note that an immutabledict does not guarantee the immutability of its values, so the utility of hash method is restricted by usage.
The only difference is that the copy() method of immutable takes variable keyword arguments, which will be present as key/value pairs in the new, immutable copy.
In the other systems
The newest version among them is 4.3.1, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/py-immutabledict | 3.0.0 behind since 2026-08-22 | none known | - | [email protected] | - |
| FreeBSD | devel/py-immutabledict | 4.3.1 newest | none known | - | [email protected] | 2026-08-22 |
| OpenBSD | devel/py-immutabledict | 4.3.1 newest | no data | - | Renaud Allard <[email protected]> | - |
| NetBSD | devel/py-immutabledict | 4.3.1 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/py-immutabledict | 4.3.1 newest | no data | - | [email protected] | - |
| GhostBSD | devel/py-immutabledict | 4.3.1 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install py311-immutabledict
From DPorts:
cd /usr/dports/devel/py-immutabledict && make install clean
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.