Skip to main content

SiderPy

Minimalistic Python asyncio Redis client library

tests Documentation Status

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

siderpy.readthedocs.io

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)

Source distribution for siderpy 0.7.0
File Size Uploaded
siderpy-0.7.0.tar.gz 15.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for siderpy 0.7.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 release files

0.6.0

2 release files

0.5.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page