devel/py-pyrsistent 0.20.0 NetBSD
Persistent/Functional/Immutable data structures
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- mit
- Categories
- devel, python
- Package size
- 108.0 KiB, 658.2 KiB installed
Description
Pyrsistent is a number of persistent collections (by some 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.
This will simplify the reasoning about what a program does since no hidden side effects ever can take place to these data structures. You can rest assured that the object you hold a reference to will remain the same throughout its lifetime and need not worry that somewhere five stack levels below you in the darkest corner of your application someone has decided to remove that element that you expected to be there.
Pyrsistent is influenced by persistent data structures such as those found in the standard library of Clojure. The data structures are designed to share common elements through path copying. It aims at taking these concepts and make them as pythonic as possible so that they can be easily integrated into any python program without hassle.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | devel/py-pyrsistent | 0.20.0 |
| FreeBSD | devel/py-pyrsistent | 0.18.1_1 |
| OpenBSD | devel/py-pyrsistent | 0.20.0p2 |
| DragonFly | devel/py-pyrsistent | 0.18.1_1 |
| MidnightBSD | devel/py-pyrsistent | 0.14.11_2 |
| HardenedBSD | devel/py-pyrsistent | 0.18.1_1 |
| GhostBSD | devel/py-pyrsistent | 0.18.1_1 |
Install
Binary package:
pkgin install py311-pyrsistent
From pkgsrc:
cd /usr/pkgsrc/devel/py-pyrsistent && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.20.0 |
| NetBSD 10.1 aarch64 | 0.20.0 |
| SmartOS / illumos x86_64 | 0.20.0 |
| macOS 15 arm64 | 0.20.0 |
Dependencies
Run dependencies 1
Configuration
No options to configure.
- Service scripts
- none
- Flavors
py312-pyrsistent-0.20.0,py313-pyrsistent-0.20.0,py314-pyrsistent-0.20.0