cauliyang / pybox

pybox is a library including the useful feature

Home Page:https://pyboxes.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pybox

logo

pypi status python version license read the docs

test codecov precommit black

πŸ’ͺ Aims

  • Simple: A simple and easy to use Python library for many annoy task.
  • Easy to use: Easy to use, you can use it in your project.
  • Extendable: Extendable, you can add your own function easily.

🀩 Features

🧐 Installation

You can install Pybox via pip from PyPI:

$ pip install pyboxes

πŸ“– Usage

$ pybox -h

Please see the Command-line Reference Usage for details.

🚌 Take a tour

A simple and easy to download files by sharing link

1. Download single file by sharing link of Google Driver.

$ pybox gfile <url> <name> <size>

2. Download files in a folder by client id and folder id.

$ pybox gfolder <client_id> <folder_id>

Detailed usage please see Usage Documentation

A simple and easy to send message to Slack Channel

$ pybox slack [options] <webhook-url>

Detailed usage please see Usage Documentation

Download multiple files asynchronously

1. Download single file.

$ pybox asyncdown -u <url> -o <output>

2. Download multiple files.

$ pybox asyncdown -f <url-file>

For example, suppose urls.txt in which the first column is the file name and the second column is the download url. pybox asyncdown -f urls.txt will download all files in parallel. 

ENCFF888ZZV.fastq.gz https://www.encodeproject.org/files/ENCFF888ZZV/@@download/ENCFF888ZZV.fastq.gz
ENCFF883SEZ.fastq.gz https://www.encodeproject.org/files/ENCFF883SEZ/@@download/ENCFF883SEZ.fastq.gz
ENCFF035OMK.fastq.gz https://www.encodeproject.org/files/ENCFF035OMK/@@download/ENCFF035OMK.fastq.gz
ENCFF288CVJ.fastq.gz https://www.encodeproject.org/files/ENCFF288CVJ/@@download/ENCFF288CVJ.fastq.gz   

Detailed usage please see Usage Documentation

πŸ€— Contributing

Contributions are very welcome. To learn more, see the Contributor Guide.

πŸ€– License

Distributed under the terms of the MIT license, Pybox is free and open source software.

πŸ€” Issues

If you encounter any problems, please file an issue along with a detailed description.

πŸ₯³ Credits

This project was generated from @cjolowicz's Hypermodern Python Cookiecutter template.

Alt

About

pybox is a library including the useful feature

https://pyboxes.readthedocs.io/en/latest/

License:MIT License


Languages

Language:Python 100.0%