Robust Downloader

0.0.2 · active · verified Sun Apr 12

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.

Warnings

Install

Imports

Quickstart

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.

from robust_downloader import download

# Download a file from a URL
# Replace with an actual URL to test
file_url = "https://raw.githubusercontent.com/fedebotu/robust-downloader/main/README.md"
try:
    download(file_url, filename="downloaded_readme.md")
    print(f"Successfully downloaded {file_url} to downloaded_readme.md")
except Exception as e:
    print(f"An error occurred during download: {e}")

view raw JSON →