dapr-ext-fastapi
Dapr FastAPI Extension for the Dapr Python SDK.
Decision gist · record as of 2026-08-14
Yes. The package is production-stable, actively maintained with a recent release, has no security vulnerabilities, and carries a permissive license. Install friction is low. It is worth installing if you are building FastAPI services within a Dapr architecture or migrating an existing FastAPI application to use Dapr's distributed capabilities.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later and a running Dapr runtime instance to function.
- Low install friction with a pure-Python wheel distribution.
- The package is actively maintained with a recent release and supports current Python versions (3.10–3.14).
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in commercial and private projects with minimal restrictions. Attribution is required but there are no copyleft obligations.
last release 2026-07-15 (30 days) · last repo commit 2026-08-12 · 1,015 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 89,596 downloads/mo, #13,646 on PyPI
Alternatives
Verify before relying
pip install dapr-ext-fastapi
from dapr.ext.fastapi import DaprApp
from fastapi import FastAPI
app = FastAPI()
dapr_app = DaprApp(app)
@dapr_app.route('/invoke')
async def invoke_handler():
return {'message': 'Dapr-enabled endpoint'}- Whether this package provides pre-built decorators or helpers beyond basic Dapr SDK wrapping for FastAPI.
- What specific Dapr capabilities (state, pub/sub, service invocation) are exposed through the FastAPI extension.
- Whether the package includes middleware for automatic Dapr context propagation or request tracing.
What it is and what it does
Dapr-ext-fastapi is an extension that bridges the Dapr distributed application runtime with FastAPI applications. It allows you to build FastAPI services that participate in Dapr's service mesh, gaining access to Dapr's building blocks (state management, pub/sub, service-to-service calls, secrets, and configuration) without writing low-level Dapr client code directly. The package wraps FastAPI's application instance and provides a simplified interface to register Dapr-aware routes and handlers.
The package is built on top of three core dependencies: dapr (the Python SDK for Dapr), fastapi (the web framework), and uvicorn (the ASGI server). It is actively maintained, supports modern Python versions from 3.10 through 3.14, and carries no known security vulnerabilities. The Apache-2.0 license permits commercial use with attribution.
Use it for
- Build microservices in a Dapr service mesh that need HTTP endpoints while leveraging Dapr's state and messaging capabilities.
- Add Dapr-based service-to-service communication to an existing FastAPI application without rewriting core logic.
- Implement pub/sub message handlers in FastAPI routes that integrate with Dapr's pub/sub building block.
- Create distributed applications where FastAPI services need to share state through Dapr's state management layer.
- Develop cloud-native applications on Kubernetes using Dapr sidecars alongside FastAPI services.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is production-stable, actively maintained with a recent release, has no security vulnerabilities, and carries a permissive license. Install friction is low. It is worth installing if you are building FastAPI services within a Dapr architecture or migrating an existing FastAPI application to use Dapr's distributed capabilities.
Install
dapr-ext-fastapi on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. The package is actively maintained with a recent release and supports current Python versions (3.10–3.14). Three runtime dependencies (dapr, fastapi, uvicorn) are standard ecosystem choices.
Requires Python 3.10 or later and a running Dapr runtime instance to function.
License in practice
Licensed under Apache-2.0 (permissive), allowing use in commercial and private projects with minimal restrictions. Attribution is required but there are no copyleft obligations.
Quickstart
pip install dapr-ext-fastapi
from dapr.ext.fastapi import DaprApp
from fastapi import FastAPI
app = FastAPI()
dapr_app = DaprApp(app)
@dapr_app.route('/invoke')
async def invoke_handler():
return {'message': 'Dapr-enabled endpoint'}
Verify before relying
- Whether this package provides pre-built decorators or helpers beyond basic Dapr SDK wrapping for FastAPI.
- What specific Dapr capabilities (state, pub/sub, service invocation) are exposed through the FastAPI extension.
- Whether the package includes middleware for automatic Dapr context propagation or request tracing.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesdaprfastapiuvicorn |
| Maintenance | Actively maintained 30 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 89,596 / month, #13,646 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: dapr_ext_fastapi-1.18.3-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 › “dapr fastapi integration”
- dapr-ext-fastapiIntegrates Dapr distributed application runtime with FastAPI web…
- daprDapr SDK for Python provides client libraries and actor framework…
- dapr-ext-workflowExtends the Dapr Python SDK with workflow authoring capabilities,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Application Frameworks packages
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.
Install it if you're developing CLI tools, dashboards, or interactive terminal applications.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.
Install it if you need to build or connect to servers.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
See also dapr · dapr-ext-workflow · fastapi-cloudauth · stac-fastapi-api · fastapi-keycloak-middleware · fastapi-mail · fastapi-mcp · fastapi-azure-auth · onyx-devtools