Show HN: P2PD – Async p2p networking library for Python 3

https://roberts.pm/p2pd
by Uptrenda • 4 years ago
2 0 4 years ago

Hello HN, I've been working on a new async networking lib for Python. The library has now reached a state where people could start to try it out. Currently it offers the following features:

* Consistent API for TCP / UDP; IPv4 / IPv6; Client / Server.

* Async coroutine support and protocol-style callbacks.

* Support for network interfaces

* P2P direct connections

* STUN, TURN, NAT traversal techniques

* Port forwarding and pin hole rules

* Works with open infrastructure

* There's a language agnostic REST API

The post explores some of the problems with async networking in Python + some basic examples with the library. Let me know if anyone tries it out.

Related Stories

Loading related stories...

Source preview

roberts.pm