copy and paste this google map to your website or blog!
Press copy button and paste into your blog or website.
(Please switch to 'HTML' mode when posting into your blog. Examples: WordPress Example, Blogger Example)
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 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
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
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
Using Processes — Twisted 25. 5. 0 documentation Along with connection to servers across the internet, Twisted also connects to local processes with much the same API The API is described in more detail in the documentation of:
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
Choosing a Reactor and GUI Toolkit Integration - Twisted Twisted provides a variety of implementations of the twisted internet reactor The specialized implementations are suited for different purposes and are designed to integrate better with particular platforms
Getting Connected with Endpoints — Twisted 25. 5. 0 documentation Twisted strives to make the nature of the “wire” as transparent as possible, with highly abstract interfaces for passing and receiving data, such as ITransport and IProtocol However, the application can’t be completely ignorant of the wire
Asynchronous Programming with Twisted This document is for readers new to Twisted who are familiar with the Python programming language and, at least conceptually, with core networking concepts such as servers, clients and sockets
Asynchronous Messaging Protocol Overview — Twisted 18. 4. 0 documentation The purpose of this guide is to describe the uses for and usage of twisted protocols amp beyond what is explained in the API documentation It will show you how to implement an AMP server which can respond to commands or interact directly with individual messages