Python-network is a module which intends to make networking easy. It supports tcp and unix domain sockets. Connection targets can be specified in several ways.