mirror of
https://github.com/NohamR/Ratio.py.git
synced 2025-05-23 16:28:58 +00:00
1.3 KiB
1.3 KiB
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 4.0.6
Requirements
- Python 3.x
- pip install -r requirements.txt
- a torrent file (use one with lots of leechers)
Download
Using git
command:
git clone https://github.com/garnajee/Ratio.py.git
Or using cURL
:
curl -L https://github.com/garnajee/Ratio.py/archive/master.tar.gz -o Ratio.py.tar.gz
tar xzf Ratio.py.tar.gz
rm Ratio.py.tar.gz
mv Ratio.py-master Ratio.py
Navigate to the folder:
cd Ratio.py
Then configure your config.json
file.
Configuration example
{
"torrent": "<Torrent folder path>",
"upload": "<Upload speed (kB/s)>"
}
Usage:
python3 ratio.py -c config.json
To run (multiple instances) in background :
nohup python3 ratio.py -c config.json &
nohup python3 ratio.py -c config.json &> nohup2.out &
View logs :
tail -f nohup.out
This project is an updated fork of this project.