Asyncio Redis client
Project description
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
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
siderpy-0.7.0.tar.gz
(15.7 kB
view details)
Built Distribution
File details
Details for the file siderpy-0.7.0.tar.gz
.
File metadata
- Download URL: siderpy-0.7.0.tar.gz
- Upload date:
- Size: 15.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08fac431da84d0a973d0a08c08d090f35eff1c3b72a4d511ad0e26c4f7fb68da |
|
MD5 | 883ac51109ff0fd5fa8cb710c53b25b1 |
|
BLAKE2b-256 | 746c8406e0f0bb0e619f40cd40ac3da93fbe99622e30ca2841be9817cdfdefb4 |
File details
Details for the file siderpy-0.7.0-py3-none-any.whl
.
File metadata
- Download URL: siderpy-0.7.0-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19a53183ee6416cd5b95b16624b4baa7628c25c5e756032a38b01574a8570b50 |
|
MD5 | 5a54137f2320940bcce86d9667c427fb |
|
BLAKE2b-256 | 0f0cdbd3597c5239eac44f14488e1a12207fea9eedf08212f8a6d3aee2f7a8ed |