Globus Flows服务的客户端
项目描述
本SDK提供命令行界面和方便的Pythonic接口,用于访问Globus Automate服务套件。
基本用法
使用以下命令进行安装
python -m pip install --upgrade pip setuptools wheel
python -m pip install globus-automate-client
然后您可以从globus_automate_client导入Globus Automate客户端类和其他辅助工具。例如
from globus_automate_client import create_action_client
ac = create_action_client("https://actions.globus.org/hello_world")
# Launch an Action and check its results
resp = ac.run({"echo_string": "Hello from SDK"})
assert resp.data["status"] == "SUCCEEDED"
print(resp.data)
您还可以使用CLI界面与Automate服务交互。例如
globus-automate action introspect --action-url https://actions.globus.org/hello_world
测试、开发和贡献
有关详细信息,请参阅CONTRIBUTING指南。
链接
项目详情
下载文件
下载适用于您平台的应用程序。如果您不确定选择哪个,请了解有关安装包的更多信息。
源代码发行版
globus_automate_client-0.17.1.tar.gz (47.5 kB 查看散列值)
构建发行版
关闭
散列值 for globus_automate_client-0.17.1-py3-none-any.whl
算法 | 散列摘要 | |
---|---|---|
SHA256 | 6d3c7b74d9426f8f8b9380daaf9a536c10dea6c3950a97b3ce371bcdc2659201 |
|
MD5 | 5444469ece23c32de1b300af2b788003 |
|
BLAKE2b-256 | e834ecd01cf63b47fa97747cab9d17642aea2a29f0efddd9a5535bb8a10d27a5 |