Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | split the client into two pieces -- the normal client with no logging, and a ↵logging | Andy McCurdy | 2011-01-10 | 3 | -63/+109 |
| | | | | debug client with logging. | ||||
* | Merge branch 'master' of https://github.com/wcmaier/redis-py into logging | Andy McCurdy | 2011-01-10 | 1 | -7/+47 |
|\ | |||||
| * | Guard all log statements with log_enabled(). | Will Maier | 2011-01-07 | 1 | -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 Maier | 2011-01-07 | 1 | -6/+8 |
| | | |||||
| * | log connects/disconnects | Will Maier | 2011-01-06 | 1 | -0/+2 |
| | | |||||
| * | log commands sent to the server | Will Maier | 2011-01-06 | 1 | -0/+7 |
| | | | | | | | | add tests, too | ||||
| * | encode commands at the last possible moment to make logging easier later | Will Maier | 2011-01-06 | 1 | -7/+11 |
| | | |||||
| * | add repr_command(), a function to consistently represent commands | Will Maier | 2011-01-06 | 1 | -0/+8 |
| | | |||||
| * | add logging boilerplate | Will Maier | 2011-01-06 | 1 | -0/+11 |
| | | |||||
* | | reverting download_url back to redis-VERSION.tar.gz to fix #94. This is ↵ | Andy McCurdy | 2011-01-07 | 1 | -1/+1 |
| | | | | | | | | becoming the official 2.2.2 release. | ||||
* | | Merge branch 'master' of https://github.com/guidog/redis-py into guidog-master | Andy McCurdy | 2010-12-31 | 1 | -1/+1 |
|\ \ | |||||
| * | | Fixed issue 89. | guidog | 2010-12-23 | 1 | -1/+1 |
| | | | |||||
* | | | fix for #91 and #92. errno import was being overwritten by the same local ↵ | Andy McCurdy | 2010-12-31 | 1 | -3/+3 |
|/ / | | | | | | | variable name. | ||||
* | | fixes #76 where ZREVRANK was using the wrong response callback | Andy McCurdy | 2010-12-21 | 1 | -2/+2 |
| | | |||||
* | | updating setuptools to look for redis-py-VERSION.tar.gz | Andy McCurdy | 2010-12-21 | 1 | -1/+1 |
|/ | |||||
* | version bump | Andy McCurdy | 2010-12-20 | 1 | -1/+1 |
| | |||||
* | Client now compatible with 2.2.0 commands. (SLAVEOF, CONFIG GET, CONFIG SET, ↵ | Andy McCurdy | 2010-12-20 | 1 | -5/+76 |
| | | | | GETBIT, SETBIT, BRPOPLPUSH, STRLEN, PERSIST, SETRANGE) | ||||
* | better error handing during socket writing. fixes #83 | Andy McCurdy | 2010-11-18 | 1 | -1/+5 |
| | |||||
* | socket_timeout works when connection initialization times out. | Konstantin Merenkov | 2010-11-02 | 1 | -1/+1 |
| | |||||
* | Adds the ability to get multiple external keys in a sort. | Jacob Kaplan-Moss | 2010-10-20 | 1 | -2/+11 |
| | |||||
* | adjusted comments to reflect proper error returns | Andy McCurdy | 2010-10-07 | 1 | -5/+7 |
| | |||||
* | Add support for LPUSHX, RPUSHX, LINSERT | JD Maturen | 2010-10-07 | 1 | -2/+19 |
| | |||||
* | timeout of None to the brpop/blpop is the same as timeout=0 | Andy McCurdy | 2010-09-29 | 1 | -0/+4 |
| | |||||
* | version bump | Andy McCurdy | 2010-09-03 | 1 | -1/+1 |
| | |||||
* | Use the correct number of parameters for the UNWATCH command. | Craig Hawco | 2010-09-03 | 1 | -2/+2 |
| | |||||
* | Add UNWATCH as well. | Craig Hawco | 2010-09-03 | 1 | -1/+10 |
| | |||||
* | Add WATCH command to redis-py | Craig Hawco | 2010-09-03 | 2 | -8/+22 |
| | |||||
* | slight optimization to hmset, mset, and msetnx for both clarity and speed | Andy McCurdy | 2010-08-19 | 1 | -3/+6 |
| | |||||
* | optimized execute_command thanks to github user Suor | Andy McCurdy | 2010-08-18 | 1 | -7/+4 |
| | |||||
* | added a shutdown command. fixes #58. no tests for this because it would be ↵ | Andy McCurdy | 2010-08-18 | 1 | -0/+11 |
| | | | | impossible to restart the redis instance being tested against. | ||||
* | functions that return sets should now work against older Redis server ↵ | Andy McCurdy | 2010-08-18 | 1 | -1/+1 |
| | | | | versions that returned None rather than an empty list. | ||||
* | New command: zcount | Konstantin Merenkov | 2010-08-17 | 1 | -0/+3 |
| | |||||
* | version bump | Andy McCurdy | 2010-06-28 | 1 | -1/+1 |
| | |||||
* | Small change to pubsub, hopefully fixing #49, or at least making it a little ↵ | Andy McCurdy | 2010-06-24 | 1 | -2/+7 |
| | | | | more sane | ||||
* | changed return type of listen() -- it's now a dictionary with the following ↵ | Andy McCurdy | 2010-06-22 | 1 | -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 commands | twidi | 2010-06-22 | 1 | -1/+1 |
| | |||||
* | added context manager support to the Lock object so you can do "with ↵ | Andy McCurdy | 2010-06-15 | 1 | -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 duration | Andy McCurdy | 2010-06-15 | 1 | -2/+5 |
| | |||||
* | added a Lock class that mimics the behavior of threading.Lock. | Andy McCurdy | 2010-06-15 | 1 | -0/+69 |
| | | | | convenience function on the redis client to instantiate a new Lock object. | ||||
* | added ZREMRANGEBYRANK command | Andy McCurdy | 2010-06-15 | 2 | -2/+14 |
| | |||||
* | BLPOP / BRPOP return tuple instead of a list, as it makes more sense | Konstantin Merenkov | 2010-06-02 | 1 | -0/+1 |
| | |||||
* | blpop / brpop can accept string as key | Konstantin Merenkov | 2010-06-02 | 1 | -2/+8 |
| | |||||
* | Added HSETNX command and tests | sebleier | 2010-06-02 | 1 | -0/+7 |
| | |||||
* | renamed zinter/zunion to zinterstore/zunionstore to stay consistent with Redis. | Andy McCurdy | 2010-05-23 | 1 | -2/+14 |
| | |||||
* | added missing EXPIREAT and SETEX commands | Andy McCurdy | 2010-05-10 | 1 | -3/+20 |
| | | | | added a few missing tests | ||||
* | values with scores of 0 were previously failing due to the way the callback ↵ | Andy McCurdy | 2010-05-03 | 1 | -3/+14 |
| | | | | 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/+32 |
| | |||||
* | added pubsub tests | Andy McCurdy | 2010-04-27 | 1 | -2/+24 |
| | | | | fixed a typo in hmset from the previous commit | ||||
* | docs and param name consistency cleanup | Andy McCurdy | 2010-04-27 | 1 | -3/+6 |
| | |||||
* | added support for APPEND and SUBSTR commands | Andy McCurdy | 2010-04-19 | 1 | -0/+15 |
| |