astroport-iptubes/lib/ratiomaster
poka 11bac3f517 Add ratiomaster lib. 2020-09-03 23:24:46 +02:00
..
code Add ratiomaster lib. 2020-09-03 23:24:46 +02:00
README.md Add ratiomaster lib. 2020-09-03 23:24:46 +02:00
ratio.py Add ratiomaster lib. 2020-09-03 23:24:46 +02:00
requirements.txt Add ratiomaster lib. 2020-09-03 23:24:46 +02:00

README.md

Ratio.py

Ratio.py is a small command line RatioMaster.Net like in Python3. It fakes upload stats of a torrent. Current emulators available are:

  • Transmission 2.92

Requirements:

  1. Python 3.x
  2. pip install -r requirements.txt

Usage:

foo@bar:~/ratio.py$ python ratio.py -c configuration.json 

Configuration example

{
   "torrent": "<Torrent file path>",
   "upload": "<Upload speed (kB/s)>"
}