Redis data structures and patterns wrapped in Pythonic classes