Package redis
[frames] | no frames]

Source Code for Package redis

 1  from redis.client import Redis, StrictRedis 
 2  from redis.connection import ( 
 3      ConnectionPool, 
 4      Connection, 
 5      UnixDomainSocketConnection 
 6  ) 
 7  from redis.utils import from_url 
 8  from redis.exceptions import ( 
 9      AuthenticationError, 
10      ConnectionError, 
11      DataError, 
12      InvalidResponse, 
13      PubSubError, 
14      RedisError, 
15      ResponseError, 
16      WatchError, 
17  ) 
18   
19   
20  __version__ = '2.6.2' 
21  VERSION = tuple(map(int, __version__.split('.'))) 
22   
23  __all__ = [ 
24      'Redis', 'StrictRedis', 'ConnectionPool', 
25      'Connection', 'UnixDomainSocketConnection', 
26      'RedisError', 'ConnectionError', 'ResponseError', 'AuthenticationError', 
27      'InvalidResponse', 'DataError', 'PubSubError', 'WatchError', 'from_url', 
28  ] 
29