]> git.mxchange.org Git - quix0rs-apt-p2p.git/blobdiff - apt_dht/__init__.py
Rename project to apt-p2p.
[quix0rs-apt-p2p.git] / apt_dht / __init__.py
index b945cecc62c30ca08dbcd6d0d80ee973236e9dcd..356924f083b6cb9652d7d8fc322a506588b14c4b 100644 (file)
@@ -1,17 +1,17 @@
 
-"""The main apt-dht modules.
+"""The main apt-p2p modules.
 
-To run apt-dht, you probably want to do something like::
+To run apt-p2p, you probably want to do something like::
 
-  from apt_dht.apt_dht import AptDHT
-  myapp = AptDHT(myDHT)
+  from apt_p2p.apt_p2p import AptP2P
+  myapp = AptP2P(myDHT)
 
 where myDHT is a DHT that implements interfaces.IDHT.
 
 Diagram of the interaction between the given modules::
   
   +---------------+    +-----------------------------------+    +-------------
-  |     AptDHT    |    |               DHT                 |    |  Internet
+  |     AptP2P    |    |               DHT                 |    |  Internet
   |               |--->|join                            DHT|----|--\    
   |               |--->|loadConfig                         |    |  | Another
   |               |--->|getValue                           |    |  | Node