Skip to main content

EduceLab Globus module

Project description

EduceLab Globus

educelab-globus is a Python module for logging into and interacting with Globus endpoints.

Requirements

  • Python 3.10+
  • globus-sdk 3.46+
  • prompt-toolkit

Installation

This project is available on PyPI:

python3 -m pip install educelab-globus

Usage

Configuration files

Named Globus endpoints are specified in ~/.globuscp/config.toml. The config file has a simple format which is similar to that of rclone:

[endpoint-name]
uuid = "16fd2706-8baf-433b-82eb-8c7fada847da"
basedir = "/absolute/path/to/default/directory/"

Note: At the moment, el-globus-cp only supports transfers between the basedir of two endpoints. This is expected to change in future releases.

Utilities

# List the endpoints stored in configuration file
el-globus-config

# Login to Globus and get access tokens for endpoints
# Tokens are stored in ~/.globuscp/tokenstore.json
el-globus-login

# Initiate a transfer between the base directories of two Globus endpoints
el-globus-cp

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

educelab_globus-0.1.1.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

educelab_globus-0.1.1-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

Details for the file educelab_globus-0.1.1.tar.gz.

File metadata

  • Download URL: educelab_globus-0.1.1.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for educelab_globus-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0f926cf5849e1ba8291c454a548f2571b0334d25f02cf6f65f51d747fc0e2a80
MD5 e8f18bfe1fcc7513d01e6c9b6b23b83a
BLAKE2b-256 e89101a34c5ff86c014c65811c170fda45d3e59175d43c84b0646bd7a4235081

See more details on using hashes here.

File details

Details for the file educelab_globus-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for educelab_globus-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1399b7dbde5916fb058acd5e5984efe35e24d0c69111088e2b00e658c90afc1d
MD5 0816b9377fad5834d2c77f21fd5c78f9
BLAKE2b-256 8f3243a74b6297b6bcdc0a686eb740bd716d42d27cba8007fc158142b8b5ac15

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page