Skip to content

aioredis

asyncio (3156) Redis client library.

The library is intended to provide simple and clear interface to Redis based on asyncio.

Features

Feature Supported
hiredis parser ✅
Pure-python parser ✅
Low-level & High-level APIs ✅
Pipelining support ✅
Multi/Exec support ✅
Connections Pool ✅
Pub/Sub support ✅
Sentinel support ✅
ACL support ✅
Streams support ✅
Redis Cluster support 🚫
Tested Python versions 3.6, 3.7, 3.8, 3.9, 3.10
Tested for Redis servers 5.0, 6.0
Support for dev Redis server through low-level API

Installation

The easiest way to install aioredis is by using the package on PyPi:

pip install aioredis

Requirements

  • Python 3.6+
  • hiredis

Benchmarks

Benchmarks can be found here: https://github.com/popravich/python-redis-benchmark

Contribute

Feel free to file an issue or make pull request if you find any bugs or have some suggestions for library improvement.

License

The aioredis is offered under a MIT License.