Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rQBx91/Pydowner
A multithreaded terminal downloader writen in Python
https://github.com/rQBx91/Pydowner
Last synced: 3 months ago
JSON representation
A multithreaded terminal downloader writen in Python
- Host: GitHub
- URL: https://github.com/rQBx91/Pydowner
- Owner: rQBx91
- License: gpl-3.0
- Created: 2023-04-15T17:16:07.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-04-25T17:33:18.000Z (over 1 year ago)
- Last Synced: 2024-05-29T08:12:44.255Z (6 months ago)
- Language: Python
- Homepage:
- Size: 17.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pydowner: A Multithreaded Terminal Downloader
A simple terminal program writen in Python for downloading files with support for multi-threaded downloading.
## Dependencies
* click
* requests
* tqdm## Run
Install the requirements:
```bash
pip install -r requirements.txt
```Run the script:
```bash
python download.py [FLAGS] URL
```## Flags
```plaintext
--threads
Number of threads to use for download (default: number of cpu cores in the system)--name
Name to use for saving file to the filesystem (default: name of the file in the URL)
```## Examples
```bash
python download.py https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.10.1.tar.xz
``````bash
python download.py --threads 8 https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.10.1.tar.xz
``````bash
python download.py --threads 4 --name linux https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.10.1.tar.xz
```