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.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 rtorrent-rpc 0.10.1
File Size Uploaded Provenance Actions
rtorrent_rpc-0.10.1.tar.gz 16.0 kB Without provenance Details for rtorrent_rpc-0.10.1.tar.gz

Built distribution (wheel)

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

Total release size: 32.3 kB

Release files / rtorrent_rpc-0.10.1.tar.gz

Download URL rtorrent_rpc-0.10.1.tar.gz
Size 16.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c697c12774c3f790370c59f033930e0db37e6c73f2f503736ff3b23e43f88833
BLAKE2b-256 checksum
How to use checksums
56d1e33e628f74156740a0779d25a749983620502096a685c3748890fd1ea82e
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.1-py3-none-any.whl

Download URL rtorrent_rpc-0.10.1-py3-none-any.whl
Size 16.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
25e6719e371e7be5afc55d64cd82a3c422c075e596bfd40db6e7b853ae0c0e73
BLAKE2b-256 checksum
How to use checksums
3b3ea177c18c4c6c1cdadbdebb7a20de8fc8de0567baa3121eade73507669fd1
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.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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.10.1 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