# 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:
```sh
pip install url_downloader
```
## Usage
```python
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](github.com/sof4raway)
## Acknowledgement
Thanks to the author of requests and tqdm for their excellent libraries
Raw data
{
"_id": null,
"home_page": "https://github.com/sof4raway",
"name": "sof4raway-url-downloader",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "URL Downloader",
"author": "Muhammad Farid Rahman",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/e4/f9/5079b58cf878d72647d03215e6bda78c2f8a87aef2f942b1120fed7df676/sof4raway_url_downloader-0.0.3.tar.gz",
"platform": null,
"description": "# URL Downloader\r\n\r\nA custom Python library for downloading files from a URL.\r\n\r\n## Features\r\n\r\n- Download multiple files from a list of URLs.\r\n- Resume interrupted downloads.\r\n- Display progress of downloads using `tqdm`.\r\n\r\n## Installation\r\n\r\nTo install the library, you can use pip:\r\n```sh\r\npip install url_downloader\r\n```\r\n\r\n## Usage\r\n\r\n```python\r\nfrom my_downloader import Downloader\r\n\r\n# List of URLs to download files from\r\nurls = [\"http://example.com/file1.zip\", \"http://example.com/file2.zip\"]\r\n\r\n# Directory where the downloaded files will be saved\r\n# It's recommended to use the os library to handle file paths and directories\r\nsave_dir = \"./Downloads\"\r\n\r\n# Create a Downloader instance with the list of URLs and the save directory\r\ndownloader = Downloader(urls, save_dir)\r\n\r\n# Start the download process\r\ndownloader.download()\r\n\r\n```\r\n\r\n## Requirements\r\n\r\n- Python 3.10 or higher\r\n- requests\r\n- tqdm\r\n\r\n## Contributing \r\n\r\nContribution are welcomed! Please fork the repository and submit a pull request with your improvements.\r\n\r\n## Author\r\n\r\n- Muhammad Farid Rahman - [GitHub Profile](github.com/sof4raway)\r\n\r\n## Acknowledgement\r\n\r\nThanks to the author of requests and tqdm for their excellent libraries\r\n",
"bugtrack_url": null,
"license": null,
"summary": "A Custom Library for Downloading Files from URLs",
"version": "0.0.3",
"project_urls": {
"Homepage": "https://github.com/sof4raway"
},
"split_keywords": [
"url",
"downloader"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "861200901ab3bbc3c0f8b596e7b8fe4fe252e9fc73766e039a0da8964d98c094",
"md5": "84b08496b6e87378a2572fc849ba3633",
"sha256": "9cec5476f18bb7c6ca8155db1c3593aa05b0f0f05d15b8748c6f84e5cf618915"
},
"downloads": -1,
"filename": "sof4raway_url_downloader-0.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "84b08496b6e87378a2572fc849ba3633",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 4129,
"upload_time": "2025-01-01T11:36:32",
"upload_time_iso_8601": "2025-01-01T11:36:32.513404Z",
"url": "https://files.pythonhosted.org/packages/86/12/00901ab3bbc3c0f8b596e7b8fe4fe252e9fc73766e039a0da8964d98c094/sof4raway_url_downloader-0.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e4f95079b58cf878d72647d03215e6bda78c2f8a87aef2f942b1120fed7df676",
"md5": "f48a6fae2f8ecd30624b8f8ee53e2139",
"sha256": "e936e4468a03993e177168b95a3a523576e118d8b4bd8749e7339ff3450d8561"
},
"downloads": -1,
"filename": "sof4raway_url_downloader-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "f48a6fae2f8ecd30624b8f8ee53e2139",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 4144,
"upload_time": "2025-01-01T11:36:34",
"upload_time_iso_8601": "2025-01-01T11:36:34.840272Z",
"url": "https://files.pythonhosted.org/packages/e4/f9/5079b58cf878d72647d03215e6bda78c2f8a87aef2f942b1120fed7df676/sof4raway_url_downloader-0.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-01 11:36:34",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "sof4raway-url-downloader"
}