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 hashes)

Uploaded Source

Built Distributions

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

Uploaded Python 2 Python 3

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

Uploaded Source

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