Skip to main content

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

Download files

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

Source Distribution

pan_genomics_download-0.0.2.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pan_genomics_download-0.0.2-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file pan_genomics_download-0.0.2.tar.gz.

File metadata

  • Download URL: pan_genomics_download-0.0.2.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for pan_genomics_download-0.0.2.tar.gz
Algorithm Hash digest
SHA256 56c27ae83863f72afe7373e844c3e15ad4f8f74854e60e0548ecc04eefcdf752
MD5 7a0cac3887db86488d8285ac13208101
BLAKE2b-256 70cc7bea9ed23c8f5ca4fbda53595d4771ff1fda536dedf02738051172648349

See more details on using hashes here.

File details

Details for the file pan_genomics_download-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pan_genomics_download-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for pan_genomics_download-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e9f818f60a3bc58d79beb0d60eb62bcca7b0e787b2296385baf7aeb22406b874
MD5 b34f5d138e3660ee71c1f943eb6b6051
BLAKE2b-256 bd1abb5314a0c90da3a7a4d2c496d14bb8d60ef19018362ad3c7f26f19b7dc9e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page