summaryrefslogtreecommitdiff
path: root/redis/client.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Always clear the subscription status of the client after a disconnect. Fixes #46Andy McCurdy2011-03-141-0/+1
|
* add PubSubError to better report disallowed command when using pub/subDan Colish2011-03-141-5/+6
|
* Add exception message for DataError being thrown in hmsetDan Colish2011-03-141-1/+1
|
* Raise DataError on empty hmset mappings, remove InvalidDataDan Colish2011-03-141-2/+11
|
* Use itertools izip and islice to speed up pairs_to_dict and other zipsDan Colish2011-03-141-4/+6
|
* Merge branch 'andy'Dan Colish2011-03-141-3/+3
|\
| * Merge remote branch 'richid/multi_watch' into richidAndy McCurdy2011-03-141-3/+3
| |\
| | * Add support for multiple keys in a single WATCH callRich Schumacher2011-03-041-3/+3
| | |
* | | Remove ternary operator to support Python 2.4Dan Colish2011-03-141-1/+4
|/ /
* | Lock's now support timeouts that are floats. Fix for #113Andy McCurdy2011-03-141-4/+10
| |
* | the actual order of the zrevrangebyscore parameters were switched, too, ↵Andy McCurdy2011-03-141-6/+6
| | | | | | | | which was the root of this problem
* | Really compatible with the new info in redis 2.2 : ignore blank and comment ↵twidi2011-02-271-5/+6
| | | | | | | | lines
* | parameters for zrevrangebyscore are `max` then `min`, and not `min` then `max`twidi2011-02-271-1/+1
|/
* Merge remote branch 'bretthoerner/master' into bretthoernerAndy McCurdy2011-02-091-2/+2
|\
| * Fix info() for new Redis INFO format (backwards compatible).Brett Hoerner2011-01-241-2/+2
| |
* | stylistic modes + tests for zrevrangebyscoreAndy McCurdy2011-02-091-8/+12
| |
* | Merge remote branch 'jaybaird/master' into jaybairdAndy McCurdy2011-02-091-1/+22
|\ \
| * | add zrevrangebyscore method to the zdis clientJay Baird2011-01-141-1/+22
| |/
* | Integer replies may be of type longPieter Noordhuis2011-01-301-1/+1
| |
* | Move Connection and ConnectionPool to different filePieter Noordhuis2011-01-301-157/+2
| |
* | Move protocol parsing code to Connection classPieter Noordhuis2011-01-301-56/+55
|/
* 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
|
* 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
|
* 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-031-2/+14
|
* 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
|
* 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-151-2/+12
|
* 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
|