|
- Twisted
Learn about the Twisted development process and how to contribute Help improve Twisted on Windows!
- Examples — Twisted 25. 5. 0 documentation
stdiodemo py - example using stdio, Deferreds, LineReceiver and twisted web client ptyserv py - serve shells in pseudo-terminals over TCP courier py - example of interfacing to Courier’s mail filter interface longex py - example of doing arbitrarily long calculations nicely in Twisted longex2 py - using generators to do long calculations
- Reactor Overview — Twisted 25. 5. 0 documentation
This HOWTO introduces the Twisted reactor, describes the basics of the reactor and links to the various reactor interfaces Reactor Basics ¶ The reactor is the core of the event loop within Twisted – the loop which drives applications using Twisted
- Overview of Twisted Internet — Twisted 25. 5. 0 documentation
Twisted Internet is a collection of compatible event-loops for Python It contains the code to dispatch events to interested observers and a portable API so that observers need not care about which event loop is running
- Twisted Documentation: The Basics
The Twisted Daemon is a program that knows how to run Applications This program is twistd(1) Strictly speaking, twistd is not necessary -- fetching the application, getting the IService component, calling startService , scheduling stopService when the reactor shuts down, and then calling reactor run() could be done manually
- Twisted Documentation: Test-driven development with Twisted
Testing protocols without the use of real network connections is both simple and recommended when testing Twisted code Even though there are many tests in Twisted that use the network, most good tests don't The problem with unit tests and networking is that networks aren't reliable
- Writing Servers — Twisted 25. 5. 0 documentation
This document explains how you can use Twisted to implement network protocol parsing and handling for TCP servers (the same code can be reused for SSL and Unix socket servers) There is a separate document covering UDP
- Deferreds are beautiful! (A Tutorial) - Twisted
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 they aren't, and why they're used in Twisted Instead, I'm going show you the logic behind what they do
|
|
|