LWN.net Logo

Twisted reaches the 2.5.0 milestone

Twisted is an event-driven networking framework written in the Python language that is being developed by Twisted Matrix Labs. Twisted has been released under the MIT license.

Like any engine, Twisted has many "moving parts." Twisted Projects is our name for these components of Twisted. Taken together, they form the whole of Twisted. Twisted projects variously support TCP, UDP, SSL/TLS, multicast, Unix sockets, a large number of protocols (including HTTP, NNTP, IMAP, SSH, IRC, FTP, and others), and much more.
[Twisted Matrix Labs]

See the list of Twisted Projects to get an idea of what Twisted has been used for. The Twisted FAQ explains some of the advantages of using Twisted, these include good security, stable code, rapid development time and more. The project documentation helps new users get started with tutorials, an API reference, howtos, examples and a developer guide.

Version 2.5 of Twisted was recently announced. "Twisted 2.5.0 is a major feature release, with several interesting new developments and a great number of bug fixes."

New features in version 2.5 include:

  • The Asynchronous Messaging Protocol, a simple request/response system for persistent connections.
  • An Epoll-based reactor for improving performance in high network traffic situations.
  • The ability to process sub-commands from the command line.
  • Support for version 2.5 of the Python language.
  • Support for inlineCallbacks has been added, this takes advantage of the Python 2.5 yield expression.
  • Improvements to the Jabber capabilities in the twisted.words chat project.
For more information on the changes and bug fixes, see the version 2.5 release notes.

If you would like to give Twisted 2.5 a spin, the code is available for download here.


(Log in to post comments)

Copyright © 2007, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds