Twisted is an event-driven networking framework written in Python. Twisted supports TCP, UDP, SSL/TLS, multicast, Unix sockets, a large number of protocols (including HTTP, NNTP, SSH, IRC, FTP, and others), and much more.

WWW: https://www.twistedmatrix.com/
