Skip to content

hmdlohar/python-multi-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hget

A high-performance, parallel downloader CLI and library.

Installation

pip install -e .

Usage

CLI

hget https://example.com/file1.zip https://example.com/file2.zip -d ./downloads
hget https://example.com/model.safetensors:/content/models/vae

Library

!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: hget automatically handles the "running event loop" issue using nest-asyncio, so it works out of the box in notebooks.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages