DHT for Python 3 based on Isaac Zafuta's pydht: https://github.com/isaaczafuta/pydht
To use DHT3k in a project:
import dht3k dht = dht3k.DHT(zero_config=True) dht["key"] = b"value"
To improve performance and quality of the service install these modules:
- miniupnpc
- Python 3 support
- TCP/SSL
- Zero config mode
- Address discovery
- NAT/Firewall detection
- Well known bootstrap node
- Optional interface for threaded environments using concurrent.futures
- Disk storage (memory storage optional)
- IPv6 and IPv6/4 convergence
- UPnP support
- NAT Optimization: NATed/firewalled peers are moved to the end of the routing table faster. This should improve performance for both firewalled and well connected peers. Also well connected nodes are returned first
- Less latency and waiting than standard Kademlia
- msgpack for wire protocol
- asyncio based