Package redis :: Module client
[frames] | no frames]

Module client

source code

Classes
  StrictRedis
Implementation of the Redis protocol.
  Redis
Provides backwards compatibility with older versions of redis-py that changed arguments to some commands to be more Pythonic, sane, or by accident.
  PubSub
PubSub provides publish, subscribe and listen support to Redis channels.
  BasePipeline
Pipelines provide a way to transmit multiple commands to the Redis server in one transmission.
  StrictPipeline
Pipeline for the StrictRedis class
  Pipeline
Pipeline for the Redis class
  Script
An executable LUA script object returned by ``register_script``
  LockError
Errors thrown from the Lock
  Lock
A shared, distributed Lock.
Functions
 
list_or_args(keys, args) source code
 
timestamp_to_datetime(response)
Converts a unix timestamp to a Python datetime object
source code
 
string_keys_to_dict(key_string, callback) source code
 
dict_merge(*dicts) source code
 
parse_debug_object(response)
Parse the results of Redis's DEBUG OBJECT command into a Python dict
source code
 
parse_object(response, infotype)
Parse the results of an OBJECT command
source code
 
parse_info(response)
Parse the result of Redis's INFO command into a Python dict
source code
 
pairs_to_dict(response)
Create a dict given a list of key/value pairs
source code
 
zset_score_pairs(response, **options)
If ``withscores`` is specified in the options, return the response as a list of (value, score) pairs
source code
 
int_or_none(response) source code
 
float_or_none(response) source code
 
parse_config(response, **options) source code
 
parse_script(response, **options) source code
Variables
  SYM_EMPTY = ''
  __package__ = 'redis'