redis/redis-py ? reverse-engineered prompt

Reverse engineered prompt

Build me a Python client for Redis that feels easy to use in real projects.

I want to connect to a Redis server, set and get values, use connection pools, pipelines, and pub sub, and have both regular and async support if that fits. It should handle the common Redis commands cleanly, return sensible Python values, and let me choose whether responses come back as bytes or decoded strings. Please make it work well with modern Redis versions, including RESP3 support, and keep older behavior available where needed so existing code does not break.

If there are any details you need from the latest Redis docs, look them up online. Also include tests and basic docs or examples so I can see how to use it right away.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab