About this project

redis-py is the Python client library for the Redis key-value store. It provides built-in support for all out-of-the-box Redis commands and supports various connection modes including standalone, Cluster, Sentinel, and Async connections via asyncio. Key capabilities include: - Connection Management: Built-in connection pooling to manage resources efficiently. - Protocol Support: Support for RESP2 and RESP3 protocols, with options for unified response shapes. - Performance Optimization: Optional integration with hiredis for faster response parsing. - Advanced Features: - Pipelines: Batching multiple commands to reduce network round-trip time. - PubSub: Implementation of a separate class for subscribing to channels and listening for messages. - Search and Query: Integration with Redis search capabilities, including support for query dialects. - Multi-database Client: Support for Active-Active setups with automatic failover and health monitoring. - Bulk Hash Ingestion: Support for the HIMPORT command family to optimize loading of hashes with shared field names.