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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.21 | 0.21 | 0.19 | 0.21 | 0.21 |
| FreeBSD:14:quarterly | 0.21 | 0.21 | n/a | 0.21 | 0.21 |
| FreeBSD:15:latest | 0.21 | 0.21 | n/a | 0.21 | 0.21 |
| FreeBSD:15:quarterly | 0.21 | 0.21 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.21 | 0.21 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools>=42: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
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
| File | Size | SHA256 |
|---|---|---|
| immutables-0.21.tar.gz | 89008 | b55ffaf0449790242feb4c56ab799ea7af92801a0a43f9e2f4f8af2ab24dfc4a |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.