Skip to main content

Typed rtorrent rpc client

PyPI PyPI - Python Version Documentation Status

rtorrent-rpc is a python wrapper on top of rtorrent XML RPC protocol, hosted on GitHub at github.com/trim21/rtorrent-rpc

Document is hosted at https://rtorrent-rpc.readthedocs.io/ by readthedocs.

Introduction

pip install rtorrent-rpc

Contributing

All kinds of PRs (docs, feature, bug fixes and eta...) are most welcome.

Quick Start

from rtorrent_rpc import RTorrent

client = RTorrent(address='scgi://127.0.0.1:5000')
unix_client = RTorrent(address='scgi:///home/ubuntu/.local/share/rtorrent.sock')

tls cert validation is enabled when you are using https protocol, set environment variable PY_RTORRENT_RPC_DISABLE_TLS_CERT=1 to disable.

Known Problem

rTorrent's xmlrpc-c does not support all utf8 characters, for example, emoji.

If torrent name of file name contains any emoji, you can't retrieve correct torrent name or file name through xmlrpc-c.

Please consider either:

  • Compiling rtorrent with tinyxml2 instead of xmlrpc-c, which will allow all unicode characters
  • Using a rtorrent distro with json-rpc support, for example: jesec/rtorrent, which support utf8 correctly. If your rtorrent distro support jsonrpc, you can use send json-rpc request with RTorrent(...).jsonrpc.call(...).

License

rtorrent-rpc is licensed under the MIT license.

Metadata

Release files for rtorrent-rpc 0.10.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 rtorrent-rpc 0.10.0
File Size Uploaded Provenance Actions
rtorrent_rpc-0.10.0.tar.gz 15.4 kB Without provenance Details for rtorrent_rpc-0.10.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rtorrent-rpc 0.10.0
File Interpreter ABI Platform Actions
rtorrent_rpc-0.10.0-py3-none-any.whl Python 3 none any Details for rtorrent_rpc-0.10.0-py3-none-any.whl

Total release size: 31.2 kB

Release files / rtorrent_rpc-0.10.0.tar.gz

Download URL rtorrent_rpc-0.10.0.tar.gz
Size 15.4 kB
Tags Source
SHA-256 checksum
How to use checksums
98eb1a6a26e2f415aba274fbb567d9e9003bd6a4c1b3dd1890f22580d26651f1
BLAKE2b-256 checksum
How to use checksums
b570a52ea768981b373916e77d40276220766708256939aebb14e7be202cb06b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / rtorrent_rpc-0.10.0-py3-none-any.whl

Download URL rtorrent_rpc-0.10.0-py3-none-any.whl
Size 15.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ac54bb746e4911c8933ee7becd78ab2619c4d4bd10d2ba540c446a29e06f92a
BLAKE2b-256 checksum
How to use checksums
fff3162b0f30386b0cd3a4630d309044502136c33a14d4dddd2211745ec6f846
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for rtorrent-rpc 0.10.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.

Release history Release notifications | RSS feed

This release

0.10.0 This release

2 release files No provenance

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