cache-by-key is a lru based cache that allows you to cache by specific keyword argument from a decorated function.
Project description
cache-by-key
cache-by-key is a lru based cache that allows you to cache by specific keyword argument from a decorated function. On top of it, each keyword argument's cache can have at most 10 different LRU caches.
Installation
You can install via pip using command shown below.
pip install cache-by-key
Documentation
For full documentation, visit cache-by-key.readthedocs.io.
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
cache-by-key-0.0.2.tar.gz
(5.2 kB
view details)
Built Distribution
File details
Details for the file cache-by-key-0.0.2.tar.gz
.
File metadata
- Download URL: cache-by-key-0.0.2.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 738f0bde89de467d85325fd7189d91272d51186b58dcbfd2dc0c39438f6b5010 |
|
MD5 | 69a6bb300cb7794faa2f88ef6d8fcd89 |
|
BLAKE2b-256 | 3e3bf37beac193f1edcc31e775c6b6669b4290c8c75e10c57160b921d0b63bc4 |
File details
Details for the file cache_by_key-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: cache_by_key-0.0.2-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 502385016a20612d65ca09e74d387abc13d3a6a6f18a42ea987c3af13a36272a |
|
MD5 | 5fe89548093e2794e77aacb607e178e1 |
|
BLAKE2b-256 | 822a6bcdaff897557b768dc4e4fac733dfb3f2ecbc5ea57a806a6de3e68c8bb3 |