Twisted

Twisted is an event-driven networking framework written in Python and licensed under the LGPL.

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.

Twisted includes many fullblown applications, such as web, SSH, FTP, DNS and news servers.