Python Paramiko SSH
Paramiko is an SSHv2 protocol library for Python. It can be used to connect to a Cisco IOS device, run various CLI commands, and return the output of these commands. This allows you to automate various interactions with the CLI of Cisco devices using Python in conjunction with their SSH-enabled CLI interfaces.
Links
https://networklessons.com/python/python-ssh