跳转到主要内容

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指南。

由以下支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误记录 StatusPage StatusPage 状态页面