Python networking
Python libraries
Paramiko – Paramiko is a Python (2.7, 3.4+) implementation of the SSHv2 protocol, providing both client and server functionality. While it leverages a Python C extension for low level cryptography (Cryptography), Paramiko itself is a pure Python interface around SSH networking concepts
Sshtunnel – SSH Tunnels To Remote Server (requires Paramiko)
NetworkX – NetworkX is a Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks.