async-lru: Asynchronous LRU Cache for asyncio
JSON →async-lru is a simple LRU (Least Recently Used) cache implementation designed specifically for asynchronous Python functions within the asyncio ecosystem. It serves as a 100% port of Python's built-in `functools.lru_cache` for `async def` functions, ensuring that multiple concurrent calls to a cached coroutine result in only one execution of the wrapped function. The library is actively maintained, with regular releases addressing bug fixes, performance improvements, and new features, with the latest major version being 2.3.0.
Traffic · last 30 days ↓40% vs prev 7d
total hits 30
actors 6 distinct systems
last hit 1d ago GPTBot
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇩🇪 Germany
API endpoints
full doc /v1/registry/async-lru
install /v1/registry/async-lru/install
compatibility /v1/registry/async-lru/compatibility