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 Distributions
Hashes for cacheproperty-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1ef7276f1ed43292706c28ae8379471c3f2119dcac196769da9b48c5ac3539f |
|
MD5 | 5e89c04bdde1c2122e87a20b9b5a42a9 |
|
BLAKE2b-256 | 474bd91006a544f1118ad8250c5937c5a81a4abd71d8d0d7ce0965e3847343a0 |