Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/redis/redis-py

Redis Python client
https://github.com/redis/redis-py

constant for redis 6 RC candidates in tests.

replace with a '6.0.0' literal when Redis 6 is GA

f2f470e192f3ddff66d79293c85e06e7e910316f authored almost 5 years ago
add keepttl option to set command.

fixes #1304
fixes #1280

b9544af2c8eb85fcbe11137e6b0797066e3d718f authored almost 5 years ago
Clear pipeline watch state after exec

9c8be70e12c501dd0682232e9a7b686ac5e70ec3 authored almost 5 years ago
Don't send DISCARD after ExecAbortError in pipeline

The `EXECABORT` error type was added in Redis 2.6.5 and is returned from an
`EXEC` command to in...

07fec7e18996b6b3b4f30ec9636b88c9b287ece5 authored almost 5 years ago
doc: fix changes of `hset`.(incorrect version) (#1297)

fix: https://github.com/andymccurdy/redis-py/issues/1296

81d76657385fc81548e5eaca4781c0e6b214ea16 authored almost 5 years ago
mark test_spop_multi_value as needing server 3.2.0 or greater

fixes #1298

81f9cbe1f0ea1d3d064fe77d9037a430120dc3cf authored almost 5 years ago
add support for the MEMORY STATS command

Fixes #1268

e57daf554d6a4a66373de6605d13fb7a185852e9 authored almost 5 years ago
Support memoryview encoding/decoding as a no-op

This allows memoryview instances to be passed to Redis command args that
expect strings or bytes...

3310fe415a4c3a6ec9a9fcaf9a9fa24808219429 authored almost 5 years ago
Optimize sleeping while blocking for a lock

When waiting to acquire a lock, the Lock object will sleep until
the lock is acquired or until b...

03260002ded57223c5d05b2c99a0a710ee5d34f3 authored almost 5 years ago
Add a documentation note about calling `pipe.multi()` prior to write commands

Fixes #1279

fc88507aef921450dd95ada7181f1c316e01ee8b authored almost 5 years ago
expand AUTH fallback support to pre-v6 Redis servers.

Ref #1274

b2989759d9c4c73d28251b7976d0823770323e0c authored almost 5 years ago
Stop hiding errors that occur inside __del__ methods

If an exception occurs inside the __del__ method, it should be reported
to the developer. Not do...

200e4dfc40ce0705ab6a3aca906e0a67884235e2 authored almost 5 years ago
Drop unused variables and imports (#1284)

c8de2342d55bdd0cbd450148878d2789d8b4a7cd authored almost 5 years ago
Enable warnings during tests and fix discovered cases (#1283)

Helps identify problematic or buggy code. When a warning is displayed,
it should be analyzed an...

7c023d24b3fb3f0610e960d7d177ec0694bd4004 authored almost 5 years ago
Improve Redis.hmset() warning message

It now describe what is deprecated and displays for the callers line by
using stacklevel=2.

The...

07e1c4b65d7f08486e7c7f39638abfedeccd6f39 authored almost 5 years ago
Make hset support multiple field/value pairs. (#1271)

* make `hset` command support multi field/value pairs.

see: https://redis.io/commands/hset

...

3d8d523bef4d77d712117ece76b2b08c47b432f5 authored about 5 years ago
3.4.1

4b7f562f8066f44b1123d5e2600d42daa9855ff2 authored about 5 years ago
remove Redis and ConnectionPool __eq__ comparison

After further thought this was a bad idea. Just because two connection
pools share the same conn...

1b050753d6ec6a6630c2cfd83c2cfbd741a3ced3 authored about 5 years ago
Move the username argument in the Redis and Connection classes to the end

This helps those poor souls that specify all their connection options as
non-keyword arguments.
...

5a1f3c448063b3e30d3283cd93ef50973abc3806 authored about 5 years ago
Provide AUTH fallback support for connection URLs with a username component

Prior to ACL support, redis-py ignored the username component of
Connection URLs. With ACL suppo...

e39ae455dfa259cdbb0c1cee2e4cb50c17ee22bf authored about 5 years ago
3.4.0

ab1c659aaac8a59c4e4055e1598920706192fa42 authored about 5 years ago
better thread-safety for ConnectionPool (#1270)

Better thread and fork safety for ConnectionPool and BlockingConnectionPool

4287963d1e51e0bd9b1b78d78981d67e2c0213db authored about 5 years ago
Fix spelling in docstring (#1272)

09a17eaca6b0972a6446e3132e8024099d271f24 authored about 5 years ago
add type filter to scan function

Fixed #1220

a77ad503edb6b511a1cc042607cc318185ea2782 authored about 5 years ago
Slight optimization to command packing.

Fixed #1255

272d3139e1c82c2d89551f87d12df7c18d938ea2 authored about 5 years ago
Add test for pipeline.transaction(value_from_callable=True)

9cbb48aaa31752f8d707af9b4ec8c90a48e7f8bb authored about 5 years ago
Added the 'ssl_check_hostname' option.

'ssl_check_hostname' tells SSL Connections to whether to require the TCP
hostname to match the h...

ff69f0d77284643909462ee6d1e37233c6677672 authored about 5 years ago
more accurate description of acceptable argument types

fixes #1214

a9ef0fe200507480ad721e6cc1520fef74f4d396 authored about 5 years ago
Allow setting client_name during connection construction.

Client instances and Connection pools now accept "client_name" as an optional
argument. If suppl...

dca7bd40a3a5d0c0853fe2befe706e214407697b authored about 5 years ago
'with' statement for PubSub (#765)

PubSub objects are now context managers.

a41465e17df3448656da45141b7b14de9d1434eb authored about 5 years ago
Testing the boolean nature of Pipeline instance should always return True.

Prior to this, pipeline instances used __len__() which returns the number
of queued commands on ...

8b76019c7d6b2eaa543e5dbf16c050cc6155efb1 authored about 5 years ago
Added support for ACL commands

8df8cd54d135380ad8b3b8807a67a3e6915b0b49 authored about 5 years ago
Drop support for end-of-life Python 3.4

Python 3.4 has been EOL since 2019-03-18.

Removing from the test matrix helps reduce testing re...

1671ef2fcca68854020d54078bee58224c2f3893 authored about 5 years ago
Fix simple typo: recurrsion -> recursion

Closes #1252

6d2cbe56ac3c3cf74b6338d90cd7d7e48e62e3e7 authored about 5 years ago
Compare numbers using '==' instead of 'is' (#1245)

While numbers are frequently singletons as an optimization, it is not
guaranteed by the languag...

656b551eb247c491976646092a71320407c0fa03 authored about 5 years ago
Remove deprecated license_file from setup.cfg (#1244)

Starting with wheel 0.32.0 (2018-09-29), the "license_file" option is
deprecated.

The wheel ...

5f17b0e48a476a3ec748a774aaeede9fa6bcacab authored about 5 years ago
Unify tox and Travis test matrix (#1243)

tox can now always be used as the test entry point and allows for
contributors to easily test t...

a7d4a6c1f19201dc196d4ba4636227c49d733cd1 authored about 5 years ago
Fix TypeError by passing optional decode_responses keyword argument d… (#1239)

* Fix TypeError by passing optional decode_responses keyword argument down to parse_slowlog_get()

375839679e5faf1cf8fda4ce822284dcb664b1b9 authored about 5 years ago
Add equality test on Redis client and conn pool (#1240)

Add equality test on Redis client and connection pool

74b044c3e729cbb6e65126e993b90902114f0293 authored about 5 years ago
Support Python 3.8 (#1241)

4ad003dcfe1af94df1b3fa6aa59cace98178078a authored about 5 years ago
Fix misplaced space (#1237)

Sorry, I'm a pendant.

29f4aa43aec50ae0e28df4d3fadfcb17cebe2a2f authored over 5 years ago
Allow Pipeline.execute() to execute on empty command stack if it is watching keys

c1415c296be56ec14fa29aaa2af04eb1c8278f77 authored over 5 years ago
Update README.rst

Fixed `README.rst's` `code-block` directive `lang` name typo.

fa0b0392c86126cae1a264197dddab647fa37821 authored over 5 years ago
Support old EPEL-7 Redis. (#1227)

Fix test suite with Redis versions pre-5.0.0

90532bd2c4d6d74110ab37d800653d7abafe2e0b authored over 5 years ago
Version 3.3.11

check exception.args rather than exception.message. exception.message
was deprecated prior to Py...

53772852558ae744c624c47d143e6e0506cd6aa3 authored over 5 years ago
Version 3.3.10

Fix SSL regression introduced in 3.3.9

The wrapper introduced to handle SSL timeout errors in P...

e1bc3854dbce670652563d28d84bba0f333e2575 authored over 5 years ago
Version 3.3.9

Fixes SSL read timeouts in Python 2.7

The ssl module in Python 2.7 raises timeouts as ssl.SSLEr...

a03c12e5869469aeaf4016d75a883a1fceb992fd authored over 5 years ago
spelling fixes (#1218)

29a5259f644da35baee25342dc097782527d854b authored over 5 years ago
version 3.3.8, fix MONITOR output to account for all types of clients

The client section of MONITOR output varies for TCP connections, unix socket
connections and com...

d811ae71dbdbeeb4fc0ee73a96b7fbdb1aec8522 authored over 5 years ago
version 3.3.7, Fixed a socket.error regression introduced in 3.3.0

Prior versions of 3.3.x could potentially raise a raw socket.error
(or one of its subclasses) in...

f0516c9f7589557883a5eb23a44531066e275950 authored over 5 years ago
version 3.3.6, fixed a regression in 3.3.5 with pubsub timeouts

Fixes #1200

038e5ee019ecaa29b073a89e61585d404579beff authored over 5 years ago
version 3.3.5, handle socket.timeout errors correctly in Python 2.7

Fix an issue where socket.timeout errors could be handled by the wrong
exception handler in Pyth...

a5ba696ed8aa3efbc709de4046a121a82a31392f authored over 5 years ago
version 3.3.4, more specifically identify nonblocking read errors

versions 3.3.1, 3.3.2 and 3.3.3 could potentially hide ConnectionErrors
on Python 2.7. This chan...

3afa016029d7e0a46fa1d76ac9c7463a02495e05 authored over 5 years ago
version 3.3.4, more specifically identify nonblocking read errors

versions 3.3.1, 3.3.2 and 3.3.3 could potentially hide ConnectionErrors
on Python 2.7. This chan...

885ce770856a1ee5ebc51d7c5390c88fb62bc93e authored over 5 years ago
fixed some misspellings in the changes file

6b6e394ccb7199cb5e0d2e8192dc904aa0a8b347 authored over 5 years ago
Version 3.3.3. Accomodate Python 2.7.x versions < 2.7.9.

The SSL module includes in Python versions < 2.7.9 does not include
the SSLWantReadError or SSLW...

f966b64f92b99f57dbcab1a870e022da03d81aa0 authored over 5 years ago
Make pubsub tests more resilient on laggy connections

Commands sent on pubsub connections (like subscribe, psusbscribe, etc.) do
not wait for the serv...

c1b99413d4c277c2b18a8ce3282d7aa9ecdd5ef3 authored over 5 years ago
use a multi-connection client for multiprocess tests

a99f389b130788724ed07b6e7534deb66fc4c52f authored over 5 years ago
Version 3.3.2, SSL Blocking Exceptions don't use errno.EWOULDBLOCK

Ref #1197

f30787856749ce577078e5de12b814ea01736999 authored over 5 years ago
version 3.3.1, fixed a regression involving SSL and non-blocking sockets

Fixes #1197

e897c174483275fcb333e02bf36353a6afee44b4 authored over 5 years ago
clearer language in docs

0de7c82028b81f025424df92620b31d6567e175e authored over 5 years ago
update readme with health_check_interval option

d9227fe40c572e75a9699e23c56e337a24d40cfb authored over 5 years ago
version 3.3.0

06b6113de1f19b9cd90a65600c1291e0dcc46a24 authored over 5 years ago
Pipelines shouldn't retry ConnectionErrors implicitly

9e4c1fffe6466d6246e5d2f15e49759f73880d18 authored over 5 years ago
Add an Event parameter to PubSubWorkerThread and run_in_thread so (#1195)

The PubSubWorkerThread now uses a `threading.Event` to control its life cycle.

6ce11f130d3bd7106e4879db70d77c5708d2898e authored over 5 years ago
PING/PONG health checks

The `Redis` class and the `ConnectionPool` class now support the
"health_check_interval=N" optio...

f60b2b07caba276b9308340b8ea06e5844f3f0ab authored over 5 years ago
Ability to create a client that uses a single connection

This has multiple uses:
* Single connection clients will not be considered threadsafe. This me...

0984b102264b2600a6534ad8fef6f4cab44b4ecc authored over 5 years ago
Fix typo in README and CHANGELOG (#1133)

6e23760fefbdf27ec941a2c3ae1ec2657875ac31 authored over 5 years ago
Updates README.rst with svg badge (#1182)

088c0ab359e6f52954c955a08356e32bb7687ae9 authored over 5 years ago
Handle removed claimed messages without an exception

Fixes #1191

5faed95b3b248d7d076298afd357a042cf916757 authored over 5 years ago
Use nonblocking sockets instead of selectors for healthy connections

This replaces the work in 3.2.0 to use nonblocking sockets instead of
selectors. Selectors prove...

acac4db0c064d2618d75f27a58384c97c16458fd authored over 5 years ago
Add READONLY and READWRITE commands

9ed2132af28652e964b6a4a20d387580d1081003 authored over 5 years ago
Code coverage in travis, and codecov.io badge. (#1180)

0be4d2920684345eb52115c7142c39d65356e7d4 authored over 5 years ago
Add redis_url cmdline argument for tests (#1170)

Users can now specify --redis-url when running the test suite to choose a specific server.

da2ffc7ea5e57daecfe19a65831296ccf5f8588e authored over 5 years ago
changelog

f0cf061c6bfff4ef2869a4a3a345be571f7192ca authored over 5 years ago
All authentication-related errors now raise AuthenticationError

AuthenticationError is now a subclass of ConnectionError, which means
the connection will be shu...

f3e428d43b400b993955f9b4213a0794a43e8d96 authored over 5 years ago
changelog

64cf721a63ca7a9a94c0d92d8206f8f1f6900afc authored over 5 years ago
Pass encoding_errors setting to hiredis (>=1.0.0) (#1162)

Pass encoding_errors setting to hiredis (>=1.0.0).

Fixes #1161

0eac02d209932742cfb0dfc667e5e9707bfedd46 authored over 5 years ago
changelog

b51bfd818ce36cc3ae8591b54c988fbb16eb336d authored over 5 years ago
case insensitive response callbacks.

this change allows users to call client.execute_command('info') or
client.execute_command('INFO'...

e5eaf56f0775f19594087aec9045e609414e20bf authored over 5 years ago
changelog

904d651c505a9a54cd41da33d9ebd20339c48ee7 authored over 5 years ago
remove Token class in favor of bytestring

The Token class was needed when supporting Python 2.6. Now that we've
dropped support for 2.6, w...

0f26aad99f55d2ead9936ac57a97693c0b501fcf authored over 5 years ago
cleanup MONITOR docs

b9f49c38f11965727d32f41e4a5b802f72fb60f6 authored over 5 years ago
fix py2 compat

4986b5541e804257bee108908c2184d8ec6dd79c authored over 5 years ago
add tests for encoding issues and fix bugs found

00adde79dd058ca7086bc41563fad145800b6b9b authored over 5 years ago
monitor command now has full command text. test suite improved

e6eff96a2da8ff187910747831de8785a191b5ab authored over 5 years ago
Merge branch 'master' into monitor

6b98c72ad9ca33befbe0e9d7f2d47623981ebed3 authored over 5 years ago
Merge pull request #1152 from aachurin/master

Fix for https://github.com/andymccurdy/redis-py/issues/1135

cdfe2befbe00db4a3c48c9ddd6d64dea15f6f0db authored almost 6 years ago
Merge branch 'pr/1033' into monitor

69be5294110fcf2d9cee24ca71705c639b43f643 authored almost 6 years ago
changelog

01300521a116893db4f4fab33c518ebbd3a801d5 authored almost 6 years ago
Fix PubSubWorkerThread race condition

Resolves a race condition found in the PubSubWorkerThread. Prior to this
change is was possible ...

29879bb670eacf95893f77ade61b1a2971e9064d authored almost 6 years ago
Merge pull request #1159 from Vic020/fix_connection_reading_socket_error

Connection Reading Socket Error Enhancement

99c589946f27a30f733768684e428744bdb018a8 authored almost 6 years ago
Merged the error process of "reading socket error" in two Parser class and added "host":"port"

to Exception message for easy debug

Change-Id: Ifaa3bef0c8daf3dd2c60b143746b75a26c182a88

5d3d41aece5a0989a1f2241f62a16ea664399cbe authored almost 6 years ago
Merge pull request #1156 from horizon365/master

miss positional argument in README example

2652c6bfd1a268ce4e042dad93694206c2dd788f authored almost 6 years ago
miss positional argument: 'message'

raise TypeError.

5780e619db0ccd63f4a8561f8e58c1d4ddb8daf0 authored almost 6 years ago
make sure the selector is instantiated prior to cleaning it up

c26e7c545f0b6205465394908ae18a248b79cc86 authored almost 6 years ago
Merge pull request #1153 from bmerry/unregister-ready-poller

Unregister socket from ready_poller

8697007c6352f2b27fe303c31418e948f217db38 authored almost 6 years ago
Close the selector on disconnect

a97c21d88f6ff463729c9344a93301b1644861c6 authored almost 6 years ago
Unregister socket from ready_poller

It looks like there was a typo in PollSelector.close that made it
unregister from the read_polle...

eab4f511eb1c077c4f3be67d1d5b2591a9ff1d53 authored almost 6 years ago
Update client.py

Fix for https://github.com/andymccurdy/redis-py/issues/1135

7fa64685d37e953502680f2c5e6f4fde297a351a authored almost 6 years ago