Python SDK
Build distributed applications using the Dapr Python SDK. The Dapr Python SDK provides client libraries to interact with Dapr building blocks and APIs.
Resources
Prerequisites:
- Python 3.8+ (Download)
- Dapr Python Client/Server SDK
Installation
Install the Dapr Python SDK via pip:
# Install Dapr client SDK
pip3 install dapr
# Install Dapr gRPC AppCallback service extension
pip3 install dapr-ext-grpc
Dapr Client APIs
Use the Dapr Client to interact with Dapr building blocks and APIs with Python-specific examples and code samples.
Server Extensions
Build services that can be invoked by other services and subscribe to topics using Python.
Service Invocation Server
Create services that can be invoked by other Dapr applications using HTTP or gRPC
Pub/Sub Subscriptions
Subscribe to topics and handle messages in Python applications using HTTP or gRPC
Binding Invocation Handler
Handle input bindings from external systems using HTTP or gRPC in Python