BSD Ports

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.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/py-immutabledict3.0.0 behind since 2026-08-22none known-[email protected]-
FreeBSDdevel/py-immutabledict4.3.1 newestnone known-[email protected]2026-08-22
OpenBSDdevel/py-immutabledict4.3.1 newestno data-Renaud Allard <[email protected]>-
NetBSDdevel/py-immutabledict4.3.1 newestnone known-[email protected]-
HardenedBSDdevel/py-immutabledict4.3.1 newestno data-[email protected]-
GhostBSDdevel/py-immutabledict4.3.1 newestno data-[email protected]-

Compare across BSDs

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.

Dependencies

Run dependencies 1