A Redis client with key tagging and invalidation by tag features.
Project description
Redis Key Tagging
Description
This package provides key tagging and invalidation by tag features.
It provides the RedisKeyTagging
class which extends the Redis
class from
redis-py, so it can be switched seamlessly.
Documentation
Overriden method(s)
set()
: The new optional keyword argumenttags
, which must be a list of string, can be used to associate the key being set to each of those tags.
New method(s)
delete_keys_by_tag()
: Delete all keys associated with the given tag.
Tests
$ py.test
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.