
Product
Unify Your Security Stack with Socket Basics
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.
rtorrent-rpc
Advanced tools
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.
pip install rtorrent-rpc
supported extras:
orjson
: use orjson as jsonlibpip install 'rtorrent-rpc[orjson]'
All kinds of PRs (docs, feature, bug fixes and eta...) are most welcome.
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.
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 or file name through xmlrpc.
Please consider use 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(...)
.
rtorrent-rpc
is licensed under the MIT license.
FAQs
Typed rtorrent rpc client
We found that rtorrent-rpc demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.
Product
Socket is launching experimental protection for the Hugging Face ecosystem, scanning for malware and malicious payload injections inside model files to prevent silent AI supply chain attacks.
Research
/Security News
The Socket Threat Research Team uncovered a coordinated campaign that floods the Chrome Web Store with 131 rebranded clones of a WhatsApp Web automation extension to spam Brazilian users.