What is the difference between aioredis v2.0 and redis-py asyncio?

Last updated 27, Apr 2024

Question

What is the difference between aioredis v2.0 and redis-py asyncio?

Answer

aioredis last release to 2.0.1 and dates back to December 2021. aioredis was merged into redis-py 4.2.0rc1+, so it is possible to get it with a standard installation of redis-py, like:

pip install redis>=4.2.0rc1

Find examples of using redis-py with asyncio support in this document.

References

Asyncio examples