Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

License

Notifications You must be signed in to change notification settings

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

Readme

License

MIT license

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published