Skip to main content

aria2r

In the spirit of aria2c and aria2p, aria2r is a command line utility to add downloads to a (r)emote, or (r)unning instance of aria2.

While aria2 is a great download manager, one of its biggest drawbacks is the inability to easily add additional downloads when run as a daemon. While it is possible to add downloads through one of the several available GUIs, you are limited to adding one download at a time, and scrolling through seemingly endless options to find the ones you want to change.

The goal of aria2r is to provide a familiar interface for quickly and easily adding a single or multiple downloads to aria2 without having to restart the service. Aria2r strives to match the interface, design, and verbiage used by aria2c as much as possible.

Full documentation.

Installation

aria2r is written in Python and can be installed through pip.

pip install aria2r --user

Examples

Basic example of adding a single download to aria2 running on the same machine

aria2r "http://host/file.zip"

Download a file from 2 mirrors

aria2r "http://host/file.zip" "http://mirror/file.zip"

Add downloads to a remote server listening on a non-default port

aria2r --host 10.0.0.1 --port 8660 "http://host/file.zip"

Add multiple downloads through an aria2 input file

aria2r -i /path/to/input-file.txt

Command Line Options

usage: aria2r [-h] [-C CONFIG] [-i INPUT_FILE] [--dry-run] [--host HOST] [--port PORT] [--rpc-secret RPC_SECRET] [-v] [-q] [urls ...]

positional arguments:
  urls                  One or more urls to a file. All given urls must be mirrors to the same
                        file and be http/https protocol. Torrent, Magnet, and Metalink files are not supported.

options:
  -h, --help            show this help message and exit
  -C, --config CONFIG   config file path
  -i, --input_file INPUT_FILE
                        Path to an aria2c formatted input file
  --dry-run             Read the input file or urls and build the request, but don't send it to the
                        aria2 instance. (This takes precedence over the aria2c --dry-run option, which as been renamed to --dry-run-aria2c)
  --host HOST           The ip or fully qualified domain name where aria2 is located.
                        (Default: localhost)
  --port PORT           The port that aria2 listens on. (Default: 8600)
  --rpc-secret RPC_SECRET
                        Secret authorization token set for the aria2 rpc interface.
  -v, --verbose         Increase level of output.
  -q, --quiet           Decrease level of output.

Metadata

Release files for aria2r 0.11.1

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

Source distribution (sdist)

Source distribution for aria2r 0.11.1
File Size Uploaded Provenance
aria2r-0.11.1.tar.gz 12.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for aria2r 0.11.1
File Interpreter ABI Platform
aria2r-0.11.1-py3-none-any.whl Python 3 none any Details

Total release size: 24.6 kB

Release files / aria2r-0.11.1.tar.gz

Download URL aria2r-0.11.1.tar.gz
Size 12.9 kB
Tags Source
SHA-256 checksum
How to use checksums
92bd22a9cb8af0a4d424f4ff3ec2e105c5ac3bfd1d20379a4a69cf122cfe336f
BLAKE2b-256 checksum
How to use checksums
5006d86a8d6d448c8199906ec4db7a8f02d172fafadb1410c6305a2b96357441
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / aria2r-0.11.1-py3-none-any.whl

Download URL aria2r-0.11.1-py3-none-any.whl
Size 11.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d39a0da855f21d86f59f73a56501a7b09ad5a62c1739a28afefee068bac85ef4
BLAKE2b-256 checksum
How to use checksums
3b535fdf6cf49e0620974bec1e872ce6f917ca4685b3b7612b2e64ff6110f2e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.15

Security for aria2r 0.11.1

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.

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