Skip to main content

A Custom Library for Downloading Files from URLs

Project description

URL Downloader

A custom Python library for downloading files from a URL.

Features

  • Download multiple files from a list of URLs.
  • Resume interrupted downloads.
  • Display progress of downloads using tqdm.

Installation

To install the library, you can use pip:

pip install url_downloader

Usage

from my_downloader import Downloader

# List of URLs to download files from
urls = ["http://example.com/file1.zip", "http://example.com/file2.zip"]

# Directory where the downloaded files will be saved
# It's recommended to use the os library to handle file paths and directories
save_dir = "./Downloads"

# Create a Downloader instance with the list of URLs and the save directory
downloader = Downloader(urls, save_dir)

# Start the download process
downloader.download()

Requirements

  • Python 3.10 or higher
  • requests
  • tqdm

Contributing

Contribution are welcomed! Please fork the repository and submit a pull request with your improvements.

Author

Acknowledgement

Thanks to the author of requests and tqdm for their excellent libraries

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

sof4raway_url_downloader-0.0.3.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

sof4raway_url_downloader-0.0.3-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file sof4raway_url_downloader-0.0.3.tar.gz.

File metadata

File hashes

Hashes for sof4raway_url_downloader-0.0.3.tar.gz
Algorithm Hash digest
SHA256 e936e4468a03993e177168b95a3a523576e118d8b4bd8749e7339ff3450d8561
MD5 f48a6fae2f8ecd30624b8f8ee53e2139
BLAKE2b-256 e4f95079b58cf878d72647d03215e6bda78c2f8a87aef2f942b1120fed7df676

See more details on using hashes here.

File details

Details for the file sof4raway_url_downloader-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for sof4raway_url_downloader-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9cec5476f18bb7c6ca8155db1c3593aa05b0f0f05d15b8748c6f84e5cf618915
MD5 84b08496b6e87378a2572fc849ba3633
BLAKE2b-256 861200901ab3bbc3c0f8b596e7b8fe4fe252e9fc73766e039a0da8964d98c094

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