async-lru: Asynchronous LRU Cache for asyncio

JSON →
library 2.3.0 ·python
verified Jun 9, 2026 install

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.

total hits 30
actors 6 distinct systems
last hit 1d ago GPTBot
ByteDance
5
GPTBot
4
MetaBot
4
Script
2
Sogou
1
Humans
10

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇩🇪 Germany