Use Globus in shells scripts and applications
You can access Globus features using its Web browser interface, a command-line interface (CLI), a Python software development kit (SDK), or Web-standard REST APIs for non-Python applications.
If you use Globus's CLI, SDK, or REST APIs, you are encouraged to use the developer mailing list to engage directly with the Globus engineering team and other developers.
Command Line Interface (CLI)
You can use Globus's command line interface (CLI) to script, or automate, your use of Globus services. For example, you might write a script that automatically uploads the output data produced by an application when the application completes.
Follow Globus's CLI installation instructions to install the CLI on your system. Once installed, follow Globus's CLI QuickStart guide to quickly become familiar with the CLI and how to use it in your work.
Software Development Kit (SDK)
Use the Globus Software Development Kit (SDK) for Python to write applications that use Globus services.
Follow Globus's SDK installation instructions to install the SDK in your Python development environment, and then follow the SDK Tutorial to quickly become familiar with the SDK and how to use it. The full SDK documentation includes complete reference information as well as helpful examples.
REST API
If you write applications in a language other than Python, or if you require advanced features that aren't provided in the SDK, Globus also provides Web-standard REST APIs with complete access to all Globus services. Access to Globus's REST APIs is controlled by OAuth 2.0 (OAuth2) access tokens, which are obtained by authenticating with Globus Auth, Globus's access management service.
You are also encouraged to use the developer mailing list to engage directly with the Globus engineering team and other developers.
USAGE MODE | TRANSFER METHOD | THINGS TO KNOW |
---|---|---|
WEB BROWSER INTERFACE | easy-to-use web interface; uses ACCESS web single sign-on; desktop download available | |
COMMAND LINE INTERFACE | managed, reliable, and auto-tuned transfer; supports scripting; uses ACCESS web single sign-on; requires command line/scripting skill; requires a Python installation | |
APPLICATION PROGRAMMING INTERFACE | designed for application developers; popular Python language; simplifies code; use in Jupyter notebooks; requires Python programming skill; some advanced features are not exposed | |
usable with most development environments; full access to all Globus service features; requires programming skill; requires familiarity with REST and OAuth 2.0 |