globus / globus-automate-client

Client CLI and Python SDK for the Globus Automate Suite of Services

Home Page:https://globus-automate-client.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Globus Automate Client

This SDK provides a CLI and a convenient Pythonic interface to the Globus Automate suite of services.

Basic Usage

Install with these commands:

python -m pip install --upgrade pip setuptools wheel
python -m pip install globus-automate-client

You can then import Globus Automate client classes and other helpers from globus_automate_client. For example:

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)

You can also use the CLI interface to interact with Automate services. For example:

globus-automate action introspect --action-url https://actions.globus.org/hello_world

Testing, Development, and Contributing

Go to the CONTRIBUTING guide for detail.

About

Client CLI and Python SDK for the Globus Automate Suite of Services

https://globus-automate-client.readthedocs.io

License:Apache License 2.0


Languages

Language:Python 99.3%Language:Makefile 0.7%