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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for supersonic_downloader-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5fe0628e72a86023f7c5e87d3ddb291b09f0f3246976d48fdcc46b7274264c7 |
|
MD5 | 9a618e1c625b8b0361ef8d51218e74e0 |
|
BLAKE2b-256 | 82d0b62f284667c348cc828ba8fecbcfe1351d9810adc5ea6861e77845364434 |
Close
Hashes for supersonic_downloader-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24a7a4e82a28c625c3823e054a57c60233fb51734fa08ce7b8daf53cfb036c9a |
|
MD5 | 6089dd4157a1cc572f34d67a28a16399 |
|
BLAKE2b-256 | 1a2cb233fedcb509c406306b63391537fa437777d4d93a6129d52334fc171148 |