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.2.tar.gz (3.6 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.2-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sof4raway_url_downloader-0.0.2.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.15

File hashes

Hashes for sof4raway_url_downloader-0.0.2.tar.gz
Algorithm Hash digest
SHA256 3e115ea66d1e844d1e72171a83ba61f4a7efdac6c4bbb94618405fe52616ec44
MD5 e60de4441a9ca9568bda2c6fc741d9f3
BLAKE2b-256 39d63c12ec4e9f1b1b89f5852948b3385d12970893a7d09cf860c8f25c767218

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sof4raway_url_downloader-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3f28b25693664211c645cc776e732267256d4fd39b462782737873d1ed646180
MD5 8fe53a422c5d221cc03eefe98f68fc67
BLAKE2b-256 0dc7c31c6bb6dc3314798944a600ab3e1e363d4acbb7a87c072c55928bd54f0a

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