The documentation you are viewing is for Dapr v1.10 which is an older version of Dapr. For up-to-date documentation, see the latest version.

Python

Dapr提供了帮助开发Python应用程序各种包。 你可以使用他们来创建 Python 客户端、服务器和 virtual actors。

可用软件包

  • 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

安装 Dapr 模块


pip install dapr

pip install dapr-dev

试试吧

克隆Python SDK 仓库来尝试一些 示例

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

详情