Skip to content

A Redis client with key tagging and invalidation by tag features.

License

Notifications You must be signed in to change notification settings

erudit/redis_key_tagging

Repository files navigation

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 argument tags, 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

About

A Redis client with key tagging and invalidation by tag features.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages