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 eight main languages:
| Language | Client name | Docs | Supported | 
|---|---|---|---|
| Python | redis-py | redis-pyguide | Yes | 
| Python | RedisVL | RedisVL guide | Yes | 
| C#/.NET | NRedisStack | NRedisStackguide | Yes | 
| JavaScript | node-redis | node-redisguide | Yes | 
| Java | Jedis | Jedisguide | Yes | 
| Java | Lettuce | Lettuceguide | Yes | 
| Go | go-redis | go-redisguide | Yes | 
| PHP | Predis | Predisguide | No | 
| C | hiredis | hiredisguide | Yes | 
| Rust | redis-rs | redis-rsguide | 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:
| Language | Client name | Github | Docs | 
|---|---|---|---|
| C++ | Boost.Redis | https://github.com/boostorg/redis | https://www.boost.org/doc/libs/develop/libs/redis/doc/html/index.html | 
| Dart | redis_dart_link | https://github.com/toolsetlink/redis_dart_link | https://github.com/toolsetlink/redis_dart_link | 
| PHP | PhpRedis extension | https://github.com/phpredis/phpredis | https://github.com/phpredis/phpredis/blob/develop/README.md | 
| Ruby | redis-rb | https://github.com/redis/redis-rb | https://rubydoc.info/gems/redis | 
Requirements
You will need access to a Redis server to use these libraries. You can experiment with a local installation of Redis Open Source (see Install Redis Open Source) 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.