Dapr Python SDK

Python SDK packages for developing Dapr applications

Dapr offers a variety of packages to help with the development of Python applications. Using them you can create Python clients, servers, and virtual actors with Dapr.

Available packages

  • Dapr client for writing Python applications to interact with the Dapr sidecar and other Dapr applications
  • Dapr actor for creating for creating and interacting with stateful virtual actors in Python
  • Extensions for adding Dapr capabilities to other Python frameworks

Install the Dapr module

  1. pip install dapr

Note

The development package will contain features and behavior that will be compatible with the pre-release version of the Dapr runtime. Make sure to uninstall any stable versions of the Python SDK before installing the dapr-dev package.

  1. pip install dapr-dev

Try it out

Clone the Python SDK repo to try out some of the examples.

  1. git clone https://github.com/dapr/python-sdk.git

More information

Last modified January 1, 0001