/globussh

Python wrappers around the globus command line interface

Primary LanguagePythonMIT LicenseMIT

globussh

Version Status Downloads

Python wrappers around the globus command line interface using ssh.

Example

>>> from globussh import transfer
>>> src = "globusid#endpoint1/path/to/file1"
>>> dst = "glbousid#endpoint2/path/to/file2"
>>> transfer("{:s} {:s}".format(src, dst), label="example_transfer")
>>> scp(src, dst, label="example_scp")

Install

globussh is on the Python Package Index (PyPI):

pip install globussh

globush expects ssh to have a host globus in ~/.ssh/config, e.g.:

host globus
HostName cli.globusonline.org
User maxhutch