跳转到主要内容

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 查看散列值)

上传时间 源代码

构建发行版

globus_automate_client-0.17.1-py3-none-any.whl (54.5 kB 查看散列值)

上传时间 Python 3

由以下支持

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