rtorrent-migrate
rtorrent-migrate is a command-line utility used to bulk-convert your data and/or session directory of torrents in rTorrent
It also includes a class that can be used in Python scripts
Usage documentation and examples are available here
Requirements
Installation
Install from PyPI:
pip3 install rtorrent-migrate
Install from source:
git clone https://gitlab.com/adralioh/rtorrent-migrate.git
pip3 install ./rtorrent-migrate
If you don't want to install, you can also run the module directly:
# Run from within the git repo
python3 -m rtorrent_migrate --help
Tests
Tests are run using the built-in unittest
module, and Coverage.py is used to measure code coverage
Run tests without measuring coverage:
python3 -m unittest discover -s tests -t .
Run tests and measure coverage:
coverage run -m unittest discover -s tests -t .
View the results:
coverage report
Generate a detailed report, outputted to ./htmlcov
:
coverage html
Building documentation
Sphinx is used to build documentation
Build requirements:
How to build:
cd docs
make html