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


Download files

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

Source Distribution

aiodl-0.5.7.tar.gz (5.5 kB view details)

Uploaded Source

File details

Details for the file aiodl-0.5.7.tar.gz.

File metadata

  • Download URL: aiodl-0.5.7.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for aiodl-0.5.7.tar.gz
Algorithm Hash digest
SHA256 370bdd274abed476151760c9839965d2c0d5c8c0feef84c3826316b9f05c11ff
MD5 afa1e4b1e459eafca6798ab26c7f6176
BLAKE2b-256 14eb54110408003f3ba6e3ed131f754e4625a682be2ff293811f6eb2731c7a55

See more details on using hashes here.

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