$npx skillfedfor your agent

py-redis

A convenience wrapper for the official Python redis package

SkipPyPI DatabaseReleased Dec 2021346.4K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — py_redis-1.1.1-py3-none-any.whl
v1.1.1 · released 2021-12-13 · Python >=3.6 · 1 runtime deps: redis

No, not for new projects. The package is abandoned and offers only convenience features over the official redis client—not critical functionality. For new work, use redis directly or a more actively maintained wrapper. Only consider py-redis if you're maintaining legacy code that already depends on it and have no compatibility issues with your current environment.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a running Redis server accessible at the host and port you specify.
  • Installation is straightforward with low friction, but the package has been abandoned since its latest release on 2021-12-13.
  • No active maintenance means security issues or compatibility problems would not be addressed.

License · maintenance · safety

permissive license (permissive) — Licensed under MIT (permissive), so you can use, modify, and distribute it freely with minimal restrictions.

last release 2021-12-13 (1705 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 346,387 downloads/mo, #7,354 on PyPI

Verify before relying

pip install py-redis

from pyredis import RedisConnection

redis_args = {'host': 'localhost'}
with RedisConnection(**redis_args) as my_redis:
    my_redis.set('key', 'value')
    data = my_redis.get('key')
  • Whether the package remains compatible with current versions of redis and Python 3.x releases.
  • Whether JSON serialization handles all data types you need or has edge cases with nested structures.
  • Performance overhead of the wrapper layer compared to direct redis client usage.
Same gist for agents: .md · .json

What it is and what it does

Py-Redis is a thin wrapper around the official redis Python package that reduces boilerplate for common operations. It wraps the Redis client in a context manager so connections are automatically cleaned up, automatically serializes and deserializes data to JSON on set and get, and provides batch helper methods like get_keys() and set_dict() to work with multiple keys at once using pattern matching.

The package is designed for developers who want simpler Redis usage without manually handling connection lifecycle or JSON encoding. It exposes the underlying redis.Redis object via a .R attribute if you need to fall back to direct client calls. However, the package has not been maintained since its latest release, so it may have compatibility issues with newer versions of redis or Python itself.

Use it for

  • Caching application data (strings, lists, dicts) with automatic JSON serialization in a context manager.
  • Bulk operations on related Redis keys using pattern matching without writing loops.
  • Quick prototyping or scripts where connection lifecycle management and JSON handling are tedious.
  • Migrating from direct redis client usage to a simpler API without rewriting all calls.
  • Setting and retrieving Python dictionaries and lists directly without manual JSON encoding.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No, not for new projects.

The package is abandoned and offers only convenience features over the official redis client—not critical functionality. For new work, use redis directly or a more actively maintained wrapper. Only consider py-redis if you're maintaining legacy code that already depends on it and have no compatibility issues with your current environment.

Install

py-redis on PyPI

Before you install

Installation is straightforward with low friction, but the package has been abandoned since its latest release on 2021-12-13. No active maintenance means security issues or compatibility problems would not be addressed.

Requires a running Redis server accessible at the host and port you specify.

License in practice

Licensed under MIT (permissive), so you can use, modify, and distribute it freely with minimal restrictions.

Quickstart

pip install py-redis

from pyredis import RedisConnection

redis_args = {'host': 'localhost'}
with RedisConnection(**redis_args) as my_redis:
    my_redis.set('key', 'value')
    data = my_redis.get('key')

Verify before relying

  • Whether the package remains compatible with current versions of redis and Python 3.x releases.
  • Whether JSON serialization handles all data types you need or has edge cases with nested structures.
  • Performance overhead of the wrapper layer compared to direct redis client usage.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.6
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
redis
MaintenanceAbandoned 1,705 days since the last release
First released
Downloads346,387 / month, #7,354 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3

Evidence: py_redis-1.1.1-py3-none-any.whl

Tags

Capabilities
redis wrapper pythonredis json serializationredis context managerredis batch operationsredis key pattern matchingredis convenience layerpython redis helper
Topics
redis-wrapperabandoned

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “redis wrapper python”

  • py-redisA convenience wrapper around the official Redis Python client that…
  • redis-cliProvides a lightweight wrapper around redis-py that simplifies…
  • walrusWalrus extends the redis-py client with Pythonic container classes…

Give your agent the search over MCP, or paste the wish link into any chat.

More Database packages

psycopg2-binary Worth it
PyPI · Software Development · released Apr 2026

psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.

copyleftcompiled wheel · 3.9+
271.6Mdownloads / mo
redis Worth it
PyPI · Database · released Jul 2026

Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.

Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.

MITpure Python · 3.10+
268.3Mdownloads / mo
ydb Worth it
PyPI · Database · released Jul 2026

YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.

Install it if you need to connect Python applications to YDB databases.

permissive licensepure Python · 3.10+
210.0Mdownloads / mo
snowflake-connector-python Worth it
PyPI · Software Development · released Aug 2026

Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.

Apache-2.0compiled wheel · 3.10+
193.6Mdownloads / mo
sqlparse Worth it
PyPI · Software Development · released Aug 2026

sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.

Install it if you need to manipulate, format, or analyze SQL text programmatically.

BSD-3-Clausepure Python · 3.10+
148.9Mdownloads / mo
dbt-adapters With conditions
PyPI · Database · released Jul 2026

Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.

Apache-2.0pure Python · 3.10.0+
121.3Mdownloads / mo

See also redis-cli · flask-redis · fakeredis · channels-redis · redislite · valkey · redis-om · flatten-dict · django-cache-url