https://github.com/r4victor/torrent_client
Greedy, eager, almost usable.
https://github.com/r4victor/torrent_client
bittorrent cli python tags torrent torrent-client
Last synced: 6 months ago
JSON representation
Greedy, eager, almost usable.
- Host: GitHub
- URL: https://github.com/r4victor/torrent_client
- Owner: r4victor
- Created: 2018-01-09T16:39:11.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-09T18:09:04.000Z (almost 8 years ago)
- Last Synced: 2025-02-14T22:34:00.367Z (8 months ago)
- Topics: bittorrent, cli, python, tags, torrent, torrent-client
- Language: Python
- Homepage:
- Size: 194 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Overview
This is a command-line BitTorrent client written in pure python without third-party modules and magic.
Package includes:
`cli.py` – command-line interface entry point
`client.py` – client implementation
`bencode.py` – encoding and decoding bencode
`tracker.py` – tracker connection
`files.py` – handling torrent files
`pwp/messages.py` – building and parsing Peer Wire Protocol messages
`pwp/connection.py` – peer connection
## Using
To start or stop downloading enter a torrent number: `2`.
If you don't want to download all files in a package, use the following syntax:``` ```
To close the client use command `exit`. In this case all data will be saved correctly.
## Features
1. Simultaneous downloads
2. Possibility of downloading individual files
3. Data recovery## Version
1.0
## Author
Victor Skvortsov
## Why
Optional task for course at my university.