A high-performance tool that downloads files in parallel chunks to maximize bandwidth utilization
Project description
chunkrs
A high-performance parallel file downloader with Python bindings, powered by Rust.
Installation
pip install chunkrs
CLI also available with:
uvx chunkrs --help
uvx tool install chunkrs
chunkrs --help
Usage
from chunkrs import download
# Basic usage
download(url="https://example.com/large-file.zip", output_file="large-file.zip")
# Advanced usage
download(
url="https://example.com/large-file.zip",
output_file="large-file.zip",
chunk_size=16 * 1024 * 1024, # 16MB chunks
max_parallel=8, # Limit parallel connections
verbose=False # Hide progress bars
)
Features
- Multi-threaded parallel downloads
- Configurable chunk size and connection limits
- Progress tracking with statistics
- Pre-allocation of file space for performance
License
MIT
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
chunkrs-0.1.0.tar.gz
(20.6 kB
view details)
File details
Details for the file chunkrs-0.1.0.tar.gz.
File metadata
- Download URL: chunkrs-0.1.0.tar.gz
- Upload date:
- Size: 20.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e013047233774be927251f1e162f1ce69c0b98929de7c9c1abd31b2c3b470d3
|
|
| MD5 |
d284e203b5c54a0cd048025c5447e924
|
|
| BLAKE2b-256 |
a760f5ca28712517866819dc09de9949c5eed3f928de6d645d21ed1e36d7d984
|