Download manager for genomscan portal
Project description
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
gsport list 100000
gsport list 100000 -m
gsport list 100000 -d directory
gsport list 100000 -m -d directory
gsport list 100000 -r
gsport list 100000 -r -d directory
Download All Files
gsport all 100000
gsport all 100000 -d directory
gsport all 100000 -r
gsport all 100000 -r -d directory
gsport all 100000 -o outputdir
Download Specific Files
gsport download 100000 path/to/file1.txt path/to/file2.txt
gsport download 100000 path/to/file.txt -o outputdir
Advanced Examples
gsport -p 100000 -l # List all files in the project
gsport -p 100000 -ls # List files with size
gsport -p 100000 -l --dirs # List only folders/directories
gsport -p 100000 -l --cd Analysis # List files under "Analysis"
gsport -p 100000 -l -r # List all in a recursive tree
gsport -p 100000 -l --dirs --cd Analysis # List folders under Analysis
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gsport-2.0.0.tar.gz.
File metadata
- Download URL: gsport-2.0.0.tar.gz
- Upload date:
- Size: 15.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1fe765dea3eb01fb4590985cab5b974cc4a223b0f2dbb5658e4a088bb649c766
|
|
| MD5 |
0355c099449ec0a89a9a17e0989530be
|
|
| BLAKE2b-256 |
467423478acb48982d9074fe37841ab82953c5d334aa14d3fdc9aa774ad4e2e2
|
File details
Details for the file gsport-2.0.0-py3-none-any.whl.
File metadata
- Download URL: gsport-2.0.0-py3-none-any.whl
- Upload date:
- Size: 16.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb2e46fc47d631660247664e50cce774ae2cacbbf1df934e357f4e31cb95896f
|
|
| MD5 |
4d54033992256be729bc4e9e372ac423
|
|
| BLAKE2b-256 |
831eb163ec1b5e148503c6f46ab16ba75e1e1c680a6d10e29b033c432f3184f3
|