Twisted is an event-driven networking framework for server and client applications.
For more information, visit http://www.twistedmatrix.com, join the list http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python or visit us on #twisted at irc.freenode.net.
The Twisted from Scratch tutorial is a good starting point for learning Twisted: http://twistedmatrix.com/documents/howto/tutorial
What's New in 1.2.0 ===================
- SFTP server implementation for the SSH server.
- Improved wxPython support.
- IMAPv4 enhancements and bug fixes.
- Allow disabling display of tracebacks in error web pages.
- ident protocol implementation (client and server).
- Support mapping arbitrary child FDs when running processes on POSIX.
- Initial SOAP client support (using SOAPpy).
- Partial download support for FTP client.
- Web framework now supports different handlers for different methods (e.g. GET or POST).
- Coverage support in the trial testing framework.
- Bug fixes and documentation and feature enhancements.
What is Twisted? ================
Twisted is an event-driven framework for building networked clients and servers. It contains a powerful and simple networking core, a full-featured suite of interoperable protocols, among them a powerful web server and applications framework.
Twisted supports many event loops for both server apps and GUI integration on the client side, including:
- Win32 events, including GUI support - Mac OS X - GTK+ - GTK+ 2 - Qt - wxPython - Tkinter
Twisted can run protocols over TCP, SSL, UDP, multicast, Unix sockets and subprocesses. It also includes scheduling support, threading integration, RDBMS event loop integration and other basic requirements for networked applications.
Also included are implementations of many protocols. In some cases this includes complete frameworks providing facilities on top of the base protocol:
- SSH - IMAP - DNS - FTP (client only, server needs rewrite) - HTTP, including a complete web framework - Jabber - SIP - XML-RPC server and client frameworks - SOAP server framework - NNTP and complete NNTP server framework - SOCKSv4 (server only) - SMTP - IRC - telnet - POP3 - AOL's instant messaging TOC - MSN messaging - OSCAR, used by AOL IM as well as ICQ (client only) - MouseMan serial mice, and GPS devices - Twisted Perspective Broker, a remote object protocol