A minimal Python downloader designed for robustness, offering features like resumable downloads and automatic retries. It is currently in beta status (Development Status :: 4 - Beta) and provides both a Python interface and a command-line utility for simple file transfers.
pip install robust-downloaderVerified import paths — ran on the pinned version, not inferred.
Demonstrates how to download a file using the `download` function. The example includes basic error handling, which is crucial for robust applications, although not explicitly shown in the most minimal usage examples from the library's documentation.
Be prepared for potential API adjustments and thoroughly test upgrades between minor or patch versions. Refer to the project's GitHub releases for specific changes.
Wrap `download()` calls in `try...except` blocks to handle potential exceptions such as `requests.exceptions.RequestException`, `IOError`, or other custom exceptions the library might raise.
Pass the `sha256` argument to the `download` function, e.g., `download(url, filename='my_file.zip', sha256='expected_sha256_hash')`.
Review the project's documentation and source code to confirm specific feature support if your use case requires complex download management scenarios.
pip install robust-downloader
pip install robust-downloader (and ensure your virtual environment is activated if applicable, or that Python's script directory is in your PATH)
downloader.download("http://example.com/file.zip", "local_file.zip")from robust_downloader import RobustDownloader
No dependency data recorded yet.