aioredis
asyncio (PEP 3156) Redis support
Decision gist · record as of 2026-08-14
No—not for new projects. While the package is stable and has low install friction, it is archived and abandoned with no maintenance since February 2023. The redis-py library now offers native async support, which is actively maintained and should be the default choice. Use aioredis only if you are maintaining legacy code already depending on it, and plan a migration path.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a running Redis server (5.0 or 6.0 tested); hiredis is optional but recommended for performance.
- Low install friction with only two lightweight runtime dependencies (async-timeout and typing-extensions).
- However, the package is archived and abandoned as of February 2023, with no maintenance since then—a significant concern for production use.
License · maintenance · safety
MIT (permissive) — MIT license is permissive and poses no restrictions on commercial or private use, modification, or redistribution.
last release 2021-12-27 (1691 days) · last repo commit 2023-02-20 · 2,283 stars · archived
0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,076,321 downloads/mo, #3,312 on PyPI
Alternatives
Verify before relying
import asyncio
import aioredis
async def main():
redis = await aioredis.create_redis_pool('redis://localhost')
await redis.set('key', 'value')
val = await redis.get('key')
redis.close()
await redis.wait_closed()
asyncio.run(main())- Whether redis-py's async variant (redis[asyncio]) is now the recommended replacement for new projects.
- Current compatibility with Redis 7.0+ server versions beyond the tested 5.0 and 6.0.
- Whether the pure-python parser remains performant compared to hiredis on modern hardware.
What it is and what it does
aioredis is an asyncio-based Redis client for Python that lets you interact with Redis servers using async/await syntax. It provides both low-level protocol APIs and high-level command wrappers, supporting features like connection pooling, pipelining, transactions (Multi/Exec), Pub/Sub messaging, Sentinel failover, ACL authentication, and Redis Streams. The library can use either the hiredis C parser (optional, for performance) or a pure-Python parser.
The package was designed to integrate cleanly with asyncio applications, allowing non-blocking Redis operations. It has been tested against Redis 5.0 and 6.0 and supports Python 3.6 through 3.10. However, the repository is now archived and unmaintained—the last release was in December 2021 and the last commit in February 2023—making it unsuitable for new projects without careful consideration of long-term support implications.
Use it for
- Building async web applications (FastAPI, aiohttp) that need to cache data or manage sessions in Redis.
- Implementing real-time Pub/Sub messaging systems where multiple async tasks subscribe to and publish Redis channels.
- Running async background job queues or task workers that read from Redis Streams or lists.
- Connecting to Redis Sentinel clusters for automatic failover in high-availability deployments.
- Batching multiple Redis commands via pipelining to reduce network round-trips in async workflows.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No—not for new projects.
While the package is stable and has low install friction, it is archived and abandoned with no maintenance since February 2023. The redis-py library now offers native async support, which is actively maintained and should be the default choice. Use aioredis only if you are maintaining legacy code already depending on it, and plan a migration path.
Install
aioredis on PyPI
Before you install
Low install friction with only two lightweight runtime dependencies (async-timeout and typing-extensions). However, the package is archived and abandoned as of February 2023, with no maintenance since then—a significant concern for production use.
Requires a running Redis server (5.0 or 6.0 tested); hiredis is optional but recommended for performance.
License in practice
MIT license is permissive and poses no restrictions on commercial or private use, modification, or redistribution.
Quickstart
import asyncio
import aioredis
async def main():
redis = await aioredis.create_redis_pool('redis://localhost')
await redis.set('key', 'value')
val = await redis.get('key')
redis.close()
await redis.wait_closed()
asyncio.run(main())
Verify before relying
- Whether redis-py's async variant (redis[asyncio]) is now the recommended replacement for new projects.
- Current compatibility with Redis 7.0+ server versions beyond the tested 5.0 and 6.0.
- Whether the pure-python parser remains performant compared to hiredis on modern hardware.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesasync-timeouttyping-extensions |
| Maintenance | Abandoned 1,691 days since the last release |
| Last repo commit | repository archived |
| First released | |
| Downloads | 2,076,321 / month, #3,312 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: AsyncIOIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: POSIXProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software DevelopmentTopic :: Software Development :: Libraries |
Evidence: aioredis-2.0.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 › “asyncio redis client”
- aioredisAn asyncio-based Redis client library providing both low-level and…
- coredisAn async Redis client with full type hints, supporting cluster and…
- aioredlockImplements the Redlock distributed lock algorithm for 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 burner-redis · redis · hiredis · coredis · Redis-Sentinel-Url · valkey · redis-py-cluster · aioredlock · upstash-redis · ytsaurus-client