Skip to main content

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


Download files

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

Source Distribution

py_download_tool-1.0.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

py_download_tool-1.0.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

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

Hashes for py_download_tool-1.0.0.tar.gz
Algorithm Hash digest
SHA256 80fe280ce3490fd7ef4a2d10b9d2d8f05de62ed0dabce632e259c3aae46118cd
MD5 60b81dbd51c1f4f2f7eb1b391da97df8
BLAKE2b-256 7fa9d7db709407ae51ac1f12c3aeede06c5a8435c591a11a87121b16a6f85725

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for py_download_tool-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6d32ad59cbc89a6e000d7ebed256e218ded4618e894e17ab53333f6500b064fd
MD5 bd8949a50a2ec886fa6388dbdb231b31
BLAKE2b-256 ec63cedaff8cf4d1e43f80b368446bb6ec4717e9d25283ea7695fa98b7c988c8

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