cached(function) - cache function
Project description
Installation
$ [sudo] pip install cached
Examples
@cached
decorator
>>> from cached import cached
>>> @cached
def func(*args, **kwags):
cached(function)
function
>>> from cached import cached
>>> def func(*args, **kwags):
...
>>> cached(func)()
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
cached-2020.12.3.tar.gz
(1.4 kB
view hashes)