summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | | | Merge pull request #1051 from itamarhaber/swapdbAndy McCurdy2018-11-031-1/+5
|\ \ \ \ | |_|_|/ |/| | | Adds SWAPDB
| * | | Adds SWAPDBItamar Haber2018-11-031-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | No tests were added - consistent with basic operations such as FLUSHDB Signed-off-by: Itamar Haber <itamar@redislabs.com>
* | | | Merge pull request #964 from remeika/documents-strictredis-rediss-supportAndy McCurdy2018-11-021-4/+12
|\ \ \ \ | | | | | | | | | | Documents rediss:// support in StrictRedis.from_url
| * \ \ \ Merge branch 'master' into documents-strictredis-rediss-supportAndy McCurdy2018-11-0232-130/+1070
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | Merge pull request #985 from mmaslowskicc/from-url-max-connectionsAndy McCurdy2018-11-022-2/+4
|\ \ \ \ \ | | | | | | | | | | | | Fix parsing max_connections URL query string parameter
| * | | | | Fix parsing max_connections URL query string parameterMichał Masłowski2018-05-232-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously ConnectionPool.from_url kept it as a string, causing a 'ValueError: "max_connections" must be a positive integer'.
* | | | | | Merge pull request #990 from jstern/patch-1Andy McCurdy2018-11-021-1/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | fix description for srandmember bugfix
| * | | | | | fix description for srandmember bugfixJonathan Stern2018-06-021-1/+2
| | | | | | | | | | | | | | | | | | | | | Reading through the changelog I noticed that one of the items seemed to trail off mid-sentence. I assume this was meant to refer to https://github.com/andymccurdy/redis-py/issues/881 and https://github.com/andymccurdy/redis-py/pull/882