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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cacheproperty-0.1.1.tar.gz.
File metadata
- Download URL: cacheproperty-0.1.1.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af78b643e09f387e6305afcad1e2b07ac12eea15cab59d89c7119acdb05d8df0
|
|
| MD5 |
ccaa09f1b630e0d23eb7d4c6defb2a85
|
|
| BLAKE2b-256 |
4dd62dfe7453f3151458a2f011609d2d4571a8e38b3b3e1ae6b8215f12a96d48
|
File details
Details for the file cacheproperty-0.1.1-py2.py3-none-any.whl.
File metadata
- Download URL: cacheproperty-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1ef7276f1ed43292706c28ae8379471c3f2119dcac196769da9b48c5ac3539f
|
|
| MD5 |
5e89c04bdde1c2122e87a20b9b5a42a9
|
|
| BLAKE2b-256 |
474bd91006a544f1118ad8250c5937c5a81a4abd71d8d0d7ce0965e3847343a0
|
File details
Details for the file cacheproperty-0.1.1-py2.7.egg.
File metadata
- Download URL: cacheproperty-0.1.1-py2.7.egg
- Upload date:
- Size: 5.6 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52c5401792a7fa951bef99139ee5fccbb684549b54ab1186b7155c4142b1a683
|
|
| MD5 |
5be8fe740b01974616daffb11f29d176
|
|
| BLAKE2b-256 |
47d3e5be420f6234f7dae21ae539cba234b99cc1f4ff5417ba79b290ac17df03
|