Skip to main content

Asyncio Redis client

Project description

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.

Project details


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

siderpy-0.7.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

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

Hashes for siderpy-0.7.0.tar.gz
Algorithm Hash digest
SHA256 08fac431da84d0a973d0a08c08d090f35eff1c3b72a4d511ad0e26c4f7fb68da
MD5 883ac51109ff0fd5fa8cb710c53b25b1
BLAKE2b-256 746c8406e0f0bb0e619f40cd40ac3da93fbe99622e30ca2841be9817cdfdefb4

See more details on using hashes here.

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

Hashes for siderpy-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 19a53183ee6416cd5b95b16624b4baa7628c25c5e756032a38b01574a8570b50
MD5 5a54137f2320940bcce86d9667c427fb
BLAKE2b-256 0f0cdbd3597c5239eac44f14488e1a12207fea9eedf08212f8a6d3aee2f7a8ed

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page