A subclass of python's builtin property class that removes boilerplate by implementing the h_hidden_attribute pattern with a single decorator call. Also afacilitates invalidation of the cached hidden attribute with a @cacheproperty.invalidate decorator on any other methods or properties in a class.
Project description
cacheproperty
A subclass of python’s builtin property class that removes boilerplate by implementing the h_hidden_attribute pattern with a single decorator call. Also afacilitates invalidation of the cached hidden attribute with a @cacheproperty.invalidate decorator on any other methods or properties in a class.
Free software: GNU General Public License v3
Documentation: https://cacheproperty.readthedocs.io.
Features
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2018-02-16)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for cacheproperty-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05d7ccadabd3648091679611a54161a26fa77fcc8fce50f64bddde59175edc32 |
|
MD5 | 2be0d07e0aee9903ac4f5ead23a53994 |
|
BLAKE2b-256 | bd0e04bccabce3c716324a1ea4414fa4dd83795e9c3540d653d7928f154c2c4a |