A caching library for asynchronous Python applications (asyncio-based) that handles dogpiling properly and provides a configurable & extensible API. Current version 3.1.1. Release cadence is irregular.
pip install py-memoizeVerified import paths — ran on the pinned version, not inferred.
Basic usage: create a Memoizer with an in-memory cache and decorate an async function with ttl in seconds.
Use asyncio-based applications or pin version to <3.0.0.
Update any exception handling logic that relied on checking exception.args for chained exceptions.
Explicitly instantiate Memoizer with an ExpiringCache instance and configure ttl in the decorator.
Ensure the decorated function is defined with async def.
Migrate to asyncio-based usage.
No dependency data recorded yet.