redis-py
v4.1.1
Module Index
Redis Commands
Redis Modules Commands
Backoff
Connecting to Redis
Exceptions
Lock
Retry Helpers
Examples
Connection Examples
redis-py
Docs
»
Examples
Edit on GitHub
Examples
ΒΆ
Connection Examples
Connecting to a default Redis instance, running locally.
by default Redis return binary responses, to decode them use decode_responses=True
Connecting to a redis instance, specifying a host and port with credentials.
Connecting to Redis instances by specifying a URL scheme.
Connecting to a Sentinel instance
Read the Docs
v: v4.1.1
Versions
latest
stable
v4.1.1
v4.1.0
v4.0.2
3.5.3
connection-example
Downloads
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.