dapr
The official release of Dapr Python SDK.
Decision gist · record as of 2026-08-14
Yes, if you are building distributed applications and have or plan to deploy a Dapr runtime. The SDK is actively maintained, has no known vulnerabilities, supports current Python versions, and carries a permissive Apache-2.0 license. Install friction is low. However, it is a client library only—it requires a separate Dapr runtime to be useful, so evaluate whether Dapr's architecture and building blocks fit your application design before committing.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a running Dapr runtime (dapr init or container deployment); Python 3.10 or later required.
- Low install friction with a pure-wheel distribution.
- Actively maintained with a release 30 days old and recent commits.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most production deployments.
last release 2026-07-15 (30 days) · last repo commit 2026-08-12 · 1,015 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 419,406 downloads/mo, #6,798 on PyPI
Alternatives
Verify before relying
pip install dapr
from dapr.clients import DaprClient
with DaprClient() as d:
d.invoke_method('service-name', 'method-name')- Whether the package works offline or requires network connectivity to the Dapr runtime.
- Performance characteristics and latency overhead of the gRPC communication layer.
- Compatibility with Dapr runtime versions other than the one matching the SDK release.
What it is and what it does
Dapr SDK for Python is the official client library for the Dapr distributed application runtime. It provides a Python interface to Dapr's building blocks—state management, pub/sub messaging, service invocation, and more—along with an actor framework implementation based on the Virtual Actor model. The SDK includes client libraries for direct Dapr API calls, an actor framework for stateful, long-lived objects, and optional extensions for FastAPI and Flask to simplify integration into web applications.
The package depends on aiohttp, grpcio, protobuf, python-dateutil, and typing-extensions to handle async HTTP, gRPC communication, protocol buffer serialization, and date utilities. It targets modern Python versions (3.10 through 3.14) and is designed to run locally, in containers, or in distributed cloud and edge environments. To use it, you must have a Dapr runtime running separately—either locally via the Dapr CLI or deployed in your infrastructure.
Use it for
- Build microservices that communicate through Dapr's service invocation building block without direct service-to-service coupling.
- Implement stateful actor-based applications where each actor maintains isolated state and handles messages sequentially.
- Integrate Dapr capabilities (state, pub/sub, secrets) into existing FastAPI or Flask web applications via the provided extensions.
- Develop event-driven applications using Dapr's pub/sub building block for asynchronous message handling across services.
- Create distributed workflows that coordinate multiple services through Dapr's orchestration and state management.
- Deploy applications across hybrid cloud and edge environments using Dapr's portable runtime abstraction.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building distributed applications and have or plan to deploy a Dapr runtime.
The SDK is actively maintained, has no known vulnerabilities, supports current Python versions, and carries a permissive Apache-2.0 license. Install friction is low. However, it is a client library only—it requires a separate Dapr runtime to be useful, so evaluate whether Dapr's architecture and building blocks fit your application design before committing.
Install
dapr on PyPI
Before you install
Low install friction with a pure-wheel distribution. Actively maintained with a release 30 days old and recent commits. Requires Python 3.10 or later and a local or remote Dapr runtime installation to function.
Requires a running Dapr runtime (dapr init or container deployment); Python 3.10 or later required.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most production deployments.
Quickstart
pip install dapr
from dapr.clients import DaprClient
with DaprClient() as d:
d.invoke_method('service-name', 'method-name')
Verify before relying
- Whether the package works offline or requires network connectivity to the Dapr runtime.
- Performance characteristics and latency overhead of the gRPC communication layer.
- Compatibility with Dapr runtime versions other than the one matching the SDK release.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesaiohttpgrpcio-statusgrpcioprotobufpython-dateutiltyping-extensions |
| Maintenance | Actively maintained 30 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 419,406 / month, #6,798 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-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 distributed applications”
- daprDapr SDK for Python provides client libraries and actor framework…
- dapr-ext-fastapiIntegrates Dapr distributed application runtime with FastAPI web…
- 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 Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework that enables you to define and call remote procedures across network boundaries using protocol buffers for serialization.
Install it if you need RPC communication in a distributed system or are integrating with existing gRPC services.
execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.
However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…
Cloudpickle extends Python's standard pickle module to serialize lambda functions, interactively-defined functions and classes, and other constructs that the default pickle cannot handle, making it suitable for cluster computing and remote code execution.
Install it if you need to serialize lambda functions, interactively-defined code, or non-standard Python constructs for cluster computing or distributed execution.
Provides a unified, open()-compatible Python API for streaming large files from remote storage (S3, GCS, Azure, HDFS, SFTP, HTTP) and local filesystems, with transparent compression support.
Install it if you work with large files on cloud storage or remote systems and want to avoid writing boilerplate around multiple SDKs.
Portalocker provides cross-platform file locking with support for exclusive and shared locks, plus Redis-based distributed locks and process-aware PID file locking.
Install it if you need file or process coordination; the optional extras (pywin32, redis) are only required for specific lock types.
Ray is a distributed computing framework that scales Python applications from a single machine to multi-node clusters, providing abstractions for parallel tasks, stateful actors, and shared objects.
See also dapr-ext-fastapi · dapr-ext-workflow · thespian · a2a-sdk · apify-client · apify · Spark · aristaproto · grpclib · connectrpc