Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Simple peer2peer library.

Project Description

This library enables you create P2P application.

## Require * Python3 (>=3.5) * [bin-json](

## How to install `commandline pip install git+ `

## How to use `python from p2p_python.client import PeerClient port, net_ver = 1200, 123456789 pc = PeerClient(port, net_ver) pc.p2p.f_tor = False  # Do not use tor. pc.start(f_server=True, f_stabilize=True) `

## Simple example Please look test dir. Simple chat program [](test/

Uer test1 `commandline python3 test/ name >> test1 Create port 2001 Join "test2" [01-01-01-01][test2      ] hello world >> `

Another user test2 `commandline python3 test/ name >> test2 >> /join 2001 Create port 2002 Join "test2" >> hello world [01-01-01-01][test2      ] hello world >> `

## Author [@namuyan_mine](

## Licence MIT

Release History

This version
History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(16.4 kB) Copy SHA256 Hash SHA256
Source Feb 8, 2018

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting