cachettl is 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.
[](/packages/cachettl)
<a href="/packages/cachettl"><img src="/api/badges/cachettl?period=month" alt="PyPI Stats"></a>