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.
You can install via pip using command shown below.
pip install cache-by-key
For full documentation, visit cache-by-key.readthedocs.io.