summaryrefslogtreecommitdiff
path: root/redis
Commit message (Collapse)AuthorAgeFilesLines
* split the client into two pieces -- the normal client with no logging, and a ↵loggingAndy McCurdy2011-01-103-63/+109
| | | | debug client with logging.
* Merge branch 'master' of https://github.com/wcmaier/redis-py into loggingAndy McCurdy2011-01-101-7/+47
|\
| * Guard all log statements with log_enabled().Will Maier2011-01-071-5/+11
| | | | | | | | | | | | Checking log.isEnabledFor() once avoids the often expensive repr_command() calls as well as calls to log.debug() itself. This is a especially large savings in _execute_{pipeline,transaction}().
| * shield logging with isEnabledFor.Will Maier2011-01-071-6/+8
| |
| * log connects/disconnectsWill Maier2011-01-061-0/+2
| |
| * log commands sent to the serverWill Maier2011-01-061-0/+7
| | | | | | | | add tests, too
| * encode commands at the last possible moment to make logging easier laterWill Maier2011-01-061-7/+11
| |
| * add repr_command(), a function to consistently represent commandsWill Maier2011-01-061-0/+8
| |
| * add logging boilerplateWill Maier2011-01-061-0/+11
| |
* | reverting download_url back to redis-VERSION.tar.gz to fix #94. This is ↵Andy McCurdy2011-01-071-1/+1
| | | | | | | | becoming the official 2.2.2 release.
* | Merge branch 'master' of https://github.com/guidog/redis-py into guidog-masterAndy McCurdy2010-12-311-1/+1
|\ \
| * | Fixed issue 89.guidog2010-12-231-1/+1
| | |
* | | fix for #91 and #92. errno import was being overwritten by the same local ↵Andy McCurdy2010-12-311-3/+3
|/ / | | | | | | variable name.
* | fixes #76 where ZREVRANK was using the wrong response callbackAndy McCurdy2010-12-211-2/+2
| |
* | updating setuptools to look for redis-py-VERSION.tar.gzAndy McCurdy2010-12-211-1/+1
|/
* version bumpAndy McCurdy2010-12-201-1/+1
|
* Client now compatible with 2.2.0 commands. (SLAVEOF, CONFIG GET, CONFIG SET, ↵Andy McCurdy2010-12-201-5/+76
| | | | GETBIT, SETBIT, BRPOPLPUSH, STRLEN, PERSIST, SETRANGE)
* better error handing during socket writing. fixes #83Andy McCurdy2010-11-181-1/+5
|
* socket_timeout works when connection initialization times out.Konstantin Merenkov2010-11-021-1/+1
|
* Adds the ability to get multiple external keys in a sort.Jacob Kaplan-Moss2010-10-201-2/+11
|
* adjusted comments to reflect proper error returnsAndy McCurdy2010-10-071-5/+7
|
* Add support for LPUSHX, RPUSHX, LINSERTJD Maturen2010-10-071-2/+19
|
* timeout of None to the brpop/blpop is the same as timeout=0Andy McCurdy2010-09-291-0/+4
|
* version bumpAndy McCurdy2010-09-031-1/+1
|
* Use the correct number of parameters for the UNWATCH command.Craig Hawco2010-09-031-2/+2
|
* Add UNWATCH as well.Craig Hawco2010-09-031-1/+10
|
* Add WATCH command to redis-pyCraig Hawco2010-09-032-8/+22
|
* slight optimization to hmset, mset, and msetnx for both clarity and speedAndy McCurdy2010-08-191-3/+6
|
* optimized execute_command thanks to github user SuorAndy McCurdy2010-08-181-7/+4
|
* added a shutdown command. fixes #58. no tests for this because it would be ↵Andy McCurdy2010-08-181-0/+11
| | | | impossible to restart the redis instance being tested against.
* functions that return sets should now work against older Redis server ↵Andy McCurdy2010-08-181-1/+1
| | | | versions that returned None rather than an empty list.
* New command: zcountKonstantin Merenkov2010-08-171-0/+3
|
* version bumpAndy McCurdy2010-06-281-1/+1
|
* Small change to pubsub, hopefully fixing #49, or at least making it a little ↵Andy McCurdy2010-06-241-2/+7
| | | | more sane
* changed return type of listen() -- it's now a dictionary with the following ↵Andy McCurdy2010-06-221-4/+14
| | | | keys: type -- the message type, data -- the actual message, channel -- the channel the message was delivered on. if the message was triggered due to a pattern matched from psubscribe, then a 4th key will be present: pattern, indicating the pattern that was matched.
* add psubscribe and punsubscribe to subscription commandstwidi2010-06-221-1/+1
|
* added context manager support to the Lock object so you can do "with ↵Andy McCurdy2010-06-151-16/+38
| | | | | | | redis.lock('lockname'): ..." allow "sleep" to be specified as an argument to the lock moved the timeout parameter to Lock's __init__ to better mimic threading.lock, and allow it to be used in conjunction with context manager support.
* configurable sleep durationAndy McCurdy2010-06-151-2/+5
|
* added a Lock class that mimics the behavior of threading.Lock.Andy McCurdy2010-06-151-0/+69
| | | | convenience function on the redis client to instantiate a new Lock object.
* added ZREMRANGEBYRANK commandAndy McCurdy2010-06-152-2/+14
|
* BLPOP / BRPOP return tuple instead of a list, as it makes more senseKonstantin Merenkov2010-06-021-0/+1
|
* blpop / brpop can accept string as keyKonstantin Merenkov2010-06-021-2/+8
|
* Added HSETNX command and testssebleier2010-06-021-0/+7
|
* renamed zinter/zunion to zinterstore/zunionstore to stay consistent with Redis.Andy McCurdy2010-05-231-2/+14
|
* added missing EXPIREAT and SETEX commandsAndy McCurdy2010-05-101-3/+20
| | | | added a few missing tests
* values with scores of 0 were previously failing due to the way the callback ↵Andy McCurdy2010-05-031-3/+14
| | | | converted values. changed to a separate function to get proper handling. fixes #33
* added support for zinter and zunionAndy McCurdy2010-04-281-0/+32
|
* added pubsub testsAndy McCurdy2010-04-271-2/+24
| | | | fixed a typo in hmset from the previous commit
* docs and param name consistency cleanupAndy McCurdy2010-04-271-3/+6
|
* added support for APPEND and SUBSTR commandsAndy McCurdy2010-04-191-0/+15
|