[ 原始碼: pyrsistent ]
套件:python3-pyrsistent(0.18.1-1 以及其他的)
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.18.1-1+b3 | 58。6 kB | 250。0 kB | [檔案列表] |
arm64 | 0.18.1-1+b3 | 58。0 kB | 282。0 kB | [檔案列表] |
armel | 0.18.1-1+b3 | 56。1 kB | 236。0 kB | [檔案列表] |
armhf | 0.18.1-1+b3 | 56。2 kB | 232。0 kB | [檔案列表] |
i386 | 0.18.1-1+b3 | 59。0 kB | 244。0 kB | [檔案列表] |
mips64el | 0.18.1-1+b3 | 57。8 kB | 284。0 kB | [檔案列表] |
mipsel | 0.18.1-1+b3 | 57。6 kB | 282。0 kB | [檔案列表] |
ppc64el | 0.18.1-1+b3 | 60。1 kB | 282。0 kB | [檔案列表] |
s390x | 0.18.1-1+b3 | 57。5 kB | 246。0 kB | [檔案列表] |