summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | .Krishan Patel2018-10-281-0/+1
| | | | | | | | | |
| * | | | | | | | | .Krishan Patel2018-10-282-2/+11
| | | | | | | | | |
| * | | | | | | | | fix indentKrishan Patel2018-08-131-2/+2
| | | | | | | | | |
| * | | | | | | | | Added testKrishan Patel2018-08-132-2/+14
| | | | | | | | | |
| * | | | | | | | | Allow pings in PubSubKrishan Patel2018-08-131-0/+13
| | |_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to https://redis.io/topics/pubsub, “The commands that are allowed in the context of a subscribed client are SUBSCRIBE, PSUBSCRIBE, UNSUBSCRIBE, PUNSUBSCRIBE, PING and QUIT.” According to https://redis.io/commands/ping, “If the client is subscribed to a channel or a pattern, it will instead return a multi-bulk with a "pong" in the first position and an empty bulk in the second position, unless an argument is provided in which case it returns a copy of the argument.”
* | | | | | | | | Merge pull request #1061 from itamarhaber/memory_commandAndy McCurdy2018-11-122-0/+25
|\ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / |/| | | | | | | | Adds the memory_usage and memory_purge commands
| * | | | | | | | Adds the memory_usage and memory_purge commandsItamar Haber2018-11-092-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Itamar Haber <itamar@redislabs.com>
* | | | | | | | | Merge pull request #1063 from andymccurdy/noreadmesudoAndy McCurdy2018-11-121-2/+9
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | Removes `sudo` from README
| * | | | | | | | Cast from md to rstnoreadmesudoItamar Haber2018-11-121-3/+3
| | | | | | | | |
| * | | | | | | | Warns against `sudo pip` and refers to venvsItamar Haber2018-11-121-0/+7
| | | | | | | | |
| * | | | | | | | Removes `sudo` from READMEItamar Haber2018-11-121-2/+2
|/ / / / / / / /
* | | | | | | | Merge pull request #1058 from itamarhaber/flush-asyncAndy McCurdy2018-11-081-6/+22
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Adds `sync` flag to flushdb and flushall
| * | | | | | | | Renames sync to asynchronousItamar Haber2018-11-081-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Itamar Haber <itamar@redislabs.com>
| * | | | | | | | Adds `sync` flag to flushdb and flushallItamar Haber2018-11-081-6/+22
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Uses sync as async is a keyword. Defaults to Redis pre v4 behavior. Signed-off-by: Itamar Haber <itamar@redislabs.com>
* | | | | | | | Merge pull request #1056 from andymccurdy/bitfieldAndy McCurdy2018-11-083-0/+183
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | Bitfields
| * | | | | | | fix stupid linter warningbitfieldAndy McCurdy2018-11-071-4/+4
| | | | | | | |
| * | | | | | | added better overflow control and lifecycle mgmt to bitfieldsAndy McCurdy2018-11-072-32/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - bitfields now accept a `default_overflow` argument that sets the default overflow behavior for incrby operations - exposed an overflow() method that sets the overflow behavior for future incrby operations. this can be used in place of the overfly argument to incrby if someone prefers - clean up bitfield instance upon execution, resetting the overflow behavior back to the default provided and clearing the list of operations
| * | | | | | | confirm bitfield works with pipelinesAndy McCurdy2018-11-061-0/+17
| | | | | | | |
| * | | | | | | support for the bitfield command thanks to Charles LeiferAndy McCurdy2018-11-062-0/+119
|/ / / / / / /
* | | | | | | test python3.7 on travisAndy McCurdy2018-11-061-6/+16
| | | | | | |
* | | | | | | Merge branch 'pr/916' into drop26Andy McCurdy2018-11-0620-445/+373
|\ \ \ \ \ \ \
| * | | | | | | Unpin test dependenciesJon Dufresne2018-11-032-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that redis-py has removed support for EOL Pythons, can once again run tests using the latest version of pytest.
| * | | | | | | Pass python_requires argument to setuptoolsJon Dufresne2018-11-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Helps pip decide what version of the library to install. https://packaging.python.org/tutorials/distributing-packages/#python-requires > If your project only runs on certain Python versions, setting the > python_requires argument to the appropriate PEP 440 version specifier > string will prevent pip from installing the project on other Python > versions. https://setuptools.readthedocs.io/en/latest/setuptools.html#new-and-changed-setup-keywords > python_requires > > A string corresponding to a version specifier (as defined in PEP 440) > for the Python version, used to specify the Requires-Python defined in > PEP 345.
| * | | | | | | Remove support and testing for EOL Python 3.3Jon Dufresne2018-11-034-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Python 3.3 is EOL. It is no longer receiving bug fixes, including for security issues. It has been EOL since 2017-09-29. For additional details of the status of Python versions, see: https://devguide.python.org/#status-of-python-branches
| * | | | | | | Use timedelta.total_seconds(); available since Python 2.7Jon Dufresne2018-11-031-10/+7
| | | | | | | |
| * | | | | | | Use unicode literals throughout projectJon Dufresne2018-11-0311-372/+339
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove workaround for handling unicode with older Pythons.
| * | | | | | | Use io package for BytesIOJon Dufresne2018-11-032-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Available on all supported Python versions.
| * | | | | | | Remove Queue package workarounds for older unsupported PythonsJon Dufresne2018-11-031-24/+2
| | | | | | | |
| * | | | | | | Pass iterator to tuple() without coercing to a listJon Dufresne2018-11-031-2/+2
| | | | | | | |
| * | | | | | | Prefer dict comprehension over dict(<generator>)Jon Dufresne2018-11-032-5/+6
| | | | | | | |
| * | | | | | | Pass generators to dict() instead of coercing to a listJon Dufresne2018-11-032-7/+7
| | | | | | | |
| * | | | | | | Use set literals instead of set([...])Jon Dufresne2018-11-032-35/+35
| | | | | | | |
| * | | | | | | Remove explicit position numbers in format strings placeholdersJon Dufresne2018-11-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All Python versions can handled ordered placeholders.
| * | | | | | | Remove from __future__ import with_statementJon Dufresne2018-11-0310-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All supported Python versions support the with statement.
| * | | | | | | Remove support and testing for EOL Python 2.6Jon Dufresne2018-11-034-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Python 2.6 is EOL. It is no longer receiving bug fixes, including for security issues. It has been EOL since 2013-10-29. For additional details of the status of Python versions, see: https://devguide.python.org/#status-of-python-branches For discussions on why removing Python 2.6 benefits the entire community, please see: https://snarky.ca/stop-using-python-2-6/ http://www.curiousefficiency.org/posts/2015/04/stop-supporting-python26.html
* | | | | | | | add response callback for the UNLINK commandAndy McCurdy2018-11-061-5/+5
| | | | | | | |
* | | | | | | | Merge pull request #933 from yozel/masterAndy McCurdy2018-11-062-0/+19
|\ \ \ \ \ \ \ \ | |_|_|_|/ / / / |/| | | | | | | Add support for UNLINK command
| * | | | | | | Add support for UNLINK commandYasin Ozel2017-12-012-0/+19
| | |_|_|/ / / | |/| | | | |
* | | | | | | Merge pull request #1036 from itamarhaber/v5-client-subcommandsAndy McCurdy2018-11-052-0/+29
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Adds v5 new client subcommands
| * \ \ \ \ \ \ Merge branch 'master' into v5-client-subcommandsAndy McCurdy2018-11-0533-135/+1125
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge pull request #1 from RoeyPrat/unblockItamar Haber2018-11-042-12/+9
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove reason arg from client_unblock. Use boolean 'error' arg instead. xref: https://github.com/andymccurdy/redis-py/pull/1036#pullrequestreview-171346948
| | * | | | | | | | Remove reason arg from client_unblock. Use boolean 'error' arg instead.Roey Prat2018-11-042-12/+9
| |/ / / / / / / /
| * | | | | | | | Adds unblock reason supportItamar Haber2018-10-052-5/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Itamar Haber <itamar@redislabs.com>
| * | | | | | | | Adds CLIENT UNBLOCKItamar Haber2018-10-052-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Itamar Haber <itamar@redislabs.com>
| * | | | | | | | Adds support for CLIENT IDItamar Haber2018-10-052-0/+9
| | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Itamar Haber <itamar@redislabs.com>
* | | | | | | | wrap xgroup_create's MKSTREAM option in a Token.get_token()Andy McCurdy2018-11-051-1/+1
| |/ / / / / / |/| | | | | |
* | | | | | | Merge pull request #1052 from andymccurdy/error_defaultsAndy McCurdy2018-11-053-9/+51
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Fail gracefully with a default return value when 0 keys are are provided to a command expecting at least 1 key
| * | | | | | | rename empty_errow -> empty_response as the value is the actual responseerror_defaultsAndy McCurdy2018-11-051-7/+7
| | | | | | | |
| * | | | | | | add test for non-transaction pipelines as wellAndy McCurdy2018-11-041-2/+16
| | | | | | | |
| * | | | | | | hook for graceful command failure, even in pipelinesAndy McCurdy2018-11-043-9/+37
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | allow commands that expect 1 or more keys to fail gracefully when 0 keys are provided