devel/py-cached-property 2.0.1p2 OpenBSD
decorator for caching properties in classes
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- Sebastien Marie <[email protected]>
- Last update
- Commit
3f059e808a- Categories
- devel, lang/python
Description
A decorator for caching properties in classes.
Why ?
- Makes caching of time or computational expensive properties quick and easy.
- Because I got tired of copy/pasting this code from non-web project to non-web project.
- I needed something really simple that worked in Python 2 and 3.
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | devel/py-cached-property | 2.0.1p2 |
| FreeBSD | devel/py-cached-property | 2.0.1 |
| NetBSD | devel/py-cached-property | 2.0.1nb1 |
| DragonFly | devel/py-cached-property | 1.5.2_1 |
| HardenedBSD | devel/py-cached-property | 2.0.1 |
| GhostBSD | devel/py-cached-property | 2.0.1 |
Install
Binary package:
pkg_add py3-cached-property
From the ports tree:
cd /usr/ports/devel/py-cached-property && make install
Dependencies
Build dependencies 5
Run dependencies 1
No port depends on this one.