Spent a year improving my p2p networking library. The software is async python 3 and it's designed to solve a simple problem: create a connection between any two computers. I haven't done a write-up yet but if you want to try it out the github is here. You can also install through pypi too
https://github.com/robertsdotpm/p2pd
python3 -m pip install p2pd
python3 -m p2pd.demo
(Will let you play around with TCP hole punching and other obscure connectivity approaches.)
Brand new docs too that go into how it works in English with some semi-good diagrams. If you want to learn more about it.