Conditional cache is a wrapper over functools.lru_cache that allows for conditionally caching based on the output of the function.
Project description
ConditionalCache
A wrapper over functools that allows to add conditions over the output to cache decorators
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file conditional-cache-1.0.1.tar.gz.
File metadata
- Download URL: conditional-cache-1.0.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23450b08c47ce71b25db4aeda95fd631d097b2709417e3b904cba3b23a9c4b5a
|
|
| MD5 |
11cc6d5dcfec8aaa6197a345450b39a5
|
|
| BLAKE2b-256 |
cdb9bd7fb30a6081dd3fd2d610c5eff757418580a33ae4b52ed5d759e2e62678
|
File details
Details for the file conditional_cache-1.0.1-py3-none-any.whl.
File metadata
- Download URL: conditional_cache-1.0.1-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b43b1f424f59c37ba4e4e267a54757e3d9b7c9b20d80180b150bba8dca42e46
|
|
| MD5 |
72ae2559a784bfabec82861d8757e103
|
|
| BLAKE2b-256 |
56cf6778588dff3318be751a4b2eae4a9541650c6fc5bcfe9333ec0ef2a67aee
|