{"id":18519708,"url":"https://github.com/fedebotu/robust-downloader","last_synced_at":"2025-04-09T08:32:18.844Z","repository":{"id":194676592,"uuid":"691606050","full_name":"fedebotu/robust-downloader","owner":"fedebotu","description":"Minimal Python downloader with robustness in mind - resumable downloads, retries, and more","archived":false,"fork":false,"pushed_at":"2024-09-04T01:20:55.000Z","size":41,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T04:07:54.192Z","etag":null,"topics":["curl","download","downloader","python","python3","robust","urllib","wget"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fedebotu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-09-14T14:14:28.000Z","updated_at":"2024-12-30T22:28:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"103c4809-d5cd-4e77-b42f-c77c3e7dc6c7","html_url":"https://github.com/fedebotu/robust-downloader","commit_stats":{"total_commits":19,"total_committers":2,"mean_commits":9.5,"dds":0.1578947368421053,"last_synced_commit":"834e40da07e2c21f84511a5ab0ace079aa53cdd6"},"previous_names":["fedebotu/robust-downloader"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedebotu%2Frobust-downloader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedebotu%2Frobust-downloader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedebotu%2Frobust-downloader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedebotu%2Frobust-downloader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fedebotu","download_url":"https://codeload.github.com/fedebotu/robust-downloader/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248003331,"owners_count":21031772,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["curl","download","downloader","python","python3","robust","urllib","wget"],"created_at":"2024-11-06T17:17:08.546Z","updated_at":"2025-04-09T08:32:18.478Z","avatar_url":"https://github.com/fedebotu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\n# Robust Downloader\n\u003c/a\u003e [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n![license](https://img.shields.io/badge/license-Apache%202.0-green.svg?) [![PyPI](https://img.shields.io/pypi/v/robust-downloader?logo=pypi)](https://pypi.org/project/robust-downloader)\n[![Test](https://github.com/kaist-silab/rl4co/actions/workflows/tests.yml/badge.svg)](https://github.com/kaist-silab/rl4co/actions/workflows/tests.yml)\n\n\u003c/div\u003e\n\n\nA minimal Python downloader with robustness in mind - resumable downloads, retries, and more.\n\n## Installation\n\n```bash\npip install robust-downloader\n```\n\n## Usage\n\n### From Python\n```python\nfrom robust_downloader import download\n\ndownload(\"https://raw.githubusercontent.com/fedebotu/robust-downloader/main/README.md\")\n```\n\n### From CLI\n\n```bash\n$ robust-downloader --help\nusage: robust-downloader [-h] [-V] [--folder FOLDER] [--filename FILENAME] [--key KEY]\n                         [--proxy PROXY] [--md5 MD5] [--sha256 SHA256]\n                         [--max-redirect-hops MAX_REDIRECT_HOPS] [--verify VERIFY]\n                         [--timeout TIMEOUT] [--retry-max RETRY_MAX]\n                         [--sleep-max SLEEP_MAX] [--chunk-size CHUNK_SIZE]\n                         [--show-progress SHOW_PROGRESS] [--logging-level LOGGING_LEVEL]\n                         url\n```\n\nExample:\n```bash\n$ robust-downloader https://raw.githubusercontent.com/fedebotu/robust-downloader/main/README.md\n```\n\n\n### Available Arguments\n```\npositional arguments:\n  url                   url to download\n\noptions:\n  -h, --help            show this help message and exit\n  -V, --version         display version (default: None)\n  --folder FOLDER       folder to save the file (default: None)\n  --filename FILENAME   filename to save the file (default: None)\n  --key KEY             key to decrypt the file (default: None)\n  --proxy PROXY         proxy to use (default: None)\n  --md5 MD5             md5 to check the file (default: None)\n  --sha256 SHA256       sha256 to check the file (default: None)\n  --max-redirect-hops MAX_REDIRECT_HOPS\n                        max redirect hops (default: 3)\n  --verify VERIFY       verify the file (default: None)\n  --timeout TIMEOUT     timeout in seconds (default: 60)\n  --retry-max RETRY_MAX\n                        retry max in seconds (default: 500)\n  --sleep-max SLEEP_MAX\n                        sleep max in seconds (default: 120)\n  --chunk-size CHUNK_SIZE\n                        chunk size (default: 1024)\n  --show-progress SHOW_PROGRESS\n                        show progress (default: True)\n  --logging-level LOGGING_LEVEL\n                        logging level (default: 20)\n```\n\n\n## Acknowledgements\n\nThis repository was inspired by [gdown](https://github.com/wkentaro/gdown/tree/main).\n\n## Contributing\nFeel free to contribute to this repository by creating a pull request or submitting an issue!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffedebotu%2Frobust-downloader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffedebotu%2Frobust-downloader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffedebotu%2Frobust-downloader/lists"}