asyncache
Helpers to use cachetools with async code.
Decision gist · record as of 2026-08-14
Yes, if your codebase is stable on Python 3.8–3.10 and you need simple async caching without active maintenance. The package is small, well-scoped, and has no known vulnerabilities. No, if you require ongoing support, compatibility with future Python versions, or expect to file bugs—the maintainer is not active. Consider it a stable utility for existing projects, not a foundation for new ones.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8 or later; the package is not actively maintained.
- Low friction install with a single dependency on cachetools.
- However, the package is abandoned—last release was 1368 days ago with no recent maintenance activity, so it will not receive bug fixes or updates for newer Python versions beyond those already declared.
License · maintenance · safety
MIT (permissive) — MIT license is permissive and poses no restrictions on use, modification, or distribution in commercial or private projects.
last release 2022-11-15 (1368 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,328,978 downloads/mo, #4,049 on PyPI
Alternatives
Verify before relying
pip install asyncache
from asyncache import cached
from cachetools import TTLCache
@cached(TTLCache(1024, 60))
async def get_data(key):
# async operation here
return result- Whether the package remains compatible with Python versions released after 2022-11-15 despite declaring support for current versions.
- Whether asyncio semantics or cachetools API changes since last release affect real-world usage.
What it is and what it does
asyncache bridges cachetools and asyncio by providing a @cached decorator that works with async functions. It lets you apply caching strategies—TTL, LRU, and others from cachetools—to the results of coroutines, so repeated calls with the same arguments return cached values instead of re-running the async work.
The package is a thin wrapper around cachetools, adding asyncio compatibility. It is straightforward to use but has been abandoned since late 2022, meaning no active maintenance, no response to issues, and no updates for future Python versions. It works with Python 3.8, 3.9, 3.10, and declares support for current versions, but real-world compatibility with newer releases is unverified.
Use it for
- Cache results of database queries in async web applications to reduce repeated I/O.
- Memoize expensive async API calls with automatic expiration using TTL caching.
- Reduce load on external services by caching async HTTP responses with size or time limits.
- Speed up async data processing pipelines by avoiding redundant computations on repeated inputs.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if your codebase is stable on Python 3.8–3.10 and you need simple async caching without active maintenance.
The package is small, well-scoped, and has no known vulnerabilities. No, if you require ongoing support, compatibility with future Python versions, or expect to file bugs—the maintainer is not active. Consider it a stable utility for existing projects, not a foundation for new ones.
Install
asyncache on PyPI
Before you install
Low friction install with a single dependency on cachetools. However, the package is abandoned—last release was 1368 days ago with no recent maintenance activity, so it will not receive bug fixes or updates for newer Python versions beyond those already declared.
Requires Python 3.8 or later; the package is not actively maintained.
License in practice
MIT license is permissive and poses no restrictions on use, modification, or distribution in commercial or private projects.
Quickstart
pip install asyncache
from asyncache import cached
from cachetools import TTLCache
@cached(TTLCache(1024, 60))
async def get_data(key):
# async operation here
return result
Verify before relying
- Whether the package remains compatible with Python versions released after 2022-11-15 despite declaring support for current versions.
- Whether asyncio semantics or cachetools API changes since last release affect real-world usage.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.8,<4.0 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagecachetools |
| Maintenance | Abandoned 1,368 days since the last release |
| First released | |
| Downloads | 1,328,978 / month, #4,049 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: asyncache-0.3.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “async function caching”
- asyncacheProvides decorator-based caching for async functions using cachetools…
- onecacheOneCache provides LRU-based caching decorators for both synchronous…
- cachetools-asyncProvides async-aware memoization decorators for Python asyncio…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also cachetools-async · py-memoize · python-redis-cache · cachetools · vercel-cache · memoization · onecache · methodtools · cachettl · async-lru