Skip to main content

A modern CLI tool for downloading files with progress bars

Project description

wgetx

A modern CLI tool for downloading files with customizable progress bars and advanced features.

Features

  • Fast Downloads: Efficient file downloading with resume capability
  • Progress Visualization: Customizable progress bars with colors and icons
  • Batch Downloads: Download multiple files from a URL list
  • Resume Support: Continue interrupted downloads
  • Flexible Output: Control verbosity and output formatting
  • Cross-Platform: Works on Windows, macOS, and Linux

Installation

pip install wgetx

Usage

Basic Download

wgetx https://example.com/file.zip

Download to Specific Directory

wgetx https://example.com/file.zip /path/to/save/

Resume Interrupted Download

wgetx --resume https://example.com/large-file.zip

Batch Download from File

wgetx --batch urls.txt

Force Overwrite Existing Files

wgetx --force https://example.com/file.zip

Command Line Options

Basic Options

  • URL - URL to download or path to file containing URLs (with --batch)
  • DESTINATION - Destination path (file or directory)

Behavior Options

  • -f, --force - Overwrite existing files
  • -c, --resume - Resume interrupted downloads

Output Options

  • -e, --echo - Print file path to stdout after download
  • -q, --quiet - Suppress progress information
  • -b, --batch - Download multiple URLs from a file

UI Customization

  • --done - Icon for completed progress (default: ▓)
  • --left - Icon for remaining progress (default: ░)
  • --current - Icon for current progress position (default: ▓)
  • --border - Border characters for progress bar (default: |)

Color Options

  • --color-done - Color for completed progress icon
  • --color-left - Color for remaining progress icon
  • --color-current - Color for current progress icon

Examples

Custom Progress Bar

wgetx --done "█" --left "─" --current ">" --border "[]" https://example.com/file.zip

Colored Progress Bar

wgetx --color-done green --color-current yellow --color-left red https://example.com/file.zip

Quiet Download with Echo

wgetx --quiet --echo https://example.com/file.zip

Batch Download

Create a file urls.txt with URLs:

https://example.com/file1.zip
https://example.com/file2.tar.gz
https://example.com/file3.pdf

Then run:

wgetx --batch urls.txt

Supported Colors

You can use the following color names:

  • black, red, green, yellow
  • blue, magenta, cyan, white
  • Custom ANSI escape sequences

License

This project is licensed under the GNU General Public License v3.0 or later (GPL-3.0-or-later).

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Support

If you encounter any issues or have questions, please open an issue in the project repository.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

wgetx-1.0.0-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file wgetx-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: wgetx-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for wgetx-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 79755a5d42abf9a7be77366500b52ab9fc4fb8ad7838e4f41e9187d33f4e35aa
MD5 b7ec8d84088f50233d624d1854b49094
BLAKE2b-256 e35505bcf7ac146b078fabf46adaa257b84624169f4e84ad2f630d54f6b1bc57

See more details on using hashes here.

Supported by

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