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.
Source Distribution
File details
Details for the file redis_key_tagging-0.0.1.tar.gz
.
File metadata
- Download URL: redis_key_tagging-0.0.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df49d22e53ea999496bf55d41cd2f35266857ea7b81ff7d396323d4c329edd76 |
|
MD5 | 036daaf2b125f1cddac559c1f882bece |
|
BLAKE2b-256 | bace6df58e0002bbd5a577013d2ff50ec4519c21fc46cf502331bd2a475eed33 |