A CLI Bittorrent client for peer to peer sharing of files written in Python using multithreading. It works with any torrent file. It can download as well as upload files.
- Linux
- Python 3.5 or later
- bencodepy
pip3 install bencodepy
- The most basic way to run the program is
python3 main.py <path to torrent file>
- The optional parameters are:
Parameter | Syntax | Definition |
---|---|---|
path | -path <output-path> | This is used to define output folder for the torrent. It must end with a /. The folder must exist. |
download speed | -dk <speed> | This defines maximum download speed in kilobits per second. |
download speed | -dm <speed> | This defines maximum download speed in megabits per second. |
upload speed | -uk <speed> | This defines maximum upload speed in kilobits per second. |
upload speed | -um <speed> | This defines maximum upload speed in megabits per second. |
peers | -peers <integer> | This is the maximum number of peers that it can connect to. Default is 100. |