Skip to main content
Join the chat at https://gitter.im/ethereum/pydevp2p https://badge.fury.io/py/devp2p.png https://travis-ci.org/ethereum/pydevp2p.png?branch=master https://coveralls.io/repos/ethereum/pydevp2p/badge.svg https://readthedocs.org/projects/pydevp2p/badge/?version=latest

Python implementation of the Ethereum P2P stack

Introduction

pydevp2p is the Python implementation of the RLPx network layer. RLPx provides a general-purpose transport and interface for applications to communicate via a p2p network. The first version is geared towards building a robust transport, well-formed network, and software interface in order to provide infrastructure which meets the requirements of distributed or decentralized applications such as Ethereum. Encryption is employed to provide better privacy and integrity than would be provided by a cleartext implementation.

RLPx underpins the DEVp2p interface:

Full spec:

Dependencies

On Ubuntu:

$ sudo apt-get install libssl-dev build-essential automake pkg-config libtool libffi-dev libgmp-dev

Features

  • Node Discovery and Network Formation

  • Peer Preference Strategies

  • Peer Reputation

  • Multiple protocols

  • Encrypted handshake

  • Encrypted transport

  • Dynamically framed transport

  • Fair queuing

Security Overview

  • nodes have access to a uniform network topology

  • peers can uniformly connect to network

  • network robustness >= kademlia

  • protocols sharing a connection are provided uniform bandwidth

  • authenticated connectivity

  • authenticated discovery protocol

  • encrypted transport (TCP now; UDP in future)

  • robust node discovery

History

0.0.1 (2014-01-11)

  • First release on PyPI.

Metadata

Release files for devp2p 0.9.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for devp2p 0.9.3
File Size Uploaded Provenance Actions
devp2p-0.9.3.tar.gz 74.7 kB Without provenance Details for devp2p-0.9.3.tar.gz

Release files / devp2p-0.9.3.tar.gz

Download URL devp2p-0.9.3.tar.gz
Size 74.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9e9244838cbf5b0ea6dd3472dc870532eaa29463fc0fab9cdf8cf199968044d1
BLAKE2b-256 checksum
How to use checksums
be6980f0122014bac80e669960be46ea916bb8c062a203125917c43a49eba97f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for devp2p 0.9.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page