Skip to main content

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

https://img.shields.io/pypi/v/cacheproperty.svg https://img.shields.io/travis/mattHawthorn/cacheproperty.svg Documentation Status Updates

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.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cacheproperty-0.1.1.tar.gz (9.2 kB view details)

Uploaded Source

Built Distributions

cacheproperty-0.1.1-py2.py3-none-any.whl (5.3 kB view details)

Uploaded Python 2 Python 3

cacheproperty-0.1.1-py2.7.egg (5.6 kB view details)

Uploaded Source

File details

Details for the file cacheproperty-0.1.1.tar.gz.

File metadata

File hashes

Hashes for cacheproperty-0.1.1.tar.gz
Algorithm Hash digest
SHA256 af78b643e09f387e6305afcad1e2b07ac12eea15cab59d89c7119acdb05d8df0
MD5 ccaa09f1b630e0d23eb7d4c6defb2a85
BLAKE2b-256 4dd62dfe7453f3151458a2f011609d2d4571a8e38b3b3e1ae6b8215f12a96d48

See more details on using hashes here.

File details

Details for the file cacheproperty-0.1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for cacheproperty-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b1ef7276f1ed43292706c28ae8379471c3f2119dcac196769da9b48c5ac3539f
MD5 5e89c04bdde1c2122e87a20b9b5a42a9
BLAKE2b-256 474bd91006a544f1118ad8250c5937c5a81a4abd71d8d0d7ce0965e3847343a0

See more details on using hashes here.

File details

Details for the file cacheproperty-0.1.1-py2.7.egg.

File metadata

File hashes

Hashes for cacheproperty-0.1.1-py2.7.egg
Algorithm Hash digest
SHA256 52c5401792a7fa951bef99139ee5fccbb684549b54ab1186b7155c4142b1a683
MD5 5be8fe740b01974616daffb11f29d176
BLAKE2b-256 47d3e5be420f6234f7dae21ae539cba234b99cc1f4ff5417ba79b290ac17df03

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page