Kademlia Documentation


This library assumes you have a working familiarity with asyncio.

This library is an asynchronous Python implementation of the Kademlia distributed hash table. It uses asyncio to provide asynchronous communication. The nodes communicate using RPC over UDP to communiate, meaning that it is capable of working behind a NAT.

This library aims to be as close to a reference implementation of the Kademlia paper as possible.

Indices and tables