Skip to main content

Multiplexed chunked file downloader

Project description

StreamShatter

Originally a very basic script for downloading files from servers with inconsistent connections, this project has been revisited and modernised to use https://github.com/jawah/niquests for multiplexing performance, both for private testing of niquests' stability, and for general improvements in functionality for those who still have use for such a tool.

StreamShatter takes advantage of the Range HTTP header to dynamically allocate multiple chunks, by starting with one streaming request and gradually bisecting it while bandwidth permits, all without restarting the download. This allows for single, large file downloads from hosts that, whether intentionally or unintentionally, have degraded throughputs. The individual chunks also serve as checkpoints for if/when connections are broken.

Installation

  • Install python and pip
  • Install StreamShatter as a package: pip install streamshatter

Usage

usage: streamshatter [-h] [-V] [-c CACHE_FOLDER] [-l LIMIT] url [filename]

Multiplexed chunked file downloader

positional arguments:
  url                   Target URL
  filename              Output filename

options:
  -h, --help            show this help message and exit
  -V, --version         show program's version number and exit
  -c, --cache-folder CACHE_FOLDER
                        Folder to store temporary files
  -l, --limit LIMIT     Limits the amount of chunks to download

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

streamshatter-1.0.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

streamshatter-1.0.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file streamshatter-1.0.0.tar.gz.

File metadata

  • Download URL: streamshatter-1.0.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.5

File hashes

Hashes for streamshatter-1.0.0.tar.gz
Algorithm Hash digest
SHA256 cac08eb6d902c27d7e3699c61b2fc0cc40e295d4c6f3dfe886bd4585de441b70
MD5 018bfd289a3160b4b5e5c754b683e579
BLAKE2b-256 a0185bf3068c3ca026d65decf4e7694a489112bd26968aa9161ff138bbfd2242

See more details on using hashes here.

File details

Details for the file streamshatter-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: streamshatter-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.5

File hashes

Hashes for streamshatter-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f1fa9f4466e9ea105bd8d560ff818ae03c3db2ba0f2a500c8249da5fc113b8fb
MD5 6208d70b7c8e8b3d49a9d48050a3938f
BLAKE2b-256 265372f2c052e046ec7c9eb13bcf1dad1f19caf1c4da21ee68378bac79cff138

See more details on using hashes here.

Supported by

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