ANN: Twisted 1.0.2, the framework of your Internet

Itamar Shtull-Trauring
Wed, 29 Jan 2003 11:32:32 -0500

Twisted is an event-driven networking framework for server and client
applications. More detailed information can be found after the "What's
New" section.

For more information, visit, join the list or
visit us on #twisted at

What's New in 1.0.2

- Serial port support.
- GPS (global positioning system), supporting NMEA 0183 and Rockwell
Zodiac devices.
- GTK2 event loop.
- Improved event scheduling support.
- Many new examples, including an example of Cocoa (Mac OS X)
- Fancy Win32 installer, with Start menu integration.
- Large number of improvements to the SSH server. In addition, Twisted
now ships with a command-line ssh client (conch), with same options as
openssh client. Also included is a Tk GUI ssh client, that does not
require a terminal emulator, and a program for generating ssh keys.
- Simplified HTTP client API, for fetching URLs.
- Dict protocol implementation (RFC 2229).
- Improvements to cReactor, a networking event loop implemented in C.
- Lenient mode for microdom, which allows parsing very non-standard
HTML, and many improvements to the DOM support.
- Trial, a unit testing framework, replaces use of Python's
The API is almost identical to Python's.
- Google querying support.
- Shoutcast protocol support.
- Client XML-RPC support.
- Many improvements to Twisted's DNS support, both client and server.
- Bug fixes, more tests and documentation.

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
 - GTK+
 - GTK+ 2
 - Qt
 - wxPython
 - Tkinter
 - Java

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

Also included are implementations of many protocols. In some cases this
includes complete frameworks providing facilities on top of the base

 - SSH
 - FTP
 - HTTP, including a complete web framework
 - SOAP server framework
 - NNTP and complete NNTP server framework
 - SOCKSv4 (server only)
 - IRC
 - telnet
 - POP3
 - AOL's instant messaging TOC
 - OSCAR, used by AOL-IM as well as ICQ (client only)
 - DNS
 - MouseMan serial mice, and GPS devices
 - Twisted Perspective Broker, a remote object protocol