The libp2p daemon bindings for Python
Provides a client library to interact with the official libp2p daemons. Supports the Go and JavaScript daemons.
Features:
Client
class enables communication with a P2P daemon using its protobuf control protocol.Daemon
class 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
- RegisterStreamHandler
- Inbound streamIdentify
Connect
StreamOpen
StreamHandler
- RegisterStreamHandler
- Inbound stream