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.9.7

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.9.7
File Size Uploaded
rtorrent_rpc-0.9.7.tar.gz 487.8 kB Details

Built distribution (wheel)

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

Total release size: 503.5 kB

Release files / rtorrent_rpc-0.9.7.tar.gz

Download URL rtorrent_rpc-0.9.7.tar.gz
Size 487.8 kB
Tags Source
SHA-256 checksum
How to use checksums
33688a217718307f093b1465b1679fab4257111cabe3d5d6c5e2c689b106aab5
BLAKE2b-256 checksum
How to use checksums
a35bcc56f3ff5ddca573bc0fea133b1ec2eace4c8faed83a628ebefbe9b201ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.34.2

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

Download URL rtorrent_rpc-0.9.7-py3-none-any.whl
Size 15.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2246a1482450186cd8a42a8fbd02539f8378bb666200fb0449b9508c29589e4d
BLAKE2b-256 checksum
How to use checksums
37a0d5de2c5969db79ab93f6f4df167c08cd3d179c2e37be6e84069e4e91aa98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.34.2

Release history Release notifications | RSS feed

This release

0.9.7 This release

2 release files

0.9.6

2 release files

0.9.5

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.4

2 release files

0.8.3

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.6

2 release files

0.7.5

2 release files

0.7.4

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.5

2 release files

0.6.4

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.18

2 release files

0.0.16

2 release files

0.0.15

2 release files

0.0.14

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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