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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: p2pclient-0.2.0.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for p2pclient-0.2.0.tar.gz
Algorithm Hash digest
SHA256 0d41a240679e6bf1d5864b4117043e7586a023df564667aa1bad8e81af937721
MD5 864c267bbc10ef96f2748993a2ecc231
BLAKE2b-256 3a0edd70eb1e3430be0517971d534bf7014916d60287fe87d9686c287ab21bf9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p2pclient-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 22.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for p2pclient-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9671c174e89b09e7f3aefe40c6c004f013c393794de129aca22c8700a17303ee
MD5 037629e9790892394cc95bf5002f1f3c
BLAKE2b-256 4b870565e734a37369318588b7451b476dd70d524ac23aa3211fe33748f89da4

See more details on using hashes here.

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