A simple file downloader
Project description
QuickDL
QuickDL is a Python utility for downloading files from URLs. It checks if a file specified by a given path exists. If the file does not exist, QuickDL downloads it from the provided URL and displays a progress bar to visualize the download progress.
Installation
You can install QuickDL using pip:
pip install quickdl
Usage
from quickdl import dl
from pathlib import Path
# Example usage:
dl(Path('downloads'), 'https://example.com/file.txt')
This code will download the file from the provided URL to the specified path. If the file already exists at the destination path, QuickDL will confirm its existence. If the file does not exist, QuickDL will download it and display a progress bar to track the download progress.
License
This project is licensed under the MIT License - see the LICENSE file for details.
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
File details
Details for the file quickdl-0.0.1.tar.gz
.
File metadata
- Download URL: quickdl-0.0.1.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 904b15abdb7148a186b3b2df77474246a05064674f7d9a1ec1f50debac4519d2 |
|
MD5 | 1cebbde342f20348e62a57a2992a640d |
|
BLAKE2b-256 | 5fed12ab7b211e807c4d841a435039588f705bdc24afba8fc1abaafcd5d352db |
File details
Details for the file quickdl-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: quickdl-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67218b7824c81706fa0018b9fda8f6bebc54971d925897fe6f5aa0f73213b22b |
|
MD5 | 110d5abc7ea55dcfb33a35077a76c08a |
|
BLAKE2b-256 | bba47507e16ddd569c031f340a04c39bacc7d45f920814b5e5716ac66283c7c9 |