mirror of
https://github.com/NohamR/Ratio.py.git
synced 2025-05-24 00:38:57 +00:00
Change TR version, add orginal project link
This commit is contained in:
parent
676fa6d8f5
commit
9e989fed5e
24
README.md
24
README.md
@ -2,21 +2,39 @@
|
|||||||
|
|
||||||
Ratio.py is a small command line RatioMaster.Net like in Python3. It fakes upload stats of a torrent.
|
Ratio.py is a small command line RatioMaster.Net like in Python3. It fakes upload stats of a torrent.
|
||||||
Current emulators available are:
|
Current emulators available are:
|
||||||
* Transmission 2.92
|
* Transmission 3.00
|
||||||
|
|
||||||
## Requirements:
|
## Requirements:
|
||||||
1. Python 3.x
|
1. Python 3.x
|
||||||
2. pip install -r requirements.txt
|
2. pip install -r requirements.txt
|
||||||
|
|
||||||
## Usage:
|
## Usage:
|
||||||
```console
|
|
||||||
foo@bar:~/ratio.py$ python ratio.py -c configuration.json
|
```bash
|
||||||
|
foo@bar: ~/Ratio.py $ python3 ratio.py -c config.json
|
||||||
|
```
|
||||||
|
|
||||||
|
To run (multiple instances) in background :
|
||||||
|
|
||||||
|
```bash
|
||||||
|
foo@bar: ~/Ratio.py $ nohup python3 ratio.py -c config.json &
|
||||||
|
foo@bar: ~/Ratio.py $ nohup python3 ratio.py -c config.json &> nohup2.out &
|
||||||
|
```
|
||||||
|
|
||||||
|
View logs :
|
||||||
|
|
||||||
|
```bash
|
||||||
|
foo@bar: ~/Ratio.py $ tail -f nohup.out
|
||||||
```
|
```
|
||||||
|
|
||||||
## Configuration example
|
## Configuration example
|
||||||
|
|
||||||
```js
|
```js
|
||||||
{
|
{
|
||||||
"torrent": "<Torrent file path>",
|
"torrent": "<Torrent file path>",
|
||||||
"upload": "<Upload speed (kB/s)>"
|
"upload": "<Upload speed (kB/s)>"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
*This project is an updated fork of [this project](https://github.com/MisterDaneel/Ratio.py).*
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user