python3-pyrsistent

persistent/functional/immutable data structures for Python

Description

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.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/tobgu/pyrsistent/


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install python3-pyrsistent