The libp2p daemon bindings for Python
Provides a client library to interact with the official libp2p daemons. Supports the Go and JavaScript daemons.
Features:
- The
Clientclass enables communication with a P2P daemon using its protobuf control protocol. - The
Daemonclass allows to spawn a P2P daemon from Python code. This is especially useful for testing.
Tested with the Go daemon v0.2.0 and the JS daemon v0.10.2.
-
Identify -
Connect -
StreamOpen -
StreamHandler- Register -
StreamHandler- Inbound stream - DHT ops
- Conn manager ops
- PubSub ops
-
Identify -
Connect -
StreamOpen -
StreamHandler- Register -
StreamHandler- Inbound stream - DHT ops / most functionalities are bugged and some are not implemented
- Conn manager ops
- PubSub ops
- PeerStore