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 details)
File details
Details for the file cached-2020.12.3.tar.gz
.
File metadata
- Download URL: cached-2020.12.3.tar.gz
- Upload date:
- Size: 1.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcc7d9a5d07115da1b5d07bc7599ee9ab9c309bd3886fa3d5e83eae10815fbbf |
|
MD5 | c5db080dbeff970dab28e86813bd6ecd |
|
BLAKE2b-256 | 37f041e4eb4e8945de966bd1ee44a5a7bf83eef91a843e0e7778a4494956fe5b |