Skip to main content

A fast and efficient downloader

Project description

supersonic_downloader

A multi-threaded, multi-coroutine download tool written in Python.When you need to download some relatively large model parameters, you can use this package directly in the Python code to quickly download the model parameters, and it supports proxies.

Quick Start

from supersonic_downloader import thread_download, coroutine_download

url = "https://hf-mirror.com/google-bert/bert-base-cased/resolve/main/flax_model.msgpack?download=true"
file_path = "download_file/model.safetensors"

thread_download(url=url, file_path=file_path) # multi-threaded download
coroutine_download(url=url, file_path=file_path) # multi-coroutine download

Installing

pip install supersonic_downloader

Cloning the repository

git clone https://github.com/bz-e/supersonic_downloader.git

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

supersonic_downloader-0.0.1.tar.gz (7.7 kB view hashes)

Uploaded Source

Built Distribution

supersonic_downloader-0.0.1-py3-none-any.whl (6.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page