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
Metadata
Release files for chunkrs 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| chunkrs-0.1.0.tar.gz | 20.6 kB | Details |
Release files / chunkrs-0.1.0.tar.gz
| Download URL | chunkrs-0.1.0.tar.gz |
|---|---|
| Size | 20.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7e013047233774be927251f1e162f1ce69c0b98929de7c9c1abd31b2c3b470d3
|
|
BLAKE2b-256 checksum How to use checksums |
a760f5ca28712517866819dc09de9949c5eed3f928de6d645d21ed1e36d7d984
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.5
|