NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #1045 most downloaded on PyPI
Typing stubs for redis
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 8 days to 3 months
Nearly every release is documented
notes for 59 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
152 releases · first in 2021
One column per quarter.
Remove a few unused TypedDicts
Remove a few unused TypedDicts (#8522)
redis.backoff: fix cap and base type (float)
redis.backoff: fix cap and base type (float) (#8454)
Improve redis.cluster annotations
Improve redis.cluster annotations (#8379)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Alex Waygood Alex.Waygood@Gmail.com
Improve redis.crc types
Improve redis.crc types (#8375)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Alex Waygood
Improve redis.utils types (#8362)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Alex Waygood Alex.Waygood@Gmail.com
Improve redis.retry types
Improve redis.retry types (#8354)
Annotate some redis.backoff items
Annotate some redis.backoff items (#8352)
Improve types of redis.connection module
Improve types of redis.connection module (#8342)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Alex Waygood Alex.Waygood@Gmail.com
Type async Pipeline commands explicitly
Type async Pipeline commands explicitly (#8325)
Improve redis.sentinel types
Improve redis.sentinel types (#8331)
Import Match and Pattern from re, not typing
Import Match and Pattern from re, not typing (#8277)
Update redis stubs to 4.3.4 (#8199) Fixes #8196
Update redis stubs to 4.3.4 (#8199)
Fixes #8196
Improve redis/asyncio/client.pyi
Improve redis/asyncio/client.pyi (#8141)
Rename some confusingly named type aliases
Rename some confusingly named type aliases (#8129)
Update redis stubs to 4.3
Update redis stubs to 4.3 (#8108)
redis: remove duplicate allowlist entries
redis: remove duplicate allowlist entries (#8097)
Co-authored-by: hauntsaninja <>
redis: fix more unconstrained TypeVars
redis: fix more unconstrained TypeVars (#8084)
redis: Fix unconstrained TypeVars in a few redis commands
redis: Fix unconstrained TypeVars in a few redis commands (#7942)
Part of #7928
Simplify and correct many numeric unions
Simplify and correct many numeric unions (#7906)
Unblocks PyCQA/flake8-pyi#222
reds: commands from asyncio module must be async
reds: commands from asyncio module must be async (#7820)
redis-py has introduced an asyncio module since 4.2 and almost all commands should be async if the redis.asyncio.Redis is used instead of redis.Redis.
This changes adds the types for all core commands.
Related to #7597
Add __version__/VERSION to redis
Add __version__/VERSION to redis (#7838)
Import generics from standard modules in all third-party stubs
Import generics from standard modules in all third-party stubs (#7791)
Add missing redis modules and classes
Add missing redis modules and classes (#7676)
This adds asyncio support and support for redis.typing.
Update redis stubs to 4.2 (#7675) Closes #7597
Update redis stubs to 4.2 (#7675)
Closes #7597
Use TypeAlias for type aliases where possible, part II
Use TypeAlias for type aliases where possible, part II (#7667)
Third-party stubs: import from collections.abc where possible
Third-party stubs: import from collections.abc where possible (#7637)
Use TypeAlias where possible for type aliases
Use TypeAlias where possible for type aliases (#7630)
Third-party stubs: Improve several __exit__ methods
Third-party stubs: Improve several __exit__ methods (#7575)
Use PEP 604 syntax wherever possible
Use PEP 604 syntax wherever possible (#7493)
Re-export RedisCluster from redis
Re-export RedisCluster from redis (#7371)
Update to redis 4.1.4 (#7247) Closes: #7245
Update to redis 4.1.4 (#7247)
Closes: #7245
Improve __enter__ & constructor methods
Improve __enter__ & constructor methods (#7114)
Redis: Annotate .lolwut()
Redis: Annotate .lolwut() (#7104)
Redis: Annotate .pttl(), .dump(), and .getdel()
Redis: Annotate .pttl(), .dump(), and .getdel() (#7091)
Upgrade black version
Upgrade black version (#7089)
Update redis stubs for 4.1.2
Update redis stubs for 4.1.2 (#7064)
Update redis stubs to 4.1.1 (#6960) Closes: #6951
Update redis stubs to 4.1.1 (#6960)
Closes: #6951
Revert "Temporarily fix redis version to 4.1.0"
Revert "Temporarily fix redis version to 4.1.0" (#6957)
This reverts commit 7d2de33bba2808e98b3caa46904418ad9a1b07f5.
Temporarily fix redis version to 4.1.0 (#6952)
Quick fix for #6951
Annotate command kwargs arguments
Annotate command kwargs arguments (#6721)
Always use _typeshed.Self, where applicable
Always use _typeshed.Self, where applicable (#6880)
Always use _typeshed.Self, where applicable
Revert changes to google-cloud-ndb (ambiguous)
Remove empty line added by script
Revert changes to stubs/python-dateutil/dateutil/relativedelta.pyi
Manually add a few more that the script missed
Improve filelock annotation
Source code here: https://github.com/tox-dev/py-filelock/blob/79ec7b2826e33b982fe83b057f359448b9d966ba/src/filelock/_api.py#L207
opentracing/scope annotationSource code here: https://github.com/opentracing/opentracing-python/blob/3e1d357a348269ef54d67f761302fab93dbfc0f7/opentracing/scope.py#L71
redis/client stubSource code here: https://github.com/redis/redis-py/blob/15f315a496c3267c8cbcc6d6d9c6005ea4d4a4d5/redis/client.py#L1217
redis/lock annotationSource code here: https://github.com/redis/redis-py/blob/15f315a496c3267c8cbcc6d6d9c6005ea4d4a4d5/redis/lock.py#L155
requests/models annotationSource code here: https://github.com/psf/requests/blob/d718e753834b84018014a23d663369ac27d1ab9c/requests/models.py#L653
put redis.client._ScoreCastFuncReturn back
put redis.client._ScoreCastFuncReturn back (#6876)
#6829 removed it as unused but #6790 added a usage.
Minor improvements to redis stubs for scan and zset methods (#6790)
Use lowercase type everywhere
Use lowercase type everywhere (#6853)
Nothing published for this version
Remove several unused TypeVars
Remove several unused TypeVars (#6829)
Never explicitly inherit from object in Python 3-only stubs
Never explicitly inherit from object in Python 3-only stubs (#6777)
redis: Restore type annotations of ping() and save()
redis: Restore type annotations of ping() and save() (#6720)
Use PEP 585 syntax wherever possible (#6717)
Co-authored-by: Akuli Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Update redis stubs to 4.1 (#6711)
Co-authored-by: Akuli akuviljanen17@gmail.com Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
redis: Add stubs for lmove and blmove
redis: Add stubs for lmove and blmove (#6586)
Co-authored-by: Sebastian Rittau
Fix Redis.zpopmin and zpopmax (#6642)
Co-authored-by: Sebastian Rittau srittau@rittau.biz
Always import Protocol from typing in stubs
Always import Protocol from typing in stubs (#6617)
Fix various issues in redis.client
Fix various issues in redis.client (#6464)
redis: fix several stubtest warnings
redis: fix several stubtest warnings (#6378)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Shantanu 12621235+hauntsaninja@users.noreply.github.com Co-authored-by: Jelle Zijlstra jelle.zijlstra@gmail.com
Add mypy error codes to '# type: ignore' comments
Add mypy error codes to '# type: ignore' comments (#6379)
Update redis stubs to version 4
Update redis stubs to version 4 (#6368)
Reduce use of deprecated typing aliases
Reduce use of deprecated typing aliases (#6358)
Revert "do not use mypy-specific syntax in '# type: ignore' comments"
Revert "do not use mypy-specific syntax in '# type: ignore' comments" (#6338)
Redis Sentinel master_for, slave_for returns a Redis client
Redis Sentinel master_for, slave_for returns a Redis client (#6269)
Annotate Client.decr() and decrby()
Annotate Client.decr() and decrby() (#6179)
Add redis/sentinel.pyi
Add redis/sentinel.pyi (#6174)
Use lowercase tuple where possible
Use lowercase tuple where possible (#6170)
Your coding agent can read these notes before it upgrades. Set up the MCP server →