Skip to content

Latest commit

 

History

History

examples

Dapr Python SDK examples

These examples demonstrate how to use the Dapr Python SDK:

Example Description
Service invocation Invoke service by passing bytes data
Service invocation (advanced) Invoke service by using custom protobuf message
State management Save and get state to/from the state store
Publish & subscribe Publish and subscribe to events
Error handling Error handling
Bindings Invoke an output binding to interact with external resources
Virtual actors Try Dapr virtual actor features
Secrets Get secrets from a defined secret store
Distributed tracing Leverage Dapr's built-in tracing support
Distributed lock Keep your application safe from race conditions by using distributed locks
Workflow Run a workflow to simulate an order processor
Cryptography Perform cryptographic operations without exposing keys to your application

More information