Skip to Content

Globus Online provides a Python API and development kit which expose more of the features of their transfer interface. See:

http://globus-sdk-python.readthedocs.io/en/latest/

https://docs.globus.org/api/transfer/

A convenience wrapper around the Python package is at: https://git.ncsa.illinois.edu/bw-seas/globustransferhelper and can be installed in a virtualenv or copied into your $PYTHONPATH for more convenient use of Globus from Python:

module load bwpy/2.0.2 # or later to have globus-sdk in bwpy
mkdir transfer
cd transfer
virtualenv --system-site-packages $PWD
source bin/activate
pip install git+https://git.ncsa.illinois.edu/bw-seas/globustransferhelper

the example code showcase_helper.py installed to bin shows how to use the helper modules.

A fully developed sample code in production use with Blue Waters is at: https://github.com/ncsa/jenkins-globus-online-workflow .