summaryrefslogtreecommitdiff
path: root/redis/client.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | 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
|/ /
* | fix for #217 to make the INFO command parsing more tolerantandy2012-01-131-1/+3
| |
* | implemented the OBJECT command. Fix for #137andy2011-10-281-5/+16
| |
* | Fix spacing from DEBUG OBJECT pull request.andy2011-10-241-15/+18
| |
* | Merge branch 'master' of github.com:andymccurdy/redis-pyandy2011-10-211-0/+19
|\ \
| * \ Merge pull request #204 from smanek/masterAndy McCurdy2011-10-211-0/+19
| |\ \ | | | | | | | | Add support for DEBUG OBJECT command
| | * | add a debug_object command - so we can get a key's size (among other things)Shaneal Manek2011-10-131-0/+19
| | | |
* | | | keep command names alphabetizedandy2011-10-141-3/+3
|/ / /
* | | Added __del__ methods for classes that hold on to resources that need to be ↵andy2011-10-141-2/+23
|/ / | | | | | | cleaned up. This should prevent resource leakage when these objects leave scope due to misuse or unhandled exceptions.
* | added the ECHO command for completenessandy2011-10-101-0/+4
| |
* | manually reconnect the connection in the PubSub class. This avoids blowing ↵andy2011-10-101-0/+3
| | | | | | | | out the stack. Fixes #179 and #195.
* | TTL is StrictRedis returns -1 rather than None for keys with no expiration. ↵andy2011-10-101-1/+8
| | | | | | | | Redis remains unchanged.
* | Merge branch 'master' of github.com:andymccurdy/redis-pyandy2011-10-101-3/+3
|\ \ | |/
| * Merge pull request #175 from strongh/masterAndy McCurdy2011-10-061-3/+3
| |\ | | | | | | ZADD and SADD return integers
| | * SADD also returns intHomer Strong2011-08-031-2/+2
| | |
| | * ZADD returns int, instead of boolHomer Strong2011-08-031-3/+3
| | |
* | | anal syntax tweakandy2011-08-221-1/+1
|/ /
* | Remove documentation reference to timezones for Locks. As Unix time is used, ↵nicholasknight2011-08-151-2/+2
|/ | | | timezone should be irrelevant.
* StrictRedis gets it's own Pipeline class. Fix for #174.andy2011-08-021-4/+26
|
* Merge branch 'master' of github.com:andymccurdy/redis-pyandy2011-08-011-3/+1
|\
| * Fix zadd: 'tuple' object has no attribute 'reverse' (and args is a tuple)Raphaël Vinot2011-07-281-3/+1
| |
* | Updated setex in StrictRedis to be compliant with Redis's argument ↵andy2011-08-011-2/+9
|/ | | | signature. Older version to Redis subclass.