A high-performance, parallel downloader CLI and library.
pip install -e .hget https://example.com/file1.zip https://example.com/file2.zip -d ./downloads
hget https://example.com/model.safetensors:/content/models/vae!pip install --upgrade git+https://github.com/hmdlohar/python-multi-downloader.git
import hget
hget.download([
"https://example.com/file1.zip",
["https://example.com/file2.zip", "./custom_dir"],
{"url": "https://example.com/file3.zip", "dir": "./another_dir"}
])Note for Colab/Jupyter:
hgetautomatically handles the "running event loop" issue usingnest-asyncio, so it works out of the box in notebooks.