summaryrefslogtreecommitdiff
path: root/redis/client.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Add CLIENT GETNAME/SETNAME supportbitterb2013-01-161-0/+12
| | |
* | | Pipelines now have a __len__() method.Jon Parise2013-01-061-0/+3
| | | | | | | | | | | | | | | | | | The length of a pipeline is defined as the length of its command stack. This makes it easy to inspect the number of batched commands and to write conditional logic for empty pipelines.
* | | Merge pull request #301 from aouyar/masterAndy McCurdy2012-11-301-18/+26
|\ \ \ | | | | | | | | Implement support for passing an arg to INFO command
| * | | Fix parsing of floats in sub dicts in INFO cmd.Ali Onur Uyar2012-11-271-15/+12
| | | |
| * | | Leave handling of older versions for INFO cmd to the user.Ali Onur Uyar2012-11-271-12/+8
| | | |
| * | | Implement support for passing an arg to INFO command.Ali Onur Uyar2012-11-171-3/+18
| |/ /
* | | Fixed bug in bitcount with start or end param equal to 0Tim2012-11-251-2/+3
| | |
* | | Fixed bug in list_or_args() helper function in python3.xRoman Imankulov2012-11-211-3/+3
| | |
* | | always raise parse error exceptions in multi/exec pipelines as a result of thisandy2012-11-161-2/+9
|/ / | | | | | | server change: https://groups.google.com/forum/?hl=en&fromgroups=#!topic/redis-db/VUiEFT8U8U0
* | timedelta.total_seconds is only available in python 2.7+. Fixes #280andy2012-10-071-4/+5
| |
* | fix python3 testsandy2012-10-071-2/+2
| |
* | added CLIENT LIST/CLIENT KILL commandsandy2012-10-071-0/+20
| |
* | Merge branch 'master' of github.com:andymccurdy/redis-pyandy2012-10-071-0/+14
|\ \
| * \ Merge pull request #273 from uvNikita/masterAndy McCurdy2012-10-071-0/+14
| |\ \ | | | | | | | | Added INCRBYFLOAT and HINCRBYFLOAT commands
| | * | Implemented hincrbyfloat commandNikita Uvarov2012-08-211-1/+7
| | | |
| | * | Implemented incrbyfloat commandNikita Uvarov2012-08-211-0/+8
| | | |
* | | | PEXPIRE/PEXPIREAT/PTTL commandsandy2012-10-071-14/+26
|/ / /
* | | Merge pull request #282 from flupke/pexpireAndy McCurdy2012-10-071-0/+14
|\ \ \ | | | | | | | | Added PEXPIRE/PTTL support (redis 2.6.0)
| * | | added PEXPIRE/PTTL support (redis 2.6.0)Luper Rouch2012-09-121-0/+14
| | | |
* | | | Added optional `number` argument to srandmember. Fix for #286andy2012-10-071-3/+10
| | | |
* | | | python3 compatandy2012-10-071-2/+3
| | | |
* | | | pipelines now raise errors by default.andy2012-10-071-17/+37
|/ / / | | | | | | | | | | | | pass `raise_on_error=False` to `pipeline.execute()` if you prefer the old behavior.
* | | Script doesn't take keysandy2012-08-241-2/+2
| | |
* | | pass the script object, not the lua stringandy2012-08-231-1/+1
| | |
* | | implementing LUA scripting, still need tests.andy2012-08-231-7/+111
| | |
* | | clearer what's happeningandy2012-08-191-4/+4
|/ /
* | make sure tests pass on redis 2.4. merges #271andy2012-08-151-2/+4
| |
* | Added TIME response callbackJason Knight2012-08-151-0/+1
| |
* | Added TIME commandJason Knight2012-08-151-0/+5
| |
* | adding SkipTests for BITOP/BITCOUNT commands below redis 2.6, fixing logic ↵2.6.2andy2012-08-151-8/+11
| | | | | | | | to work with python3
* | Merge pull request #257 from not-napoleon/masterAndy McCurdy2012-08-151-3/+20
|\ \ | | | | | | Feature/Bitopt and Bitcount
| * | Added bitop command.Mark Tozzi2012-06-201-0/+3
| | |
| * | Support for bitcount (new in redis 2.6)Mark Tozzi2012-06-191-3/+17
| | |
* | | redis 2.4 occasionally returns null values in CONFIG GETandy2012-08-151-2/+3
| | |
* | | cleaned up tests to not use decode_responses=True. this was masking some ↵andy2012-08-151-10/+13
| | | | | | | | | | | | errors from the recent python3 port.
* | | Merge remote-tracking branch 'jparise/cls-from_url'andy2012-08-141-2/+31
|\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: redis/client.py redis/utils.py
| * | | Improved `from_url()` support.Jon Parise2012-07-061-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `from_url()` is now implemented as a classmethod. The previous implementation always returned instances of the `Redis` class. This new approach lets us construct StrictRedis instances (or any other class derived from StrictRedis, including Redis). `utils.from_url()` has been preserved for backwards compatibility. Also, both versions of `from_url()` now pass along any additional keyword arguments to the class's initializer.
* | | | Optimized code by caching certain bytestring literalsAlex Grönholm2012-08-071-4/+8
| | | |
* | | | Fixed PEP 8 violations introduced in previous commitsAlex Grönholm2012-08-071-2/+3
| | | |
* | | | Fixed Python 3.2+ compatibilityAlex Grönholm2012-08-071-14/+15
| | | |
* | | | Cleaned up code for PEP 8 complianceAlex Grönholm2012-08-061-36/+61
| | | |
* | | | Changed (p)subscribe and (p)unsubscribe to no longer return confirmation of ↵andy2012-07-171-3/+10
|/ / / | | | | | | | | | subscirption. These messages should be consumed in listen(). Fixes #254, #255, #233, #232, and #176. whew.
* | | expire() and setex() now accept timedelta objects.Jon Parise2012-06-261-5/+16
|/ / | | | | | | This mimics the datetime support provided by `expireat()`.
* | added GETRANGE supportJean-Philippe CARUANA2012-06-141-0/+7
| |
* | Merge pull request #250 from youngking/masterAndy McCurdy2012-06-101-1/+1
|\ \ | | | | | | score_cast_func doesn't work with desc condiction
| * | fix score_cast_func doesn't work with desc condictionYoung King2012-06-081-1/+1
| | |
* | | Merge remote-tracking branch 'encoding/2.4.11-fix' into encodingandy2012-06-101-3/+5
|\ \ \ | |/ / |/| | | | | | | | Conflicts: redis/connection.py
| * | Added unit tests for unicode handling in PythonParser and HiredisParserFrankie Dintino2012-02-081-2/+3
| | |
* | | Allow empty watches in Redis.transaction()Alexander Schepanovski2012-03-031-1/+2
| | |
* | | allow hmget to accept *args or a list of keysandy2012-02-111-17/+18
|/ /