Download all files from pan.genomics.cn using a shared url.
Project description
pan_genomics_download
pgd, short for pan_genomics_download, is a convenient command line tool to download all files from pan.genomics.cn using a shared link.
Installation
From pypi
$ pip install pan-genomcis-download
From github
$ git clone https://github.com/JaylanLiu/pan-genomcis-download
$ cd pan-genomcis-download
$ python setup.py install
Usage
$ pgd -h
usage: pgd [-h] -u URL [-o TARGET_PATH] [-s SUFFIX] [-f]
pan-genomics_download
optional arguments:
-h, --help show this help message and exit
-u URL, --url URL shared link
-o TARGET_PATH, --target_path TARGET_PATH
target path to store files
-s SUFFIX, --suffix SUFFIX
allowed file suffix
-f, --flat ignore the directory hierarchy and download all files to target path directly
Example
$pgd -u https://pan.genomics.cn/ucdisk/s/Qzaxxxxxxx
2021-06-18 14:51:02,091 - pan_genomics_download.py[line:38] - INFO: get files list successfully
2021-06-18 14:51:03,042 - pan_genomics_download.py[line:84] - INFO: ./生信分析文件/2021年6月/f300007033_202106151126.zip download successfully
2021-06-18 14:51:03,801 - pan_genomics_download.py[line:84] - INFO: ./生信分析文件/2021年6月/F300007060_202106091332.zip download successfully
2021-06-18 14:51:06,400 - pan_genomics_download.py[line:84] - INFO: ./生信分析文件/2021年5月/F300007070_202105240906分析文件.zip download successfully
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
Close
Hashes for pan_genomics_download-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56c27ae83863f72afe7373e844c3e15ad4f8f74854e60e0548ecc04eefcdf752 |
|
MD5 | 7a0cac3887db86488d8285ac13208101 |
|
BLAKE2b-256 | 70cc7bea9ed23c8f5ca4fbda53595d4771ff1fda536dedf02738051172648349 |
Close
Hashes for pan_genomics_download-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9f818f60a3bc58d79beb0d60eb62bcca7b0e787b2296385baf7aeb22406b874 |
|
MD5 | b34f5d138e3660ee71c1f943eb6b6051 |
|
BLAKE2b-256 | bd1abb5314a0c90da3a7a4d2c496d14bb8d60ef19018362ad3c7f26f19b7dc9e |