Awesome
py-libp2p-daemon-bindings
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
Client
class enables communication with a P2P daemon using its protobuf control protocol. - The
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.
Supported features (Go daemon)
-
Identify
-
Connect
-
StreamOpen
-
StreamHandler
- Register -
StreamHandler
- Inbound stream - DHT ops
- Conn manager ops
- PubSub ops
Supported features (JS daemon)
-
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