Contents

redis 7.2.0

0

Python client for Redis database and key-value store

Python client for Redis database and key-value store

Stars: 13483, Watchers: 13483, Forks: 2660, Open Issues: 107

The redis/redis-py repo was created 16 years ago and the last code push was 15 hours ago.
The project is extremely popular with a mindblowing 13483 github stars!

How to Install redis

You can install redis using pip

pip install redis

or add it to a project with poetry

poetry add redis

Package Details

Author
None
License
None
Homepage
None
PyPi:
https://pypi.org/project/redis/
Documentation:
https://redis.readthedocs.io/en/latest/
GitHub Repo:
https://github.com/redis/redis-py

Classifiers

No  redis  pypi packages just yet.

Errors

A list of common redis errors.

Code Examples

Here are some redis code examples and snippets.

GitHub Issues

The redis package has 107 open issues on GitHub

  • Fix: Improve pipeline chaining type hints in typing.py
  • Fix copy-paste error in CacheProxyConnection server version check
  • Fix ClusterClient behavior when cluster topology is refreshed. Fix several places where connections might leak.
  • Async redis-py client does not support client-side caching / key tracking
  • Add Sentinel +switch-master linstener option to monitor failovers.
  • Subscribing to a binary channel name triggers UnicodeDecodeError on reconnect
  • Fix cache proxy connection unbalanced command send and read
  • Restrict total connection lifetime to prevent using invalidated credentials
  • IndexDefinition Prefix Footgun
  • Issue: redis.asyncio.Redis.spop type hint is incorrect (missing Awaitable)
  • Fix type hints for register_script to support RedisCluster
  • SentinelConnectionPool should retrieve updated master address from Sentinel on connection retries
  • SentinelConnectionPool does not retrieve updated master address from Sentinel on connection retries
  • remove remaining imports of typing_extensions
  • sentinel client should listen for switch-master

See more issues on GitHub

Related Packages & Articles

aredis 1.1.8

Python async client for Redis key-value store