propcache

The module provides accelerated versions of cached_property

Introduction

Usage

The API is designed to be nearly identical to the built-in cached_property class, except for the additional under_cached_property class which uses self._cache instead of self.__dict__ to store the cached values and prevents __set__ from being called.

API documentation

Open Reference for reading full list of available methods.

Source code

The project is hosted on GitHub

Please file an issue on the bug tracker if you have found a bug or have some suggestion in order to improve the library.

Discussion list

aio-libs google group: https://groups.google.com/forum/#!forum/aio-libs

Feel free to post your questions and ideas here.

Authors and License

The propcache package is derived from yarl which is written by Andrew Svetlov.

It’s Apache 2 licensed and freely available.

Contents:

Indices and tables