Skip to content

mjperez/p2p-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Python BitTorrent Client

A lightweight BitTorrent client implementation written in pure Python. This project aims to understand the deep internals of the BitTorrent protocol (BEP 0003) and network socket programming without relying on external high-level libraries.

Architecture

  • Bencoding Parser: Custom implementation of the bencoding serialization format.
  • Tracker Communication: HTTP/UDP interaction with trackers (In Progress).
  • Peer Wire Protocol: Handling TCP connections and message states (In Progress).

Usage

python main.py <file.torrent>

About

Pure Python BitTorrent client implementation from scratch. Focus on raw socket programming, Bencoding serialization, and BEP protocol internals.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors