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
- Muhammad Farid Rahman - GitHub Profile
Acknowledgement
Thanks to the author of requests and tqdm for their excellent libraries
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 sof4raway_url_downloader-0.0.3.tar.gz.
File metadata
- Download URL: sof4raway_url_downloader-0.0.3.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e936e4468a03993e177168b95a3a523576e118d8b4bd8749e7339ff3450d8561
|
|
| MD5 |
f48a6fae2f8ecd30624b8f8ee53e2139
|
|
| BLAKE2b-256 |
e4f95079b58cf878d72647d03215e6bda78c2f8a87aef2f942b1120fed7df676
|
File details
Details for the file sof4raway_url_downloader-0.0.3-py3-none-any.whl.
File metadata
- Download URL: sof4raway_url_downloader-0.0.3-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9cec5476f18bb7c6ca8155db1c3593aa05b0f0f05d15b8748c6f84e5cf618915
|
|
| MD5 |
84b08496b6e87378a2572fc849ba3633
|
|
| BLAKE2b-256 |
861200901ab3bbc3c0f8b596e7b8fe4fe252e9fc73766e039a0da8964d98c094
|