Skip to main content

The libp2p daemon bindings for Python

Project description

py-libp2p-daemon-bindings

Unit tests

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

p2pclient-0.2.0.tar.gz (17.9 kB view hashes)

Uploaded Source

Built Distribution

p2pclient-0.2.0-py3-none-any.whl (22.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page