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.9.2 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.3.0.tar.gz (29.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

p2pclient-0.3.0-py3-none-any.whl (26.4 kB view details)

Uploaded Python 3

File details

Details for the file p2pclient-0.3.0.tar.gz.

File metadata

  • Download URL: p2pclient-0.3.0.tar.gz
  • Upload date:
  • Size: 29.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for p2pclient-0.3.0.tar.gz
Algorithm Hash digest
SHA256 98ccfd75642de9d0c532f1d1f06aec0c63d115c0f3341a0f488185a6e928a087
MD5 c0da776f70ad20861305350555bdb75f
BLAKE2b-256 39fa4c63a757f897ae8bb7928d84d730c41e163bd02c8b7bd9a08371a2a38c05

See more details on using hashes here.

File details

Details for the file p2pclient-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: p2pclient-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 26.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for p2pclient-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 430f4aba54194ed467dcf961babcaccfd7a278271be0574bb2aa2a6606b10f85
MD5 5584acedad5f994835113a2f66d524de
BLAKE2b-256 55ab30cef9dd9d836c36f09dd6508f53d32a74da3df1254d87c1a839f28ec156

See more details on using hashes here.

Supported by

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