Minimalistic Python asyncio Redis client library
hiredis support
pip install git+https://github.com/levsh/siderpy.git#egg=siderpy[hiredis]
or pure python
$ pip install git+https://github.com/levsh/siderpy.git
In [1]: import siderpy
In [2]: redis = siderpy.Redis('redis://localhost:6379')
In [3]: await redis.select(1)
Out[3]: b'OK'
In [4]: await redis.set('key', 'value')
Out[4]: b'OK'
In [5]: await redis.get('key')
Out[5]: b'value'
In [6]: await redis.close()
Benchmark test available at github workflow actions
step Benchmark
.