13 lines
422 B
Markdown
13 lines
422 B
Markdown
# Async cache
|
|
|
|
An LRU and TTL cache for async functions in Python.
|
|
|
|
- `alru_cache` provides an LRU cache decorator with configurable size.
|
|
- `attl_cache` provides a TTL+LRU cache decorator with configurable size.
|
|
|
|
Neither cache proactively expires keys.
|
|
Maintenance occurs only when requesting keys out of the cache.
|
|
|
|
## License
|
|
|
|
Derived from https://github.com/iamsinghrajat/async-cache, published under the MIT license.
|