Skip to main content

Aiodl -- Yet another command line download accelerator.

Project description

Aiodl

PyPI version

Aiodl – Yet another command line download accelerator.

Features

  • Accelerate the downloading process by using multiple connections for one file.
  • Reasonable retries on network errors.
  • Breakpoint resume.

Installation

$ pip3 install aiodl --user
# or
$ sudo pip3 install aiodl

Usage

Commandline

Simply call aiodl with the URL:

$ aiodl https://dl.google.com/translate/android/Translate.apk

  File: Translate.apk
  Size: 16.8M
  Type: application/vnd.android.package-archive

 11%|████▎                                  | 1.78M/16.0M [00:03<00:26, 565KB/s]

Hit Ctrl+C to stop the download. Aiodl will save necessary information to <download-file>.aiodl, next time it will automatically continue to download from here.

Other arguments:

--fake-user-agent, -u  Use a fake User-Agent.
--num-tasks N, -n N    Limit number of asynchronous tasks.
--max-tries N, -r N    Limit retries on network errors.

In your script

import aiodl

# in an async function
filename = await aiodl.download('https://dl.google.com/translate/android/Translate.apk', quiet=True)

Project details


Release history Release notifications

This version
History Node

0.5.7

History Node

0.4.7

History Node

0.4.6

History Node

0.4.5

History Node

0.3.5

History Node

0.3.4

History Node

0.2.4

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
aiodl-0.5.7.tar.gz (5.5 kB) Copy SHA256 hash SHA256 Source None Mar 28, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page