Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

globus/globus-automate-client

Repository files navigation

Warning

The code in this repository is no longer supported.

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.

Links