X-Git-Url: https://git.mxchange.org/?p=quix0rs-apt-p2p.git;a=blobdiff_plain;f=apt_dht%2F__init__.py;h=b945cecc62c30ca08dbcd6d0d80ee973236e9dcd;hp=c4dcfb4748a1308bbf456e31c2576240f7fc721a;hb=5ae15cb5cc24c1fd9a75ea7a8b416f733d1c79be;hpb=04e422d1ddc237684b4b236aff984d2f76ec2c8c diff --git a/apt_dht/__init__.py b/apt_dht/__init__.py index c4dcfb4..b945cec 100644 --- a/apt_dht/__init__.py +++ b/apt_dht/__init__.py @@ -1,6 +1,13 @@ """The main apt-dht modules. +To run apt-dht, you probably want to do something like:: + + from apt_dht.apt_dht import AptDHT + myapp = AptDHT(myDHT) + +where myDHT is a DHT that implements interfaces.IDHT. + Diagram of the interaction between the given modules:: +---------------+ +-----------------------------------+ +-------------