Skip to content

This repository is available on PyPI and can be downloaded with 'pip install torrent-client'.

Notifications You must be signed in to change notification settings

jaideep-seth/Torrent_client_gsoc19

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BitTorrent Client

Simple BitTorrent client built with Python's asyncio

Usage

Command Line Interface

  1. Start a daemon:

     torrent_cli.py start &
    
  2. (optional) Look at a list of files in a torrent you want to download:

     torrent_cli.py show ~/Torrents/debian-8.3.0-i386-netinst.iso.torrent
    
  3. Specify a download directory and add the torrent to the daemon:

     torrent_cli.py add ~/Torrents/debian-8.3.0-i386-netinst.iso.torrent -d ~/Downloads
    

    If the torrent contains more than one file, you can select which files you want to download using --include and --exclude options. For more information run:

     torrent_cli.py add --help
    
  4. Watch torrent status:

     watch torrent_cli.py status
    

    Add -v to increase output verbosity.

    You also can add more torrents, pause, resume, and remove them. For more information run:

     torrent_cli.py --help
    
  5. To stop the daemon run:

     torrent_cli.py stop
    

    The daemon will restore its state after restart.

Available on PyPI:

Acknowledgements:

  • Borzunov - The Downloading portion of client!

About

This repository is available on PyPI and can be downloaded with 'pip install torrent-client'.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages