nclib is a python socket library that wants to be your friend.
https://github.com/rhelmot/nclib.git
latest