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.2.tar.gz
.
File metadata
- Download URL: redis_key_tagging-0.0.2.tar.gz
- Upload date:
- Size: 2.7 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 | 525250a2f524a9303cb15354a9a534e0fdc16b2fb89128ea957a8a0403e4636a |
|
MD5 | 2199fbe5b45f218a3a95eadd7371000b |
|
BLAKE2b-256 | 9413c54ba7138e7f01b0bf2843dd2d56d546b989505da3feaa5f89226adb4953 |