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.
No known vulnerabilities in the latest version
Based on latest version 1.0.4. If you're running an older version, check OSV for your specific version.
[](/packages/cachettl)
<a href="/packages/cachettl"><img src="/api/badges/cachettl?period=month" alt="PyPI Stats"></a>