Skip to main content

GSport

GSport is a command-line tool designed to accelerate file downloads from the GenomeScan Customer Portal. It leverages multiprocessing to significantly improve download speeds and efficiency. Works on linux, windows and macOS.

WARNING: This is version 2.0, some of the command line interface has changed partially in preparation for version 3.0 that will be released (hopefully end of 2025) when we start using our new customer portal. Verion 1.x should still be usable during version 2.0, but when version 3.0 is introduced both version 1 and 2 will no longer work.

Prerequisites

Ensure you have the following installed:

  • Python 3.8.X
  • Pip (Python package manager)
  • python-venv (Linux/ macOS) or virtualenv(windows)

Installation

There are 2 options for installing GSport.

  • Pip install
  • Manual installation

Pip install

pip install gsport

Manual install

Linux/macOS

git clone https://github.com/genomescan/gsport.git
cd gsport
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt

Windows

git clone https://github.com/genomescan/gsport.git
cd gsport
virtualenv env
env\Scripts\activate.bat
pip install -r requirements.txt

Usage

To see all available options, run:

python gsport.py --help

This will print a full list of available options and flags.

List Files

# shows all the files associated with the project from the top level but not any directory or files within directories
gsport list 100000
 # shows all the folders/directories under that project but not their content   
gsport list 100000 -m
# shows all the files under a directory for that project, no subfolder or files in there
gsport list 100000 -d directory
# shows all the files and folders under a directory for that project but not the content of the folders
gsport list 100000 -m -d directory
# shows all the files and folders in a tree like structure
gsport list 100000 -r
# shows all the files and folders in a tree like structure under a directory for that project
gsport list 100000 -r -d directory

Download All Files

# downloads al the files associated with the project from the top level but not any files within directories
gsport all 100000
# downloads only the files directly under a directory, no subfolder or files in there
gsport all 100000 -d directory
# downloads all the files and folders for that project
gsport all 100000 -r
# downloads all the files and folders under a directory for that project
gsport all 100000 -r -d directory
# downloads all the files associated with the project from the top level but not any files within directories and outputs them in a directory called outputdir
gsport all 100000 -o outputdir

Download Specific Files

# downloads the specific files, they have to be in the root directory
gsport download 100000 test.txt test2.txt
# downloads the specific files and outputs them in a directory called outputdir
gsport download 100000 test.txt -o outputdir

Show available projects

# List all projects you have access to
gsport -p

Metadata

Release files for gsport 2.0.1

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

Source distribution (sdist)

Source distribution for gsport 2.0.1
File Size Uploaded
gsport-2.0.1.tar.gz 15.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gsport 2.0.1
File Interpreter ABI Platform
gsport-2.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 32.2 kB

Release files / gsport-2.0.1.tar.gz

Download URL gsport-2.0.1.tar.gz
Size 15.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5c10e295c1375c7d4843033a7f1ea59f3c4aa7def69b382285e2a9dff9569d04
BLAKE2b-256 checksum
How to use checksums
b2508f331e1fa52a7f8c85ce04dafa15649edd0818499ba32cafdfe7cda48220
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.2

Release files / gsport-2.0.1-py3-none-any.whl

Download URL gsport-2.0.1-py3-none-any.whl
Size 17.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b5960e10a10dfc20346a77153e21af242c047437b3886a6e7b5cfe20e08dfd40
BLAKE2b-256 checksum
How to use checksums
546bbac4d1579c0ac9690a771930becdb2bf7b749d5a13bcf8216097bfc495da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

2.0.1 This release

2 release files

2.0.0

2 release files

1.6.2

2 release files

1.6.1

2 release files

1.6.0

2 release files

1.4.2

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