FreeBSD Ports

devel/py-immutables 0.21

Immutable collections

Repository
FreeBSD ports
Maintainer
[email protected]
License
APACHE20, MIT
Categories
devel, python
Package size
45.8 KiB, 194.8 KiB installed

Description

An immutable mapping type for Python.

The underlying datastructure is a Hash Array Mapped Trie (HAMT) used in Clojure, Scala, Haskell, and other functional languages. This implementation is used in CPython 3.7 in the contextvars module (see PEP 550 and PEP 567 for more details).

Immutable mappings based on HAMT have O(log N) performance for both set() and get() operations, which is essentially O(1) for relatively small mappings.

Install

As a binary package — by origin, or by package name:

pkg install devel/py-immutables
pkg install py312-immutables

From the ports tree:

cd /usr/ports/devel/py-immutables/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-immutables>0:devel/py-immutables

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.210.210.190.210.21
FreeBSD:14:quarterly0.210.21n/a0.210.21
FreeBSD:15:latest0.210.21n/a0.210.21
FreeBSD:15:quarterly0.210.21n/an/an/a
FreeBSD:16:latest0.210.21n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

The full lists below include those, and their dependencies in turn.

All build dependencies 16
All run dependencies 7
Required by 1

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
immutables-0.21.tar.gz89008b55ffaf0449790242feb4c56ab799ea7af92801a0a43f9e2f4f8af2ab24dfc4a
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.