redis-py is a Python client library for executing Redis commands and managing in-memory data structures. It provides the necessary components to integrate Python applications with Redis for data storage and retrieval.
The project includes a cluster client for monitoring health and managing automatic failover across multiple active-active database replicas. It also features a connection pool manager to maintain reusable socket connections and a dedicated pub/sub client for subscribing to real-time message channels.
The library covers broad capability areas including performance optimization through command pipelining and optimized response parsing, as well as high-availability traffic management for multi-database failover. It also supports search and indexing via query dialect configuration.