Typed rtorrent rpc client
Project description
Typed rtorrent rpc client
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 -U
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')
Known problem:
rTorrent's xmlrpc do not support all utf8 characters, for example, emoji.
If torrent name of file name contains any emoji, you can't retrieve correct torrent name of file name through xmlrpc.
Please consider use a rtorrent distro with json-rpc support, for example: jesec/rtorrent
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for rtorrent_rpc-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d25476295b6580eadae84503e8d9363d08ba7d23705c38e7552500dbc6a3697 |
|
MD5 | 6f94f70ccb99b06ea77f41f8f3c4d4f9 |
|
BLAKE2b-256 | 9c4956525754327545ba1d562e87f00b44d899c26a15cffa4d9e35dc1613844f |