Skip to main content

Multithreaded fast downloader

Project description

Fast Downloader

Why?

Primarly, to have a nice tool to download ubuntu packages with apt-fast.

Documents

CHANGELOG.md

LICENSE MIT

Features

  • Download multiple files in parallel
  • Partially compatible with aria2 input file format

Installing

Install with pip or your favorite PyPi package manager.

pip install fast-downloader-mt

Dependencies

  • Python 3.8+
  • Rich
  • Requests
  • Click

Usage

Usage: fdl [OPTIONS] [URLS]...

Options: -t, --threads INTEGER thread number -i, --input PATH input file -q, --quiet -d, --destination PATH --aria2-compatibility --buffer-size INTEGER --help Show this message and exit.

Default number of threads set to cpu_count()

Usage with apt-fast

In /etc/apt-fast.conf

_DOWNLOADER='fdl --aria2-compatibility -t ${_MAXNUM} -i ${DLLIST} -d ${DLDIR}'

Dev environment

Dev dependencies

  • pytest
  • pylint
  • black
  • mypy
  • flake8
  • bandit
  • safety

Setup

With poetry:

poetry install

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

fast-downloader-mt-0.1.0.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

fast_downloader_mt-0.1.0-py3-none-any.whl (5.6 kB view hashes)

Uploaded Python 3

Supported by

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