Skip to main content

hubmap-clt


A command line interface to download multiple files and directories from the Globus file transfer service.

Overview

The HuBMAP Command-Line Transfer uses the Globus cli to transfer files from a manifest file. This file contains the ID (UUID or HuBMAP ID) and the path to the specific file or directory to be downloaded.

Installing and Using hubmap-clt

The HuBMAP Command-Line Transfer requires a local Globus Connect Personal Endpoint to be connected. The user must have an account with Globus and be logged into both the local endpoint as well as the Globus command line interface. Hubmap-clt is available through PyPi and can be installed with:

pip3 hubmap-clt

hubmap-clt requirements can be found here

Consult Installing hubmap-clt and Consult Using hubmap-clt for full documentation on getting started with hubmap-clt as we as information on the required Globus software.

Building and Publishing hubmap-clt

SetupTools and Wheel is required to build the clt distribution. Twine is required to publish to Pypi

Build the distribution directory with:

python3 setup.py sdist bdist_wheel

from within the hubmap-clt project directory

To publish, from inside the project directory, run:

twine upload dist/*

A prompt to enter login information to the hubmap Pypi account will appear

Files

This code contains:

__main__.py: Contains the implementation of the command-line interface as well as the logic for the clt.

Inside of __main__.py are the following classes:

  • whoami: Informs the user if they are logged into Globus
  • login: Initiates a Globus login using the default web browser
  • transfer: Sets up a transfer into the user's downloads file. Accepts a single required argument. This argument is the name of a manifest file which contains information on the files to be downloaded
  • batch_transfer: Calls globus batch transfer for each source collection represented in the manifest file.

Metadata

Release files for hubmap-clt 1.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hubmap-clt 1.1.3
File Size Uploaded
hubmap-clt-1.1.3.tar.gz 7.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hubmap-clt 1.1.3
File Interpreter ABI Platform
hubmap_clt-1.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 15.6 kB

Release files / hubmap-clt-1.1.3.tar.gz

Download URL hubmap-clt-1.1.3.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
752368c77c6c84ab08a5d97f05fd5f566d90bf9390cb220893c76daf805fd647
BLAKE2b-256 checksum
How to use checksums
00b62881105ca0d7f7e392d90e627c60055b23a080657176bd6da8fe277f1d35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.28.2 requests-toolbelt/0.9.1 urllib3/1.26.15 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.10

Release files / hubmap_clt-1.1.3-py3-none-any.whl

Download URL hubmap_clt-1.1.3-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8f6d18b30b228dbd2eab3d344582ee56ba9d98eb7cd588f3d8dbc59a0e9d09f7
BLAKE2b-256 checksum
How to use checksums
b2de393c48433ab1a81af4e6eb0d170e0a2e517f93bc1078cc029946cb6bc32a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.28.2 requests-toolbelt/0.9.1 urllib3/1.26.15 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.10

Release history Release notifications | RSS feed

This release

1.1.3 This release

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page