Python library encapsulating Redis best practices and patterns