[ 源代码: pyrsistent ]
软件包:python3-pyrsistent(0.20.0-2 以及其他的)
persistent/functional/immutable data structures for Python
Pyrsistent is a number of persistent collections (sometimes referred to as functional data structures). Persistent in the sense that they are immutable.
All methods on a data structure that would normally mutate it instead return a new copy of the structure containing the requested updates. The original structure is left untouched.
The collection types and key features currently implemented are:
* PVector, similar to a python list * PMap, similar to dict * PSet, similar to set * PRecord, a PMap on steroids with fixed fields, optional type and invariant checking and much more * PClass, a Python class fixed fields, optional type and invariant checking and much more * Checked collections, PVector, PMap and PSet with optional type and invariance checks and more * PBag, similar to collections.Counter * PList, a classic singly linked list * PDeque, similar to collections.deque * Immutable object type (immutable) built on the named tuple * freeze and thaw functions to convert between pythons standard collections and pyrsistent collections. * Flexible transformations of arbitrarily complex structures built from PMaps and PVectors.
其他与 python3-pyrsistent 有关的软件包
|
|
|
|
下载 python3-pyrsistent
硬件架构 | 版本 | 软件包大小 | 安装后大小 | 文件 |
---|---|---|---|---|
amd64 | 0.20.0-2+b1 | 61.6 kB | 257.0 kB | [文件列表] |
arm64 | 0.20.0-2+b1 | 61.1 kB | 289.0 kB | [文件列表] |
armel | 0.20.0-2+b1 | 59.0 kB | 287.0 kB | [文件列表] |
armhf | 0.20.0-2+b1 | 59.1 kB | 287.0 kB | [文件列表] |
i386 | 0.20.0-2+b1 | 62.0 kB | 255.0 kB | [文件列表] |
mips64el | 0.20.0-2+b1 | 60.7 kB | 291.0 kB | [文件列表] |
ppc64el | 0.20.0-2+b1 | 62.9 kB | 289.0 kB | [文件列表] |
riscv64 | 0.20.0-2+b1 | 61.4 kB | 253.0 kB | [文件列表] |
s390x | 0.20.0-2+b1 | 60.9 kB | 257.0 kB | [文件列表] |