Twisted (software)

Twisted
Original author(s)Glyph Lefkowitz
Developer(s)Community
Initial releaseOctober 22, 2002 (2002-10-22)
Stable release
25.5.0  / 7 June 2025 (7 June 2025)
Repository
Written inPython
TypeEvent-driven networking
LicenseMIT License
Websitetwisted.org 

Twisted is an event-driven network programming framework written in Python and licensed under the MIT License.

Twisted projects variously support TCP, UDP, SSL/TLS, IP multicast, Unix domain sockets, many protocols (including HTTP, XMPP, NNTP, IMAP, SSH, IRC, FTP, and others), and much more. Twisted is based on the event-driven programming paradigm, which means that users of Twisted write short callbacks which are called by the framework.