Skip to main content

Pump

Concurrent file downloader written in Python

Downloads file in parts using multiple concurrent threads

Installation

Install the tool using pip

$ pip install pump-downloader

Usage

Use as pump through shell

$ pump --help
Usage: pump [OPTIONS] URL

  Multithreaded Downloader for concurrent downloads

Options:
  -s, --csize INTEGER     Chunk size to use, defaults to size/#chunks
  -c, --ccount INTEGER    Number of Chunks to download concurrently
  -o, --output-path TEXT  Path to write the downloaded output file
  -q, --quiet             Disable verbose
  -f, --force             Suppress confirmation for filename
  -H, --header TEXT       Pass each request header (as in curl)
  --help                  Show this message and exit.

Example

$ pump 'https://storage.googleapis.com/kaggle-data-sets/705300/1231826/compressed/multinli_1.0_train.txt.zip' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:98.0) Gecko/20100101 Firefox/98.0' \
-H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' \
-H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate, br' \
-H 'Referer: https://www.kaggle.com/' -H 'Alt-Used: storage.googleapis.com' \
-H 'Connection: keep-alive' -H 'Upgrade-Insecure-Requests: 1' -H 'Sec-Fetch-Dest: document' \
-H 'Sec-Fetch-Mode: navigate' -H 'Sec-Fetch-Site: cross-site' -H 'Sec-Fetch-User: ?1' \
-H 'Pragma: no-cache' -H 'Cache-Control: no-cache'
File will be saved as multinli_1.0_train.txt.zip
Do you want to change the name? [y/N]: n
Fetching 102.88 MiBs in 8 chunks

Metadata

Release files for pump-downloader 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pump-downloader 0.2.2
File Size Uploaded Provenance Actions
pump-downloader-0.2.2.tar.gz 10.2 kB Without provenance Details for pump-downloader-0.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pump-downloader 0.2.2
File Interpreter ABI Platform Actions
pump_downloader-0.2.2-py3-none-any.whl Python 3 none any Details for pump_downloader-0.2.2-py3-none-any.whl

Total release size: 21.5 kB

Release files / pump-downloader-0.2.2.tar.gz

Download URL pump-downloader-0.2.2.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5d5180719884bea18690e003e5012abaf6903f4446cc48b9342cf4a5c9e761a4
BLAKE2b-256 checksum
How to use checksums
9f1694263023b94889400b07659fa3483b29aa28313d76d8e371aef2a5d5ba7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release files / pump_downloader-0.2.2-py3-none-any.whl

Download URL pump_downloader-0.2.2-py3-none-any.whl
Size 11.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5f05cb1ddfb4c13e2d1687f930ae251a5bc7331f8e3d9699b90fa55a0531375b
BLAKE2b-256 checksum
How to use checksums
cc404f77951f1f99481fb96964e8c6fc5cfc182b24f910b20309a0cf3376de56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Security for pump-downloader 0.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page