CMD + K

async-lru

Community

Simple lru_cache for asyncio

Installation

To install this package, run one of the following:

Conda
$conda install esri::async-lru

Usage Tracking

2.0.4
1 / 8 versions selected
Downloads (Last 6 months): 0

Description

This package is a port of Python's built-in functools.lru_cache function for asyncio. To better handle async behaviour, it also ensures multiple concurrent calls will only result in 1 call to the wrapped function, with all awaits receiving the result of that call when it completes.

About

Summary

Simple lru_cache for asyncio

Last Updated

Mar 11, 2024 at 22:46

License

MIT

Total Downloads

53.4K

Supported Platforms

noarch