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

add a debug_object command - so we can get a key's size (among other things)

0904a88b6a306fb455fb9381142706ba22260b2e authored about 13 years ago by Shaneal Manek <[email protected]>
use response callbacks for sort() with tuples to work with pipelines

de03d47b9579d6bcda2903b59640a7a845c6274a authored about 13 years ago by Ionuț Arțăriși <[email protected]>
added the ECHO command for completeness

fb83cd05246a6c0ad297baa3d6571a97ecb86199 authored about 13 years ago by andy <[email protected]>
manually reconnect the connection in the PubSub class. This avoids blowing out the stack. Fixes #179 and #195.

32256bb220923d45235f8dd6a4c0dfc1ff0a65f9 authored about 13 years ago by andy <[email protected]>
changelog

e4fbca56efa93ae0a80eb4a861f5e62a6fc2f133 authored about 13 years ago by andy <[email protected]>
TTL is StrictRedis returns -1 rather than None for keys with no expiration. Redis remains unchanged.

12934aedfc064e141f91fd4e6f504e17fec41169 authored about 13 years ago by andy <[email protected]>
Note about thread safety and piplines regarding #198

ecc303c54e5492380e1c18d5c76faa4cf818422b authored about 13 years ago by andy <[email protected]>
Merge branch 'master' of github.com:andymccurdy/redis-py

18a79c02bfbbbc320e180ac22b366da2d3a84e3e authored about 13 years ago by andy <[email protected]>
add an optional argument to sort to make it return tuples

586ce1861fd9c0d0be8ebaf376f004916614c08e authored about 13 years ago by Ionuț Arțăriși <[email protected]>
Merge pull request #175 from strongh/master

ZADD and SADD return integers

45932cdfd3aedc703704d63db7ee7fc04aaf132f authored about 13 years ago by Andy McCurdy <[email protected]>
Merge pull request #187 from ovidiucp/master

Fix problem with hiredis on disconnect()

71f3acac70b8c966252d94fa1f102e2045d1b294 authored over 13 years ago by Andy McCurdy <[email protected]>
Raise ConnectionError if the reader has been closed under us. This

happens if someone calls the disconnect method. This matches the same
behavior as in PythonParser.

cd917ff68d369b617c8b6dcd268add51be0df859 authored over 13 years ago by Ovidiu Predescu <[email protected]>
anal syntax tweak

1dee2a3774738236746936dcd9b03787f4d47a57 authored over 13 years ago by andy <[email protected]>
Merge pull request #181 from nicholasknight/master

Tiny documentation fixes.

1736a9c94984879eddcccfb046968e36ab5f86f6 authored over 13 years ago by Andy McCurdy <[email protected]>
The pipeline object comes off of the existing Redis instance, not the redis module.

628d65d5f3816bb9a228e2fea32418e97164394a authored over 13 years ago by nicholasknight <[email protected]>
Remove documentation reference to timezones for Locks. As Unix time is used, timezone should be irrelevant.

d35efb778c0d6864fe8a1647667894c255f99120 authored over 13 years ago by nicholasknight <[email protected]>
added a note about SETEX in the Redis class

d5fdb5fd9de30fec54a7e82c56b086fa533e0779 authored over 13 years ago by andy <[email protected]>
SADD also returns int

d30ef6f73a9df3fd0dee5ad3a5f7a25c6a8091b5 authored over 13 years ago by Homer Strong <[email protected]>
ZADD returns int, instead of bool

abbb3219aeba0ef977264575870fc69f32aa90df authored over 13 years ago by Homer Strong <[email protected]>
StrictRedis gets it's own Pipeline class. Fix for #174.

4dc130c8d6fd58e4bfa0107f0451003b50d29118 authored over 13 years ago by andy <[email protected]>
Merge branch 'master' of github.com:andymccurdy/redis-py

2b9a413fc9b8b644aeeb7599b2f579b01a09589b authored over 13 years ago by andy <[email protected]>
Updated setex in StrictRedis to be compliant with Redis's argument signature. Older version to Redis subclass.

e2b66fdf209eb751c161eb06cc05683518df763f authored over 13 years ago by andy <[email protected]>
Merge pull request #172 from adamv/patch-1

Fix typo in README

d80d3d241bf9fb6fa4201040352a450d55491fe8 authored over 13 years ago by Andy McCurdy <[email protected]>
Fix typo in README

2712e560bda3cc99ab6e92d6093270e086962ea7 authored over 13 years ago by Adam Vandenberg <[email protected]>
Merge pull request #169 from WoLpH/patch-1

Fixed "Connetion" typo

e6295a3a877ee05b66752ade1c7b55e1cd901a8e authored over 13 years ago by Andy McCurdy <[email protected]>
Merge pull request #171 from Rafiot/fix_zadd

