SiderPy
Minimalistic Python asyncio Redis client library
Installation
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
Examples
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()
Documentation
Benchmark
Benchmark test available at github workflow actions
step Benchmark.
Release files for siderpy 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| siderpy-0.7.0.tar.gz | 15.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| siderpy-0.7.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.2 kB
Release files / siderpy-0.7.0.tar.gz
| Download URL | siderpy-0.7.0.tar.gz |
|---|---|
| Size | 15.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
08fac431da84d0a973d0a08c08d090f35eff1c3b72a4d511ad0e26c4f7fb68da
|
|
BLAKE2b-256 checksum How to use checksums |
746c8406e0f0bb0e619f40cd40ac3da93fbe99622e30ca2841be9817cdfdefb4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.6
|
Release files / siderpy-0.7.0-py3-none-any.whl
| Download URL | siderpy-0.7.0-py3-none-any.whl |
|---|---|
| Size | 9.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
19a53183ee6416cd5b95b16624b4baa7628c25c5e756032a38b01574a8570b50
|
|
BLAKE2b-256 checksum How to use checksums |
0f0cdbd3597c5239eac44f14488e1a12207fea9eedf08212f8a6d3aee2f7a8ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.6
|