A simple command-line tool for downloading files with a progress bar.
Project description
Py Download Tool
A fast and simple command-line tool for downloading files from direct URLs with a progress bar.
Features
- Download any direct file URL
- Streaming downloads (low memory usage)
- Progress bar with download speed
- Automatic filename detection
- Prevents accidental file overwrites
- Custom output filename or directory
- Adjustable chunk size
Installation
Using pip
pip install py-download-tool
Usage
Download a file:
download https://example.com/file.zip
Save with a custom name:
download https://example.com/file.zip -o myfile.zip
Save into a directory:
download https://example.com/file.zip -o Downloads/
Overwrite an existing file:
download https://example.com/file.zip --overwrite
Custom chunk size:
download https://example.com/file.zip --chunk-size 65536
Command
download URL [OPTIONS]
Options
| Option | Description |
|---|---|
-o, --output |
Output filename or directory |
--overwrite |
Replace an existing file |
--chunk-size |
Number of bytes downloaded per chunk |
-h, --help |
Show help message |
Requirements
- Python 3.9 or newer
Dependencies
- requests
- tqdm
License
MIT License
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 py_download_tool-1.0.0.tar.gz.
File metadata
- Download URL: py_download_tool-1.0.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80fe280ce3490fd7ef4a2d10b9d2d8f05de62ed0dabce632e259c3aae46118cd
|
|
| MD5 |
60b81dbd51c1f4f2f7eb1b391da97df8
|
|
| BLAKE2b-256 |
7fa9d7db709407ae51ac1f12c3aeede06c5a8435c591a11a87121b16a6f85725
|
File details
Details for the file py_download_tool-1.0.0-py3-none-any.whl.
File metadata
- Download URL: py_download_tool-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d32ad59cbc89a6e000d7ebed256e218ded4618e894e17ab53333f6500b064fd
|
|
| MD5 |
bd8949a50a2ec886fa6388dbdb231b31
|
|
| BLAKE2b-256 |
ec63cedaff8cf4d1e43f80b368446bb6ec4717e9d25283ea7695fa98b7c988c8
|