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.1.tar.gz (29.0 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.2.1-py3-none-any.whl (26.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: p2pclient-0.2.1.tar.gz
  • Upload date:
  • Size: 29.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for p2pclient-0.2.1.tar.gz
Algorithm Hash digest
SHA256 98fc7fde2881c902a9e08b830ba6e56cf30ae04d6e0989a4a859dfbca792e3dc
MD5 7377f5753312d132c2db759a0a7e6944
BLAKE2b-256 8b74a77ead4762f05e47dd8c7199de7aa13dbb5feba25c027e4a8e852fb033a1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p2pclient-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 26.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for p2pclient-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6734b966b7d2e5b2f42cd4778fc15ab81085188fc3d81d2288ae276d6ab020df
MD5 a2c408e8684fb2b2bbf84752f63f20df
BLAKE2b-256 ee6062bc9895d9028bdf483487bfdd70cab83a11434393a623be2abc306ceb40

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