prefect-redis
Prefect integrations with Redis.
Decision gist · record as of 2026-08-14
Yes, if you run Prefect workflows and want Redis-backed state or caching. The package is actively maintained, has low install friction, carries no known vulnerabilities, and is licensed permissively. It requires Python 3.10+ and a running Redis instance. Install it when you need distributed workflow coordination or fast result caching in Prefect.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; requires a running Redis server for state and caching operations.
- Low install friction with a pure-Python wheel.
- Actively maintained as of 10 days ago with recent commits and a substantial repository (23623 stars).
License · maintenance · safety
Apache License 2.0 (permissive) — Licensed under Apache License 2.0 (permissive). You may use, modify, and distribute this package freely in commercial and private projects, provided you include a copy of the license and state any significant changes.
last release 2026-08-04 (10 days) · last repo commit 2026-08-14 · 23,623 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 187,983 downloads/mo, #9,954 on PyPI
Alternatives
Verify before relying
pip install prefect-redis
from prefect_redis import redis_cache_key
from prefect import task, flow
@task
@redis_cache_key()
def my_task():
return "result"
@flow
def my_flow():
my_task()- Specific Redis features supported (e.g., clustering, sentinel, persistence modes) not detailed in fact sheet.
- Whether this package provides Redis blocks, task result storage, or only caching—unclear from excerpt.
- Performance characteristics or scalability limits for distributed workflows not documented in fact sheet.
What it is and what it does
prefect-redis is an official integration package that connects Prefect's workflow orchestration engine to Redis, a fast in-memory data store. It allows you to use Redis as a backend for Prefect state storage, task result caching, and distributed coordination across workflow runs. The package is maintained by the Prefect team and integrates seamlessly with the Prefect ecosystem.
You install it alongside prefect and redis, then use its blocks and decorators to configure Redis as a storage or caching layer in your Prefect workflows. It's designed for teams running distributed workflows that need fast, reliable state management and result caching without external infrastructure complexity.
Use it for
- Use it to cache expensive task results in Redis, avoiding recomputation when workflows retry or reschedule.
- Use it as a state backend for Prefect to persist workflow execution state across distributed agents.
- Use it to coordinate task dependencies and state sharing across multiple concurrent workflow runs.
- Use it to speed up workflow restarts by retrieving cached results from Redis instead of recomputing.
- Use it in microservice architectures where Prefect workflows need fast, shared state storage.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you run Prefect workflows and want Redis-backed state or caching.
The package is actively maintained, has low install friction, carries no known vulnerabilities, and is licensed permissively. It requires Python 3.10+ and a running Redis instance. Install it when you need distributed workflow coordination or fast result caching in Prefect.
Install
prefect-redis on PyPI
Before you install
Low install friction with a pure-Python wheel. Actively maintained as of 10 days ago with recent commits and a substantial repository (23623 stars). Requires Python 3.10 or later and depends on prefect and redis packages.
Requires Python 3.10 or later; requires a running Redis server for state and caching operations.
License in practice
Licensed under Apache License 2.0 (permissive). You may use, modify, and distribute this package freely in commercial and private projects, provided you include a copy of the license and state any significant changes.
Quickstart
pip install prefect-redis
from prefect_redis import redis_cache_key
from prefect import task, flow
@task
@redis_cache_key()
def my_task():
return "result"
@flow
def my_flow():
my_task()
Verify before relying
- Specific Redis features supported (e.g., clustering, sentinel, persistence modes) not detailed in fact sheet.
- Whether this package provides Redis blocks, task result storage, or only caching—unclear from excerpt.
- Performance characteristics or scalability limits for distributed workflows not documented in fact sheet.
Package facts
| License | Apache License 2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesprefectredis |
| Maintenance | Actively maintained 10 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 187,983 / month, #9,954 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersIntended Audience :: System AdministratorsLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Software Development :: Libraries |
Evidence: prefect_redis-0.2.14-py3-none-any.whl
Tags
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 › “prefect redis integration”
- prefect-redisIntegrates Prefect workflow orchestration with Redis, enabling…
- prefect-emailProvides Prefect workflow integration for sending emails, enabling…
- prefect-githubProvides Prefect workflow tasks and blocks for interacting with…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also mad-prefect · prefect-dask · prefect-gitlab · prefect-sqlalchemy · prefect-ray · prefect-docker · prefect-azure · prefect-github · prefect · mirakuru