BSD Ports

devel/py-frozendict 2.4.6 DragonFly

Immutable dictionary implementation for Python

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, python
Package size
23.5 KiB, 120.4 KiB installed

Description

frozendict is an immutable wrapper around dictionaries that implements the complete mapping interface. It can be used as a drop-in replacement for dictionaries where immutability is desired.

Of course, this is python, and you can still poke around the object's internals if you want.

The frozendict constructor mimics dict, and all of the expected interfaces (iter, len, repr, hash, getitem) are provided. Note that a frozendict 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 frozendict 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 2.4.7, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/py-frozendict2.4.6none known-[email protected]-
FreeBSDdevel/py-frozendict2.4.7 newestnone known-[email protected]-
OpenBSDdevel/py-frozendict2.4.7p0 newestno data-The OpenBSD ports mailing-list <[email protected]>2026-08-11
NetBSDdevel/py-frozendict2.4.7 newestnone known-[email protected]-
HardenedBSDdevel/py-frozendict2.4.7 newestno data-[email protected]-
GhostBSDdevel/py-frozendict2.4.7 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install py311-frozendict

From DPorts:

cd /usr/dports/devel/py-frozendict && 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
Required by 1