Composable, cachable, lazy trees of Redis set operations.
from rediset import Rediset rs = Rediset() result = rs.Intersection('key1', rs.Union('key2', 'key3'))
Get the code at GitHub.
You can install Rediset from PyPI:
pip install rediset