Skip to content
Sections
>> Trisquel >> Packages >> nabia >> python >> python3-pyrsistent
nabia  ] [  aramo  ]
[ Source: pyrsistent  ]

Package: python3-pyrsistent (0.15.5-1build1)

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.

Other Packages Related to python3-pyrsistent

  • depends
  • recommends
  • suggests
  • dep: libc6 (>= 2.14) [amd64]
    GNU C Library: Shared libraries
    also a virtual package provided by libc6-udeb
    dep: libc6 (>= 2.4) [armhf]
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
    dep: python3 (<< 3.9)
    dep: python3 (>= 3.8~)
  • dep: python3-six
    Python 2 and 3 compatibility library (Python 3 interface)

Download python3-pyrsistent

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 50.9 kB253 kB [list of files]
armhf 48.4 kB235 kB [list of files]