|
- 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
- Configuring and Using the Twisted Web Server
Twisted Web provides an abstraction of this browser-tracking behavior called the Session object Calling request getSession () checks to see if a session cookie has been set; if not, it creates a unique session id, creates a Session object, stores it in the Site, and returns 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
- 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
- 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. protocols. sip. Proxy
API Documentation for Twisted, generated by pydoctor 24 11 2 at 2025-06-07 09:53:28
- 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:
|
|
|