An elegant LRU TTL Cache decorator that also works with asyncio. It has the cache_info(), cache_clear() methods and access to the remainingttl property.
Like @functools.cache / @functools.lru_cache but with non-hashable objects
A fast Cache module written in Python