Fix zadd: 'tuple' object has no attribute 'reverse' (and args is a tuple)

40fa68096a202b1967995bda8ef7ed246cb0c44d authored over 13 years ago by Andy McCurdy <[email protected]>
Fix zadd: 'tuple' object has no attribute 'reverse' (and args is a tuple)

74f15cd085bbe6976d4ea9cfdc9b32bf77a45c6a authored over 13 years ago by Raphaël Vinot <[email protected]>
Fixed "Connetion" typo

7315f9f67a792ba74dd0e8d719e6f573b12dc775 authored over 13 years ago by WoLpH <[email protected]>
changelog update

3265af8d67299c0d7e91ea657a872e4de1693922 authored over 13 years ago by andy <[email protected]>
Renamed the base client class to StrictRedis, replacing ZADD and LREM in favor of their official argument order. The Redis class is now a subclass of StrictRedis, implementing the legacy redis-py implementations of ZADD and LREM. Docs have been updated to suggesting the use of StrictRedis.

7095c03cdbb9986b13e373e398b2509bea8c38bc authored over 13 years ago by andy <[email protected]>
2.4.9

e74ebdff99d654bbfa17116c8e8d784374211afc authored over 13 years ago by andy <[email protected]>
Ensure connections get disconnected if there's a protocol error

79d22358410936358c71c88abbdb2a26e3cedc28 authored over 13 years ago by andy <[email protected]>
Removed socket retry logic in Connection. This is the responsbility of the caller to determine if the command is safe and can be retried.

dbd2217746eeb81950e91c556bb393e95aca5582 authored over 13 years ago by andy <[email protected]>
2.4.8

907555c786a108a97643b9ceb35cabda6119e01f authored over 13 years ago by andy <[email protected]>
added __future__ import to be 2.5 compat.

6dc7c2139f8c8f7c762d8dbd38a80f2accca5c8f authored over 13 years ago by andy <[email protected]>
docs

25888c81d28ef7eff2d74dab5f26030087027a2d authored over 13 years ago by andy <[email protected]>
version bump for 2.4.7

a55f64596bfc4506d73316086d8959b55adc625d authored over 13 years ago by andy <[email protected]>
Added a `transaction` convenience method that eliminates boilerplate when

using pipelines while WATCHing variables.

4c750ee8b7385ca19a82d15c8d5597f84cbf7961 authored over 13 years ago by andy <[email protected]>
Pipelines can now be used as Context Managers. Thanks David Wolever. Fixes #160

2e185683e310513d4efdcf9ec212115383f03aff authored over 13 years ago by andy <[email protected]>
Merge remote-tracking branch 'wolever/pipeline-context-manager'

2d428eca210154d07ab4260fdb1cccf14954295e authored over 13 years ago by andy <[email protected]>
Fix for #161. Make sure we release the connection back to the pool after

execute is called in a pipeline.

c9daf07bb67696263118a17b0359fafa7ac27c53 authored over 13 years ago by andy <[email protected]>
Whoops, forgot `break`.

deffb957bbd3b5f83eecfd025989f8086934cd30 authored over 13 years ago by David Wolever <[email protected]>
Docs for proposed Pipeline context manager.

36ba087777a3570adfbf6390adbe224ef898f9d1 authored over 13 years ago by David Wolever <[email protected]>
typo in changelog

0697b79b91196a826d05e346b3436fe7ff2cf929 authored over 13 years ago by andy <[email protected]>
Fixing example to include `finally: pipe.reset()`

1292ca9e29d2c1343fa713d67cbdb7d3378e9dc3 authored over 13 years ago by David Wolever <[email protected]>
cosmetic changes

498e820c684a6b3897e5acee5fe393e9cbfa6480 authored over 13 years ago by andy <[email protected]>
credit to Randall Leeds and David Wolever

1f17b7538e490a5b5b19ee65e75b2f550e21a919 authored over 13 years ago by andy <[email protected]>
version bump to 2.4.6

89da5539210a0309bd0b7ed3d805ca6ab4a28fb2 authored over 13 years ago by andy <[email protected]>
documentation about pipelines

9a182c7ad3fd2056120320866e8ffd42155e7b67 authored over 13 years ago by andy <[email protected]>
Attempt our best to retry pipeline connection failures where they make sense.

5c68cabecba2a2c2c02a7689def0f5cb9a11e6af authored over 13 years ago by andy <[email protected]>
nitpicky cleanup

3b40192740b94f1e5a6bf45ecae30cf6a8cb9f07 authored over 13 years ago by andy <[email protected]>
Revert "Don't mask ConnectionError in Pipeline.execute()"

This reverts commit 9e918fdb481aef700561592121322a3a82072f72.

80a8b8e9ec010a262673620c70b2b09464bc0b12 authored over 13 years ago by Randall Leeds <[email protected]>
only change self.watching when commands succeed

a7e7efe7550abe8c04a8c6bb25063e24aae97ca3 authored over 13 years ago by Randall Leeds <[email protected]>
remove obsolete server_commands test_(un)watch

a913d839b21295fc50fd6692416979aa607bb604 authored over 13 years ago by Randall Leeds <[email protected]>
reset() and unwatch should react to responses

self.watching should not be set to True until a successful response
from a WATCH is received. We...

a7c9d06cc635ffde98ab2f29350799e23b00b4b3 authored over 13 years ago by Randall Leeds <[email protected]>
Merge remote-tracking branch 'wolever/watch' into watch_fixes

7a40f7da6e1bf812e94b94d1863321cc792015dd authored over 13 years ago by Randall Leeds <[email protected]>
Don't mask ConnectionError in Pipeline.execute()

9e918fdb481aef700561592121322a3a82072f72 authored over 13 years ago by Randall Leeds <[email protected]>
Merge remote-tracking branch 'andymccurdy/watch' into watch_fixes

Conflicts:
redis/client.py
tests/server_commands.py

4bc9b77431955ba317318410ce70f9b38367ee3a authored over 13 years ago by Randall Leeds <[email protected]>
Whoops, shouldn't be changing 'self.transaction'

Otherwise, if `.multi()` is called then `.reset()` is called, `.transaction` will remain `True` ...

4fb889deed3dd1921b8e39faaf07a67dd518e84d authored over 13 years ago by David Wolever <[email protected]>
Simplifying the Pipeline transaction logic.

1f885302226a1a26f20d8aa76078ebde335e2bfa authored over 13 years ago by David Wolever <[email protected]>
ensure UNWATCH gets called properly

964196837ef7870b858f5a53c388eec13a059d51 authored over 13 years ago by andy <[email protected]>
Merge branch 'master' into watch

Conflicts:
CHANGES

37fb01edf06673cd56421497128daee3fafbd2d9 authored over 13 years ago by andy <[email protected]>
remove PUBLISH from the PubSub object. Can't PUBLISH from any connection that's currently [P]SUBSCRIBEd, so it doesn't make sense to keep it here.

be1e7498ff195681f1cf760b764d657161715968 authored over 13 years ago by Andy McCurdy <[email protected]>
Allow a custom callable to be passed to commands whose responses are parsed with zset_score_pairs indicating how to cast the score value. Defaults to a float. Fix for #155

bde615669c8c0158b9ba9e38129cf67d9f474d81 authored over 13 years ago by Andy McCurdy <[email protected]>
WATCH and UNWATCH have been broken since 2.4 because of connection pooling. This fix moves WATCH and UNWATCH to the Pipeline class, where they belong and tests to prove they work.

53c928d44acd3d1fbcb3896cadad0bde4671987a authored over 13 years ago by Andy McCurdy <[email protected]>
Fix for #153, can only reliably check the last byte of the response

24b0f17a80b51ed2d7f7e1ca139428f27bf642c9 authored over 13 years ago by Andy McCurdy <[email protected]>
Merge remote-tracking branch 'wolever/threadsafe_transactions' into watch_fixes

Conflicts:
redis/client.py

82ca44f2572fdd04a63fa91158f4b6f6435527bc authored over 13 years ago by Randall Leeds <[email protected]>
First quick pass as a subclass of Redis which is bound to one connection

afb33372ef8ce680b43980b352a8686bcc363bdb authored over 13 years ago by David Wolever <[email protected]>
test that pipeline() frees a watching client

f8e73233da33356d3d16124593905b360c306e74 authored over 13 years ago by Randall Leeds <[email protected]>
fix #149 - hold connection for duration of WATCH

fa3fac9e6e950f40dbd1e6b273dcedcc1c3cd557 authored over 13 years ago by Randall Leeds <[email protected]>
no reason that these should call list_or_args

194d29687dbb110d619b30274945832b2cab14d1 authored over 13 years ago by Andy McCurdy <[email protected]>
Merge pull request #150 from jdavisp3/watch-error-2011-06-27

Provide WatchError in the top-level module.

850d5cc78e227bb14feddf633d8a5bb85ce786f6 authored over 13 years ago by Andy McCurdy <[email protected]>
Provide WatchError in the top-level module.

0df2c578656ca862f9f576792326f66814926910 authored over 13 years ago by Dave Peticolas <[email protected]>
updated changelog

61f630f93788de936e62de6a006865e6f3f74b64 authored over 13 years ago by Andy McCurdy <[email protected]>
Merge branch 'master' of github.com:andymccurdy/redis-py

61ad33e7b5ba884ccda626bf689170170dd57762 authored over 13 years ago by Andy McCurdy <[email protected]>
notes about LREM order of args and PubSub objects not being threadsafe.

a8348698bfd3502f88a6c7614c30bfe831b9869c authored over 13 years ago by Andy McCurdy <[email protected]>
Merge pull request #143 from Rafiot/variadic_commands

Variadic commands

c01efa12107e568689a197c045eb0bc9e949491d authored over 13 years ago by Andy McCurdy <[email protected]>
add variadic versions of L/RPUSH

f9d753a1c6be19a8ac53e66e9e10815a0317806c authored over 13 years ago by Raphaël Vinot <[email protected]>
add variadic version of HDEL

b553fa7b701d49fdfe7ee30836a4fbc59cd199ee authored over 13 years ago by Raphaël Vinot <[email protected]>
add variadic versions of SADD, SREM and ZREM

c3e8e84f1c264b374efff41d249c2328db54f0dd authored over 13 years ago by Raphaël Vinot <[email protected]>
version bump 2.4.5

5c3a5ebcb44b385246e3766bbdce710b6260e140 authored over 13 years ago by Andy McCurdy <[email protected]>
fix for PythonParser when reading empty strings

97f0d20db8175990be67fc1ed86375079f92a2af authored over 13 years ago by Andy McCurdy <[email protected]>
added VERSION as a tuple based on the __version__ string

4103be272bd886498ec850ea7d5ce5c3b4979014 authored over 13 years ago by Andy McCurdy <[email protected]>
fix a typo introduced in last commit. thanks Ask Solem for finding.

1d0d7bd54a62460d78b94f39377a569827db3fe1 authored over 13 years ago by Andy McCurdy <[email protected]>
fix UnixDomainSocketConnection to report error messages based on it's attributes rather than the TCP socket attributes. fixes #140

146db39bc8997af03d3661e00b61bd756529a4ca authored over 13 years ago by Andy McCurdy <[email protected]>
get the argument name correct

88a3a3caef3d1752e3bef258d0ea3e4d29866450 authored over 13 years ago by Andy McCurdy <[email protected]>
version bump to 2.4.2

f937ba5668885794c5a90f60b36d58e64a08819e authored over 13 years ago by Andy McCurdy <[email protected]>
get a connection within the execute() method of the pipeline so we can respond to a ConnectionError. Fix for #139

f200f6fee3f3e9d410942014cdd34850f6ecd8e8 authored over 13 years ago by Andy McCurdy <[email protected]>
documentation fix for #138

fc41ca2d30f972f3360526802da2885c576c233c authored over 13 years ago by Andy McCurdy <[email protected]>
version bump

bd2663cd3776cbdbada540a26d19d4acb2432ad2 authored over 13 years ago by Andy McCurdy <[email protected]>
changelog

6c37ccf06cc5f8847d2ade19fb6b16503c6c4bf8 authored over 13 years ago by Andy McCurdy <[email protected]>
make sure the class instance always has an ._fp attribute in case disconnect gets called before connect

25acfddad36bc85e48052f073f4767009224746f authored over 13 years ago by Andy McCurdy <[email protected]>
2.4.0 is out!

da1a4e9360c6f5c47ab50f763bffb4f2400b22e4 authored over 13 years ago by Andy McCurdy <[email protected]>
updated changes

eb31737087fb7d553c6d21c342beffbfc237d143 authored over 13 years ago by Andy McCurdy <[email protected]>
long description is now the contents of the readme file

3d9825388c9cbbb5ffbc300f42f7c47a564cbe42 authored over 13 years ago by Andy McCurdy <[email protected]>
version bump!

bd4b3e6ee514da4496c1ddf39c4e0a151836d776 authored over 13 years ago by Andy McCurdy <[email protected]>
pipelines need the response_callback love, too. grammar fixes in docs

2c4b66d40d34f71742e9a0bf5c4721eee66fc6a1 authored over 13 years ago by Andy McCurdy <[email protected]>
added ability for per-instance response callbacks. also, holy shit, documentation!

47a4a7e339ea9c4243ea14303d7234f0de13f959 authored over 13 years ago by Andy McCurdy <[email protected]>
updating a few docstrings

8c75e85b9f14d65add7e7a27586aae2972220e1d authored over 13 years ago by Andy McCurdy <[email protected]>
support ZADD variable length args. deprecate the version passing score and value (in the wrong order).

0a7701e75ee591389ef615490f5d27b8c254df65 authored over 13 years ago by Andy McCurdy <[email protected]>