|
- Twisted
Twisted makes it easy to implement custom network applications Here's a TCP server that echoes back everything that's written to it:
- 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
Reactor Overview 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
These take a Twisted Application file (of any of the supported formats — Python source, XML or pickle), and build a Debian or RPM package (respectively) that installs the Application as a system service
- Writing Servers — Twisted 25. 5. 0 documentation
A Twisted protocol handles data in an asynchronous manner The protocol responds to events as they arrive from the network and the events arrive as calls to methods on the protocol
- Twisted Documentation: Deferreds are beautiful! (A Tutorial)
# See LICENSE for details from twisted internet import defer from twisted python import failure, util """ Now we'll see what happens when you use 'addBoth'
- The Twisted Plugin System — Twisted 15. 2. 1 documentation
The purpose of this guide is to describe the preferred way to write extensible Twisted applications (and consequently, also to describe how to extend applications written in such a way)
|
|
|