Skip to content

supersaeyan/bittorpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bittorpy

Implemented a bep003 compliant Bit torrent engine in python as an attempt to learn Peer to Peer communication and gain experience in that paradigm. It supports http(s) trackers and implements Peer wire protocol.

The architecture is a variation of an Asynchronous Producer-Consumer model and can also be described as distributed publisher-subscriber with multiple topics where each piece downloaded from peers is added to respective file writer queue as a topic and the file writer coroutine is the subscriber for file writer queues.

It uses AsyncIO event loop as Network download and Disk writing are both IO blocking tasks, making it very efficient.

About

Implementing a bittorrent engine in python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages