Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | * | | typo fix | Arctice | 2017-05-26 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | add an Encoder object responsible for encoding/decoding bytes and strings | Andy McCurdy | 2017-08-02 | 1 | -35/+21 | |
|/ / / | | | | | | | | | | this simplifies multiple places that needs to encode and decode values | |||||
* | | | propery encode the script before getting the sha1 value | Andy McCurdy | 2017-07-31 | 1 | -1/+9 | |
| | | | | | | | | | | | | | | | | | | it's possible a Lua script contains unicode characters. use the client's encoding options to obtain the byte representation of the script. | |||||
* | | | Merge branch 'pr/867' | Andy McCurdy | 2017-07-31 | 1 | -16/+8 | |
|\ \ \ | ||||||
| * | | | make register_scripts use the single string form of the SCRIPT (EXISTS|LOAD) ↵ | Ben Greenberg | 2017-06-16 | 1 | -6/+3 | |
| | | | | | | | | | | | | | | | | commands so that they will be parsed the same way as in script_load and script_exists | |||||
| * | | | Remove script_load_for_pipeline and directly add Script object to ↵ | Ben Greenberg | 2017-06-16 | 1 | -7/+3 | |
| | | | | | | | | | | | | | | | | BasePipeline.scripts | |||||
| * | | | encode the SHA1 digest so that it matches the return type of script_load in ↵ | Ben Greenberg | 2017-06-15 | 1 | -1/+4 | |
| | | | | | | | | | | | | | | | | Python 3 | |||||
| * | | | Encode script string before hashing. Remove the "if not script.sha" block ↵ | Ben Greenberg | 2017-06-15 | 1 | -8/+3 | |
| | | | | | | | | | | | | | | | | from script_load_for_pipeline because its condition will not be true, and because scripts are loaded during execute() | |||||
| * | | | Precalculate sha1 of the script on Script instantiation | Ben Greenberg | 2017-06-14 | 1 | -1/+2 | |
| |/ / | ||||||
* | | | added get_encoding() to ConnectionPool | Andy McCurdy | 2017-07-31 | 1 | -7/+4 | |
| | | | ||||||
* | | | Merge pull request #877 from twz915/patch-1 | Andy McCurdy | 2017-07-31 | 1 | -2/+2 | |
|\ \ \ | | | | | | | | | change the error order of geo point | |||||
| * | | | change the error order of position | WeizhongTu | 2017-07-17 | 1 | -2/+2 | |
| |/ / | | | | | | | | | | | | | `GEOADD` needs `lon`, `lat` in order, not the reverse `GEOPOS` returns `longitude`, `latitude` | |||||
* | | | Merge branch 'pr/879' | Andy McCurdy | 2017-07-31 | 1 | -3/+10 | |
|\ \ \ | ||||||
| * | | | pep8 | Andy McCurdy | 2017-07-31 | 1 | -1/+4 | |
| | | | | ||||||
| * | | | Implement HSTRLEN command | Aleksandr Putilin | 2017-07-21 | 1 | -3/+7 | |
| | | | | ||||||
* | | | | Merge pull request #871 from anisjonischkeit/add_touch_command | Andy McCurdy | 2017-07-31 | 1 | -0/+7 | |
|\ \ \ \ | | | | | | | | | | | added TOUCH command to StrictRedis | |||||
| * | | | | fixed line too long pep8 error | Anis Jonischkeit | 2017-06-21 | 1 | -1/+2 | |
| | | | | | ||||||
| * | | | | added touch to StrictRedis | Anis Jonischkeit | 2017-06-21 | 1 | -0/+6 | |
| | |/ / | |/| | | ||||||
* | | | | [bugfix] Fix srandmember(key, 0) returns 1 element bug | Alex Wang | 2017-07-24 | 1 | -1/+1 | |
| |/ / |/| | | ||||||
* | | | Fix #878 | Lorenzo | 2017-07-19 | 1 | -1/+1 | |
| | | | ||||||
* | | | Improve if statement throwing KeyError | Lorenzo | 2017-07-19 | 1 | -1/+1 | |
|/ / | | | | | At line 210, if WITHSCORES is not specified within `execute_command()`, this line used to throw a `KeyError` because the relative key in `options` is not present. Solution: this PR add a check on the key 'withscores' before the key is accessed. | |||||
* | | Merge pull request #848 from hqy/master | Andy McCurdy | 2017-05-08 | 1 | -2/+2 | |
|\ \ | | | | | | | fixed can't raise invalid expire time when set ex param is 0 | |||||
| * | | fix can't raise invalid expire time when set px param is 0 | huangqiyin | 2017-03-27 | 1 | -1/+1 | |
| | | | ||||||
| * | | fixed can't raise invalid expire time when set ex param is 0 | huangqiyin | 2017-03-27 | 1 | -1/+1 | |
| | | | ||||||
* | | | change order of lon-lat in geoadd help text | Abraham Toriz Cruz | 2017-04-29 | 1 | -1/+1 | |
|/ / | ||||||
* | | Add pattern support to PUBSUB CHANNELS | AngusP | 2017-02-04 | 1 | -2/+2 | |
| | | | | | | Should have been added in #819 | |||||
* | | Add PUBSUB docs to README | AngusP | 2017-01-24 | 1 | -1/+2 | |
| | | ||||||
* | | Clarified docstrings for pubsub_numsub and pubsub_channels | AngusP | 2017-01-24 | 1 | -2/+2 | |
| | | ||||||
* | | Implement PUBSUB * commands | AngusP | 2017-01-24 | 1 | -0/+23 | |
| | | | | | | | | | | PUBSUB CHANNELS, PUBSUB NUMSUB and PUBSUB NUMPAT are implemented as per https://redis.io/commands/pubsub and suggested in Issue #526. Implemented test class `TestPubSubPubSubSubcommands` to test added commands. Tested against python 3.4.2 and python 2.7.5 | |||||
* | | docs typo | Andy McCurdy | 2016-11-08 | 1 | -1/+1 | |
| | | ||||||
* | | Fixed typos in docs | Pramod Bisht | 2016-09-21 | 1 | -8/+8 | |
| | | ||||||
* | | Merge pull request #645 from cvrebert/redis-url | Andy McCurdy | 2016-09-06 | 1 | -1/+4 | |
|\ \ | | | | | | | Link to redis:// & rediss:// scheme IANA registrations in docs | |||||
| * | | Link to redis:// & rediss:// scheme IANA registrations in docs | Chris Rebert | 2015-08-13 | 1 | -1/+4 | |
| | | | ||||||
* | | | Fix transposition of GEORADIUS arguments | Alex DeBrie | 2016-07-10 | 1 | -2/+2 | |
| | | | ||||||
* | | | Merge pull request #698 from mumumu/add_replace_option_to_restore_command | Andy McCurdy | 2016-06-15 | 1 | -2/+5 | |
|\ \ \ | | | | | | | | | implemented REPLACE modifier of restore command | |||||
| * | | | - added replace option to restore command | Yoshinari Takaoka | 2015-12-28 | 1 | -2/+5 | |
| | | | | ||||||
* | | | | Merge pull request #747 from pfreixes/geo_commands | Andy McCurdy | 2016-06-14 | 1 | -3/+172 | |
|\ \ \ \ | | | | | | | | | | | Implemented support for the GEO commands for Redis 3.2.0 | |||||
| * | | | | Fixed issues regarding Python3 | pfreixes | 2016-06-14 | 1 | -4/+4 | |
| | | | | | ||||||
| * | | | | Geo Commands, return Python native types | Pau Freixes | 2016-06-14 | 1 | -4/+44 | |
| | | | | | ||||||
| * | | | | Implemented support for the GEO commands for Redis 3.2.0 | pfreixes | 2016-05-16 | 1 | -0/+129 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | The following commands have been implemented GEOADD, GEODIST, GEOHASH, GEOPOS, GEORADIUS, GEORADIUSBYMEMBER. | |||||
* | | | | | Merge pull request #751 from cjsimpson/token-cache | Andy McCurdy | 2016-06-14 | 1 | -26/+27 | |
|\ \ \ \ \ | | | | | | | | | | | | | Improve performance for Python 3.x | |||||
| * | | | | | Cache Token objects to improve performance. | Chris Simpson | 2016-06-12 | 1 | -26/+27 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Token class now contains a cache of tokens, and each token stores its encoded value. In Python 3 this prevents encoding the Token commands (get, set, incr, etc...) repeatly. There is also a smaller performance improvement by creating fewer objects. A very basic benchmark script was also added. | |||||
* | | | | | | pubsub: improve error reporting if caller forgets to subscribe | Greg Ward | 2016-06-12 | 1 | -0/+4 | |
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an easy mistake to make -- at least, I keep making it. It formerly resulted in a confusing crash, "AttributeError: 'NoneType' object has no attribute 'can_read'", from parse_response(). I have had to dig into the redis-py source code more than once to figure out what went wrong. With this patch, it still crashes, but with a clearer error that clarifies what the calling code forgot to do. Fixes issue #716. | |||||
* | | | | | Check `int` also not only `long` | Jeong YunWon | 2016-05-30 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | PyPy can generate an `int` instance here. | |||||
* | | | | | add daemon option to PubSubWorker so ctrl-c will work | Keith Ainsworth | 2016-05-17 | 1 | -3/+4 | |
|/ / / / | ||||||
* | | | | Merge pull request #685 from iandyh/master | Andy McCurdy | 2016-02-18 | 1 | -1/+49 | |
|\ \ \ \ | | | | | | | | | | | Redis cluster commands | |||||
| * | | | | redis cluster commands | iandyh | 2015-12-01 | 1 | -1/+49 | |
| |/ / / | ||||||
* | | | | Fix typo in comment. | Greg Ward | 2015-12-09 | 1 | -2/+2 | |
|/ / / | ||||||
* | | | fix getitem syntax for redis get when value is the empty string | Javier Candeira | 2015-11-25 | 1 | -1/+1 | |
| | | | ||||||
* | | | max_connections should default to None | Andy McCurdy | 2015-11-02 | 1 | -1/+1 | |
| | | |