Skip to content

kannibalox/pyrosimple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f60842c · Nov 3, 2022
Sep 20, 2022
Nov 2, 2022
Nov 3, 2022
Jun 13, 2022
Nov 3, 2022
Sep 20, 2022
Jun 21, 2022
Sep 20, 2022
Oct 24, 2022
Oct 25, 2022
Oct 24, 2022
Nov 3, 2022

Repository files navigation

pyrosimple

GitHub Workflow Status PyPI PyPI - Python Version

A overhauled Python 3 fork of the pyrocore tools, for working with the rTorrent client.

Installation

pip install pyrosimple
# pip install 'pyrosimple[torque]' # Optional dependencies for using pyrotorque

See the documentation for usage. If you've used rtcontrol/rtxmlrpc before, you should feel right at home.

What's the point of this?

The pyrocore tools are great, but being stuck on python 2, along with the complicated install procedure made integrating both the tools and the code into other processes very painful.

Differences from pyrocore

The following lists are not exhaustive, and don't cover many of the internal improvements and refactoring.

  • Only supports python 3 and rTorrent 0.9.6+ (this includes rtorrent-ps and rtorrent-ps-ch)
  • Simpler poetry-based build system, with a single package to install
  • Performance improvements (faster templating and only fetching required fields)

New features

  • Multi-instance support for rtcontrol/rtxmlrpc
  • Replaced Tempita with Jinja2
  • Support for JSON-RPC (only implemented by https://github.com/jesec/rtorrent)
  • Actions to move torrent between paths, or torrents between hosts

Legacy branch

If you just want to use the pyrocore tools on python 3 without all the new features, you can use the release-1.X branch (1.3 is the latest release at time of writing). These releases will only receive bug fixes or changes to maintain compatibility with the original pyrocore tools.