2 Answers
+ 7
*Top 7 Python Libraries For Networking Programming*
1 . Asyncio â (Python standard library) Asynchronous I/O, event loop, coroutines and tasks.
Official Link âhttps://docs.python.org/3/library/asyncio.html
View on Github âhttps://github.com/python/cpython/tree/3.6/Lib/asyncio/
Latest Version â v3.4
2. Diesel â Greenlet-based event I/O Framework for Python.
Official Website â http://diesel.io/
View on Github âhttps://github.com/dieseldev/diesel
3. Pulsar â Event-driven concurrent framework for Python.
Official Website âhttps://docs.pulsarweb.org/en/latest/
View on Github âhttps://github.com/quantmind/pulsar
4. Pyzmq â A Python wrapper for the ZeroMQ message library.
Official Website âhttps://pyzmq.readthedocs.io/en/latest/
View on Github âhttps://github.com/zeromq/pyzmq
Latest Version â v17.0.0
5. Twisted â An event-driven networking engine.
Official Website âhttps://twistedmatrix.com/trac/View on Github âhttps://github.com/twisted/twisted
6. TxZMQ â Twisted based wrapper for the ZeroMQ message library.
Official Website âhttps://pypi.python.org/pypi/txZMQ/
View on Github âhttps://github.com/smira/txZMQ
7. NAPALM â Cross-vendor API to manipulate network devices.
Official Website âhttps://napalm.readthedocs.io/en/latest/index.html
View on Github âhttps://github.com/napalm-automation/napalm
Source: https://www.yeahhub.com/top-7-python-libraries-networking-programming/
+ 3
You can do it with pure socket also but real problem its if either pc can comunicate between... This depends on multiple factors... They are on same subnet? They know receiver ip? They run firewall? They are behind a router?