Peerpy documentation

This module provides a high-level API for discovering and connecting multiple devices on a local network, without the headache of implementing python’s built-in socket module!


Peerpy is built on top of the python’s builtin socket module, using threading for parallel computing, naming:

  • your application code
  • listening for connections
  • sending/receiving data
  • sending/answering pings


This module allows to quickly link the application layer (your application) to the transport layer (provided by python’s socket module) of the OSI model.

What is it made for?

  • IoT devices (e.g. Rasberry Pi)
  • Blockchain
  • Fast proof of concepts


pip install peerpy