Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | add a debug_object command - so we can get a key's size (among other things) | Shaneal Manek | 2011-10-13 | 1 | -0/+9 | |
| | | ||||||
* | | added the ECHO command for completeness | andy | 2011-10-10 | 1 | -0/+3 | |
| | | ||||||
* | | TTL is StrictRedis returns -1 rather than None for keys with no expiration. ↵ | andy | 2011-10-10 | 1 | -0/+18 | |
|/ | | | | Redis remains unchanged. | |||||
* | Renamed the base client class to StrictRedis, replacing ZADD and LREM in ↵ | andy | 2011-07-26 | 1 | -17/+18 | |
| | | | | favor of their official argument order. The Redis class is now a subclass of StrictRedis, implementing the legacy redis-py implementations of ZADD and LREM. Docs have been updated to suggesting the use of StrictRedis. | |||||
* | remove obsolete server_commands test_(un)watch | Randall Leeds | 2011-07-11 | 1 | -30/+0 | |
| | ||||||
* | Merge remote-tracking branch 'andymccurdy/watch' into watch_fixes | Randall Leeds | 2011-07-11 | 1 | -2/+4 | |
|\ | | | | | | | | | | | Conflicts: redis/client.py tests/server_commands.py | |||||
| * | Merge branch 'master' into watch | andy | 2011-07-11 | 1 | -2/+4 | |
| |\ | | | | | | | | | | | | | Conflicts: CHANGES | |||||
| | * | Allow a custom callable to be passed to commands whose responses are parsed ↵ | Andy McCurdy | 2011-07-11 | 1 | -2/+4 | |
| | | | | | | | | | | | | with zset_score_pairs indicating how to cast the score value. Defaults to a float. Fix for #155 | |||||
| * | | WATCH and UNWATCH have been broken since 2.4 because of connection pooling. ↵ | Andy McCurdy | 2011-07-11 | 1 | -21/+0 | |
| |/ | | | | | | | This fix moves WATCH and UNWATCH to the Pipeline class, where they belong and tests to prove they work. | |||||
* | | test that pipeline() frees a watching client | Randall Leeds | 2011-07-07 | 1 | -0/+9 | |
|/ | ||||||
* | fix for PythonParser when reading empty strings | Andy McCurdy | 2011-06-10 | 1 | -0/+5 | |
| | ||||||
* | pipelines need the response_callback love, too. grammar fixes in docs | Andy McCurdy | 2011-06-01 | 1 | -1/+14 | |
| | ||||||
* | support ZADD variable length args. deprecate the version passing score and ↵ | Andy McCurdy | 2011-05-31 | 1 | -2/+2 | |
| | | | | value (in the wrong order). | |||||
* | test to prove allocation_stats from 2.2 INFO doesn't cause parse_info to ↵ | Andy McCurdy | 2011-05-25 | 1 | -0/+34 | |
| | | | | bomb anymore | |||||
* | new pubsub tests | Andy McCurdy | 2011-05-23 | 1 | -56/+0 | |
| | ||||||
* | all tests passing with new connection pool | Andy McCurdy | 2011-05-16 | 1 | -2/+1 | |
| | ||||||
* | connection class completely refactored. encoding and command packing moved ↵ | Andy McCurdy | 2011-05-12 | 1 | -53/+53 | |
| | | | | from client to connection. introduced concept of protocol parsers and implemented both a PythonParse and a hiredis parser. the parser class can be overridden in the __init__ of the connection if desired. | |||||
* | __getitem__ now raises a KeyError when a key doesn't exist | Andy McCurdy | 2011-04-26 | 1 | -3/+4 | |
| | ||||||
* | add PubSubError to better report disallowed command when using pub/sub | Dan Colish | 2011-03-14 | 1 | -0/+1 | |
| | ||||||
* | Raise DataError on empty hmset mappings, remove InvalidData | Dan Colish | 2011-03-14 | 1 | -1/+1 | |
| | ||||||
* | Add support for multiple keys in a single WATCH call | Rich Schumacher | 2011-03-04 | 1 | -2/+4 | |
| | ||||||
* | stylistic modes + tests for zrevrangebyscore | Andy McCurdy | 2011-02-09 | 1 | -0/+22 | |
| | ||||||
* | fixes #76 where ZREVRANK was using the wrong response callback | Andy McCurdy | 2010-12-21 | 1 | -0/+1 | |
| | ||||||
* | Client now compatible with 2.2.0 commands. (SLAVEOF, CONFIG GET, CONFIG SET, ↵ | Andy McCurdy | 2010-12-20 | 1 | -1/+50 | |
| | | | | GETBIT, SETBIT, BRPOPLPUSH, STRLEN, PERSIST, SETRANGE) | |||||
* | Adds the ability to get multiple external keys in a sort. | Jacob Kaplan-Moss | 2010-10-20 | 1 | -0/+8 | |
| | ||||||
* | tests for linsert, lpushx, and rpushx | Andy McCurdy | 2010-10-07 | 1 | -0/+42 | |
| | ||||||
* | Add some tests for WATCH | Craig Hawco | 2010-09-03 | 1 | -0/+19 | |
| | ||||||
* | New command: zcount | Konstantin Merenkov | 2010-08-17 | 1 | -0/+11 | |
| | ||||||
* | Small change to pubsub, hopefully fixing #49, or at least making it a little ↵ | Andy McCurdy | 2010-06-24 | 1 | -14/+21 | |
| | | | | more sane | |||||
* | changed return type of listen() -- it's now a dictionary with the following ↵ | Andy McCurdy | 2010-06-22 | 1 | -1/+3 | |
| | | | | 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. | |||||
* | added ZREMRANGEBYRANK command | Andy McCurdy | 2010-06-15 | 1 | -0/+13 | |
| | ||||||
* | BLPOP / BRPOP return tuple instead of a list, as it makes more sense | Konstantin Merenkov | 2010-06-02 | 1 | -10/+10 | |
| | ||||||
* | blpop / brpop can accept string as key | Konstantin Merenkov | 2010-06-02 | 1 | -0/+4 | |
| | ||||||
* | Added HSETNX command and tests | sebleier | 2010-06-02 | 1 | -2/+10 | |
| | ||||||
* | renamed zinter/zunion to zinterstore/zunionstore to stay consistent with Redis. | Andy McCurdy | 2010-05-23 | 1 | -8/+12 | |
| | ||||||
* | added missing EXPIREAT and SETEX commands | Andy McCurdy | 2010-05-10 | 1 | -12/+22 | |
| | | | | added a few missing tests | |||||
* | Fixed test_hincrby | Konstantin Merenkov | 2010-05-09 | 1 | -2/+1 | |
| | | | | | | * Catch exception RedisError on attempt to increment value "a3". Redis gives "-ERR Operation against a key holding the wrong kind of value" on such attempts. | |||||
* | values with scores of 0 were previously failing due to the way the callback ↵ | Andy McCurdy | 2010-05-03 | 1 | -2/+5 | |
| | | | | converted values. changed to a separate function to get proper handling. fixes #33 | |||||
* | added support for zinter and zunion | Andy McCurdy | 2010-04-28 | 1 | -0/+54 | |
| | ||||||
* | added pubsub tests | Andy McCurdy | 2010-04-27 | 1 | -1/+50 | |
| | | | | fixed a typo in hmset from the previous commit | |||||
* | added support for APPEND and SUBSTR commands | Andy McCurdy | 2010-04-19 | 1 | -0/+25 | |
| | ||||||
* | Always return a set object from set-based commands. Thanks Adam Charnock ↵ | Andy McCurdy | 2010-04-19 | 1 | -0/+2 | |
| | | | | for the bug report. | |||||
* | HGETALL returns empty dict instead of None when there's no key in redis | Konstantin Merenkov | 2010-04-17 | 1 | -1/+1 | |
| | ||||||
* | HMGET + tests | Konstantin Merenkov | 2010-04-17 | 1 | -0/+11 | |
| | ||||||
* | Updated tests to work with redis logic that [] means there's no key | Konstantin Merenkov | 2010-04-13 | 1 | -11/+11 | |
| | ||||||
* | HMSET support | Konstantin Merenkov | 2010-04-13 | 1 | -0/+7 | |
| | ||||||
* | Move towards binary-safeness of keys and values. | Konstantin Merenkov | 2010-04-01 | 1 | -94/+129 | |
| | | | | | | | | | * Dropped support of all protocols except multi-bulk the only protocol that yet to be released redis 2.0 is able understand * As a side-effect there is an 'execute_command' function exposed to the library user. As for now it is pretty useless :) * Added (only) two tests | |||||
* | * fix for #21, make only the "db" argument of select() required. If host ↵ | Andy McCurdy | 2010-03-26 | 1 | -1/+21 | |
| | | | | | | and port aren't specified, the host/port options on the existing connection are used. * added HINCRBY support | |||||
* | HEXISTS and HLEN implementations | Andy McCurdy | 2010-03-18 | 1 | -0/+27 | |
| | | | | added a socket_timeout parameter to allow commands to timeout and raise an error | |||||
* | fix for #18 -- i had copy/pasted some code from another function and forgot ↵ | Andy McCurdy | 2010-03-16 | 1 | -1/+1 | |
| | | | | to actually change it! thanks to Sam (SJD) for the bug report |