Skip to main content

How to using this package

Installing

pip install aria2_rpc_client

Using

from aria2_rpc_client import DefaultClient
from aria2_rpc_client import DefaultConnection
from aria2_rpc_client import FileDownloadOptions

# Make connection, enter aria2 rpc server information
connection = DefaultConnection("localhost", "6800", "top_secret_key")

# Make client
client = DefaultClient(connection)

# Download options
options = FileDownloadOptions()
options.set_filename("changed.mkv")
options.set_dir("/home/user/downloads")
options.add_header("token", "da78d676ds6a86dsa6d8sa6d8")

# Download start & set options
result = client.add_uri(["https://jell.yfish.us/media/jellyfish-15-mbps-hd-h264.mkv"], options)

# Get defined GID number from aria2
print(result)
# 6be2fb970af88d07

# Set download pause
pause_download = client.pause(result)
print(pause_download)
# 6be2fb970af88d07

Metadata

Release files for aria2-rpc-client 0.5.0

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

Source distribution (sdist)

Source distribution for aria2-rpc-client 0.5.0
File Size Uploaded Provenance Actions
aria2_rpc_client-0.5.0.tar.gz 3.7 kB Without provenance Details for aria2_rpc_client-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aria2-rpc-client 0.5.0
File Interpreter ABI Platform Actions
aria2_rpc_client-0.5.0-py3-none-any.whl Python 3 none any Details for aria2_rpc_client-0.5.0-py3-none-any.whl

Total release size: 8.6 kB

Release files / aria2_rpc_client-0.5.0.tar.gz

Download URL aria2_rpc_client-0.5.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0630a413f2ca912239e34c7a70caf4f27266c829c17a3030987ded7a55291f60
BLAKE2b-256 checksum
How to use checksums
c9eea120fb8f8304f2c3dbe8ffbd1a7279db62e2d1f899212320bb0730a41c6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.0 CPython/3.11.2 Darwin/22.3.0

Release files / aria2_rpc_client-0.5.0-py3-none-any.whl

Download URL aria2_rpc_client-0.5.0-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c75cfdf4be22f80465d833e7aaa705a2ef9db77282522758c51e87eb0c834036
BLAKE2b-256 checksum
How to use checksums
4395dca1620d1d5ec77f23c4e1d8c9b478635280c3d71a807bc5491d1c94fe84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.0 CPython/3.11.2 Darwin/22.3.0

Security for aria2-rpc-client 0.5.0

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.

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