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!
Note
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
Note
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
Installation¶
pip install peerpy
Source code¶
Please refer to python sources documentation or peerpy’s github repository.