Application Servers

Twisted – networking engine written in Python, supporting numerous protocols

Twisted is an event-driven networking engine.

Twisted is designed for complete separation between logical protocols (usually relying on stream-based connection semantics, such as HTTP or POP3) and physical transport layers supporting such stream-based semantics (such as files, sockets or SSL libraries).

This is free and open source software.

Key Features

  • Includes modules for many different purposes, including the following:
    • twisted.web: HTTP clients and servers, HTML templating, and a WSGI server
    • twisted.conch: SSHv2 and Telnet clients and servers and terminal emulators
    • twisted.words: Clients and servers for IRC, XMPP, and other IM protocols
    • twisted.mail: IMAPv4, POP3, SMTP clients and servers
    • twisted.positioning: Tools for communicating with NMEA-compatible GPS receivers
    • twisted.names: DNS client and tools for making your own DNS servers
    • twisted.trial: A unit testing framework that integrates well with Twisted-based code.
  • Supports all major system event loops — select (all platforms), poll (most POSIX platforms), epoll (Linux), kqueue (FreeBSD, macOS), IOCP (Windows), and various GUI event loops (GTK+2/3, Qt, wxWidgets).
  • Supports TCP, UDP, SSL/TLS, IP multicast, Unix domain sockets, many protocols (including HTTP, XMPP, NNTP, IMAP, SSH, IRC, FTP, and others), and much more.
  • Third-party reactors can plug into Twisted, and provide support for additional event loops.

Website: twisted.org
Support: GitHub Code Repository
Developer: Twisted Team
License: MIT License

Twisted is written in Python. Learn Python with our recommended free books and free tutorials.


Related Software

Python Application Servers
TornadoWeb framework, web server, and asynchronous networking library
GunicornPython WSGI HTTP Server
Phusion PassengerWeb server and application server for Ruby, Python and Node.js
uWSGIAims at developing a full stack for building hosting services
TwistedNetworking engine supporting numerous protocols such as a web server
ZopeZope stands for "Z Object Publishing Environment"
CherryPyPythonic, object-oriented web framework

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Know a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments