
Twisted
Twisted makes it easy to implement custom network applications. Here's a TCP server that echoes back everything that's written to it:
Reactor Overview — Twisted 25.5.0 documentation
Jun 7, 2025 · The reactor is the core of the event loop within Twisted – the loop which drives applications using Twisted. The event loop is a programming construct that waits for and …
Introduction to Deferreds — Twisted 16.4.1 documentation
Twisted tackles this problem with Deferred s, a type of object designed to do one thing, and one thing only: encode an order of execution separately from the order of lines in Python source code.
Using SSL in Twisted
Using SSL in Twisted requires that you have pyOpenSSL installed. A quick test to verify that you do is to run from OpenSSL import SSL at a python prompt and not get an error.
Examples — Twisted 25.5.0 documentation
logging-proxy.py - example of subclassing the core classes of twisted.web.proxy to log requests through a proxy reverse-proxy.py - use twisted.web.proxy.ReverseProxyResource to make …
Twisted Documentation: Deferreds are beautiful! (A Tutorial)
Introduction Deferreds are quite possibly the single most confusing topic that a newcomer to Twisted has to deal with. I am going to forgo the normal talk about what deferreds are, what …
Asynchronous Programming with Twisted
This document is a introduction to the asynchronous programming model, and to Twisted's Deferred abstraction, which symbolises a 'promised' result and which can pass an eventual …
Twisted Documentation: Logging with twisted.python.log
The twisted.python.logfile module provides some standard classes suitable for use with startLogging, such as DailyLogFile, which will rotate the log to a new file once per day.
twisted.protocols.sip
Jun 7, 2025 · Session Initialization Protocol. Documented in RFC 2543. [Superseded by 3261]
Configuring and Using the Twisted Web Server
Configuring and Using the Twisted Web Server ¶ Twisted Web Development ¶ Twisted Web serves Python objects that implement the interface IResource.