tkem/cachetools

Redis Integration

Closed this issue ยท 3 comments

I was looking for a cool project around hacktoberfest, this is kind of a proposal for that ๐Ÿ™Œ

I'd like to add some redis cache implementations to the cachetools library, so that people can easily migrate from using a local cache to a distributed redis cache.

There are a few (seemingly unsupported) libraries around that already implement redis support for cachetools, but I think it'd be super nice to add redis support to the main cachetools lib.

I'd also propose using extras to keep dependencies to a minimum for users that don't want to use redis.

Let me know what you think ๐Ÿ™Œ

Yeaaah, I should read existing issues before I post #147.

The offer still stands ๐Ÿ‘

tkem commented

@JoranHonig: Thanks for looking into the existing issues - even the closed ones ;-) I really appreciate that!

But no, I still think this is beyond the scope of this, and not everything but the kitchen sink has to be included in cachetools.

Why not create your own module, or try to help and improve one of the existing ones?

I know this issue is closed but just leaving this here in case someone, like me, comes across it from googling.
There's a package that extends cachetools with support for Redis and Memcached, the integration is pretty seamless.
Have a look at https://github.com/zx80/cachetools-utils