Connect with Redis client API libraries
Connect your application to a Redis database and try an example
Use the Redis client libraries to connect to Redis servers from your own code. We document the following client libraries for six main languages:
Language | Client name | Docs | Supported |
---|---|---|---|
Python | redis-py |
redis-py guide |
Yes |
Python | RedisVL |
RedisVL guide | Yes |
C#/.NET | NRedisStack |
NRedisStack guide |
Yes |
JavaScript | node-redis |
node-redis guide |
Yes |
Java | Jedis |
Jedis guide |
Yes |
Java | Lettuce |
Lettuce guide |
Yes |
Go | go-redis |
go-redis guide |
Yes |
PHP | Predis |
Predis guide |
No |
We also provide several higher-level object mapping (OM) libraries for Python, C#/.NET, Node.js, and Java/Spring.
Community-supported clients
The table below shows the recommended third-party client libraries for languages that Redis does not document directly:
Requirements
You will need access to a Redis server to use these libraries. You can experiment with a local installation of Redis Stack (see Install Redis Stack) or with a free trial of Redis Cloud. To interact with a Redis server without writing code, use the Redis CLI and Redis Insight tools.