-
twisted
index.html
Package
Package
PUBLIC
Twisted: The Framework Of Your Internet.
-
twisted.__main__
twisted.__main__.html
Module
Module
PRIVATE
Undocumented
-
twisted._threads
twisted._threads.html
Package
Package
PRIVATE
Twisted integration with operating system threads.
-
twisted._threads._convenience
twisted._threads._convenience.html
Module
Module
PRIVATE
Common functionality used within the implementation of various workers.
-
twisted._threads._ithreads
twisted._threads._ithreads.html
Module
Module
PRIVATE
Interfaces related to threads.
-
twisted._threads._memory
twisted._threads._memory.html
Module
Module
PRIVATE
Implementation of an in-memory worker that defers execution.
-
twisted._threads._pool
twisted._threads._pool.html
Module
Module
PRIVATE
-
twisted._threads._team
twisted._threads._team.html
Module
Module
PRIVATE
Implementation of a
Team of workers; a thread-pool that can allocate work to workers.
-
twisted._threads._threadworker
twisted._threads._threadworker.html
Module
Module
PRIVATE
Implementation of an
IWorker based on native threads and queues.
-
twisted._version
twisted._version.html
Module
Module
PRIVATE
Provides Twisted version information.
-
twisted.application
twisted.application.html
Package
Package
PUBLIC
Configuration objects for Twisted Applications.
-
twisted.application.app
twisted.application.app.html
Module
Module
PUBLIC
No module docstring; 2/10 functions, 7/8 classes documented
-
twisted.application.internet
twisted.application.internet.html
Module
Module
PUBLIC
Reactor-based Services
-
twisted.application.reactors
twisted.application.reactors.html
Module
Module
PUBLIC
Plugin-based system for enumerating available reactors and installing one of them.
-
twisted.application.runner
twisted.application.runner.html
Package
Package
PUBLIC
Facilities for running a Twisted application.
-
twisted.application.runner._exit
twisted.application.runner._exit.html
Module
Module
PRIVATE
System exit support.
-
twisted.application.runner._pidfile
twisted.application.runner._pidfile.html
Module
Module
PRIVATE
PID file.
-
twisted.application.runner._runner
twisted.application.runner._runner.html
Module
Module
PRIVATE
Twisted application runner.
-
twisted.application.service
twisted.application.service.html
Module
Module
PUBLIC
Service architecture for Twisted.
-
twisted.application.strports
twisted.application.strports.html
Module
Module
PUBLIC
Construct listening port services from a simple string description.
-
twisted.application.twist
twisted.application.twist.html
Package
Package
PUBLIC
twist command line tool.
-
twisted.application.twist._options
twisted.application.twist._options.html
Module
Module
PRIVATE
Command line options for twist.
-
twisted.application.twist._twist
twisted.application.twist._twist.html
Module
Module
PRIVATE
Run a Twisted application.
-
twisted.conch
twisted.conch.html
Package
Package
PUBLIC
Twisted Conch: The Twisted Shell. Terminal emulation, SSHv2 and telnet.
-
twisted.conch.avatar
twisted.conch.avatar.html
Module
Module
PUBLIC
Undocumented
-
twisted.conch.checkers
twisted.conch.checkers.html
Module
Module
PUBLIC
-
twisted.conch.client
twisted.conch.client.html
Package
Package
PUBLIC
Client support code for Conch.
-
twisted.conch.client.agent
twisted.conch.client.agent.html
Module
Module
PUBLIC
Accesses the key agent for user authentication.
-
twisted.conch.client.connect
twisted.conch.client.connect.html
Module
Module
PUBLIC
Undocumented
-
twisted.conch.client.default
twisted.conch.client.default.html
Module
Module
PUBLIC
Various classes and functions for implementing user-interaction in the command-line conch client.
-
twisted.conch.client.direct
twisted.conch.client.direct.html
Module
Module
PUBLIC
Undocumented
-
twisted.conch.client.knownhosts
twisted.conch.client.knownhosts.html
Module
Module
PUBLIC
An implementation of the OpenSSH known_hosts database.
-
twisted.conch.client.options
twisted.conch.client.options.html
Module
Module
PUBLIC
Undocumented
-
twisted.conch.endpoints
twisted.conch.endpoints.html
Module
Module
PUBLIC
Endpoint implementations of various SSH interactions.
-
twisted.conch.error
twisted.conch.error.html
Module
Module
PUBLIC
An error to represent bad things happening in Conch.
-
twisted.conch.insults
twisted.conch.insults.html
Package
Package
PUBLIC
Insults: a replacement for Curses/S-Lang.
-
twisted.conch.insults.helper
twisted.conch.insults.helper.html
Module
Module
PUBLIC
Partial in-memory terminal emulator
-
twisted.conch.insults.insults
twisted.conch.insults.insults.html
Module
Module
PUBLIC
VT102 and VT220 terminal manipulation.
-
twisted.conch.insults.text
twisted.conch.insults.text.html
Module
Module
PUBLIC
Character attribute manipulation API.
-
twisted.conch.insults.window
twisted.conch.insults.window.html
Module
Module
PUBLIC
Simple insults-based widget library
-
twisted.conch.interfaces
twisted.conch.interfaces.html
Module
Module
PUBLIC
This module contains interfaces defined for the
twisted.conch package.
-
twisted.conch.ls
twisted.conch.ls.html
Module
Module
PUBLIC
No module docstring; 0/1 constant, 1/1 function documented
-
twisted.conch.manhole
twisted.conch.manhole.html
Module
Module
PUBLIC
Line-input oriented interactive interpreter loop.
-
twisted.conch.manhole_ssh
twisted.conch.manhole_ssh.html
Module
Module
PUBLIC
insults/SSH integration support.
-
twisted.conch.manhole_tap
twisted.conch.manhole_tap.html
Module
Module
PUBLIC
TAP plugin for creating telnet- and ssh-accessible manhole servers.
-
twisted.conch.mixin
twisted.conch.mixin.html
Module
Module
PUBLIC
Experimental optimization
-
twisted.conch.openssh_compat
twisted.conch.openssh_compat.html
Package
Package
PUBLIC
Support for OpenSSH configuration files.
-
twisted.conch.openssh_compat.factory
twisted.conch.openssh_compat.factory.html
Module
Module
PUBLIC
Factory for reading openssh configuration files: public keys, private keys, and moduli file.
-
twisted.conch.openssh_compat.primes
twisted.conch.openssh_compat.primes.html
Module
Module
PUBLIC
Parsing for the moduli file, which contains Diffie-Hellman prime groups.
-
twisted.conch.recvline
twisted.conch.recvline.html
Module
Module
PUBLIC
Basic line editing support.
-
twisted.conch.scripts
twisted.conch.scripts.html
Package
Package
PUBLIC
conch scripts
-
twisted.conch.scripts.cftp
twisted.conch.scripts.cftp.html
Module
Module
PUBLIC
Implementation module for the cftp command.
-
twisted.conch.scripts.ckeygen
twisted.conch.scripts.ckeygen.html
Module
Module
PUBLIC
Implementation module for the `ckeygen` command.
-
twisted.conch.scripts.conch
twisted.conch.scripts.conch.html
Module
Module
PUBLIC
Undocumented
-
twisted.conch.scripts.tkconch
twisted.conch.scripts.tkconch.html
Module
Module
PUBLIC
Implementation module for the `tkconch` command.
-
twisted.conch.ssh
twisted.conch.ssh.html
Package
Package
PUBLIC
An SSHv2 implementation for Twisted. Part of the Twisted.Conch package.
-
twisted.conch.ssh._kex
twisted.conch.ssh._kex.html
Module
Module
PRIVATE
SSH key exchange handling.
-
twisted.conch.ssh._keys_pynacl
twisted.conch.ssh._keys_pynacl.html
Module
Module
PRIVATE
Optional PyNaCl fallback code for Ed25519 keys.
-
twisted.conch.ssh.address
twisted.conch.ssh.address.html
Module
Module
PUBLIC
Address object for SSH network connections.
-
twisted.conch.ssh.agent
twisted.conch.ssh.agent.html
Module
Module
PUBLIC
Implements the SSH v2 key agent protocol. This protocol is documented in the SSH source code, in the file
PROTOCOL.agent.
-
twisted.conch.ssh.channel
twisted.conch.ssh.channel.html
Module
Module
PUBLIC
The parent class for all the SSH Channels. Currently implemented channels are session, direct-tcp, and forwarded-tcp.
-
twisted.conch.ssh.common
twisted.conch.ssh.common.html
Module
Module
PUBLIC
Common functions for the SSH classes.
-
twisted.conch.ssh.connection
twisted.conch.ssh.connection.html
Module
Module
PUBLIC
This module contains the implementation of the ssh-connection service, which allows access to the shell and port-forwarding.
-
twisted.conch.ssh.factory
twisted.conch.ssh.factory.html
Module
Module
PUBLIC
A Factory for SSH servers.
-
twisted.conch.ssh.filetransfer
twisted.conch.ssh.filetransfer.html
Module
Module
PUBLIC
Undocumented
-
twisted.conch.ssh.forwarding
twisted.conch.ssh.forwarding.html
Module
Module
PUBLIC
This module contains the implementation of the TCP forwarding, which allows clients and servers to forward arbitrary TCP data across the connection.
-
twisted.conch.ssh.keys
twisted.conch.ssh.keys.html
Module
Module
PUBLIC
Handling of RSA, DSA, ECDSA, and Ed25519 keys.
-
twisted.conch.ssh.service
twisted.conch.ssh.service.html
Module
Module
PUBLIC
The parent class for all the SSH services. Currently implemented services are ssh-userauth and ssh-connection.
-
twisted.conch.ssh.session
twisted.conch.ssh.session.html
Module
Module
PUBLIC
This module contains the implementation of SSHSession, which (by default) allows access to a shell and a python interpreter over SSH.
-
twisted.conch.ssh.sexpy
twisted.conch.ssh.sexpy.html
Module
Module
PUBLIC
Undocumented
-
twisted.conch.ssh.transport
twisted.conch.ssh.transport.html
Module
Module
PUBLIC
The lowest level SSH protocol. This handles the key negotiation, the encryption and the compression. The transport layer is described in RFC 4253.
-
twisted.conch.ssh.userauth
twisted.conch.ssh.userauth.html
Module
Module
PUBLIC
Implementation of the ssh-userauth service. Currently implemented authentication types are public-key and password.
-
twisted.conch.stdio
twisted.conch.stdio.html
Module
Module
PUBLIC
Asynchronous local terminal input handling
-
twisted.conch.tap
twisted.conch.tap.html
Module
Module
PUBLIC
Support module for making SSH servers with twistd.
-
twisted.conch.telnet
twisted.conch.telnet.html
Module
Module
PUBLIC
Telnet protocol implementation.
-
twisted.conch.ttymodes
twisted.conch.ttymodes.html
Module
Module
PUBLIC
Undocumented
-
twisted.conch.ui
twisted.conch.ui.html
Package
Package
PUBLIC
twisted.conch.ui is home to the UI elements for tkconch.
-
twisted.conch.ui.ansi
twisted.conch.ui.ansi.html
Module
Module
PUBLIC
Module to parse ANSI escape sequences
-
twisted.conch.ui.tkvt100
twisted.conch.ui.tkvt100.html
Module
Module
PUBLIC
Module to emulate a VT100 terminal in Tkinter.
-
twisted.conch.unix
twisted.conch.unix.html
Module
Module
PUBLIC
A UNIX SSH server.
-
twisted.copyright
twisted.copyright.html
Module
Module
PUBLIC
Copyright information for Twisted.
-
twisted.cred
twisted.cred.html
Package
Package
PUBLIC
Twisted Cred: Support for verifying credentials, and providing services to user based on those credentials.
-
twisted.cred._digest
twisted.cred._digest.html
Module
Module
PRIVATE
Calculations for HTTP Digest authentication.
-
twisted.cred.checkers
twisted.cred.checkers.html
Module
Module
PUBLIC
Basic credential checkers
-
twisted.cred.credentials
twisted.cred.credentials.html
Module
Module
PUBLIC
This module defines
ICredentials, an interface for objects that represent authentication credentials to provide, and also includes a number of useful implementations of that interface.
-
twisted.cred.error
twisted.cred.error.html
Module
Module
PUBLIC
Cred errors.
-
twisted.cred.portal
twisted.cred.portal.html
Module
Module
PUBLIC
The point of integration of application and authentication.
-
twisted.cred.strcred
twisted.cred.strcred.html
Module
Module
PUBLIC
Support for resolving command-line strings that represent different checkers available to cred.
-
twisted.enterprise
twisted.enterprise.html
Package
Package
PUBLIC
Twisted Enterprise: Database support for Twisted services.
-
twisted.enterprise.adbapi
twisted.enterprise.adbapi.html
Module
Module
PUBLIC
-
twisted.internet
twisted.internet.html
Package
Package
PUBLIC
Twisted Internet: Asynchronous I/O and Events.
-
twisted.internet._baseprocess
twisted.internet._baseprocess.html
Module
Module
PRIVATE
Cross-platform process-related functionality used by different
IReactorProcess implementations.
-
twisted.internet._dumbwin32proc
twisted.internet._dumbwin32proc.html
Module
Module
PRIVATE
Windows Process Management, used with reactor.spawnProcess
-
twisted.internet._glibbase
twisted.internet._glibbase.html
Module
Module
PRIVATE
This module provides base support for Twisted to interact with the glib/gtk mainloops.
-
twisted.internet._idna
twisted.internet._idna.html
Module
Module
PRIVATE
Shared interface to IDNA encoding and decoding, using the idna PyPI package if available, otherwise the stdlib implementation.
-
twisted.internet._newtls
twisted.internet._newtls.html
Module
Module
PRIVATE
This module implements memory BIO based TLS support. It is the preferred implementation and will be used whenever pyOpenSSL 0.10 or newer is installed (whenever
twisted.protocols.tls is importable).
-
twisted.internet._pollingfile
twisted.internet._pollingfile.html
Module
Module
PRIVATE
Implements a simple polling interface for file descriptors that don't work with select() - this is pretty much only useful on Windows.
-
twisted.internet._posixserialport
twisted.internet._posixserialport.html
Module
Module
PRIVATE
Serial Port Protocol
-
twisted.internet._posixstdio
twisted.internet._posixstdio.html
Module
Module
PRIVATE
Standard input/out/err support.
-
twisted.internet._producer_helpers
twisted.internet._producer_helpers.html
Module
Module
PRIVATE
Helpers for working with producers.
-
twisted.internet._resolver
twisted.internet._resolver.html
Module
Module
PRIVATE
IPv6-aware hostname resolution.
-
twisted.internet._signals
twisted.internet._signals.html
Module
Module
PRIVATE
This module is used to integrate child process termination into a reactor event loop. This is a challenging feature to provide because most platforms indicate process termination via SIGCHLD and do not provide a way to wait for that signal and arbitrary I/O events at the same time...
-
twisted.internet._sslverify
twisted.internet._sslverify.html
Module
Module
PRIVATE
No module docstring; 0/6 variable, 10/10 functions, 1/1 exception, 6/6 classes, 1/1 interface documented
-
twisted.internet._threadedselect
twisted.internet._threadedselect.html
Module
Module
PRIVATE
Threaded select reactor
-
twisted.internet._win32serialport
twisted.internet._win32serialport.html
Module
Module
PRIVATE
Serial port support for Windows.
-
twisted.internet._win32stdio
twisted.internet._win32stdio.html
Module
Module
PRIVATE
-
twisted.internet.abstract
twisted.internet.abstract.html
Module
Module
PUBLIC
Support for generic select()able objects.
-
twisted.internet.address
twisted.internet.address.html
Module
Module
PUBLIC
Address objects for network connections.
-
twisted.internet.asyncioreactor
twisted.internet.asyncioreactor.html
Module
Module
PUBLIC
asyncio-based reactor implementation.
-
twisted.internet.base
twisted.internet.base.html
Module
Module
PUBLIC
Very basic functionality for a Reactor implementation.
-
twisted.internet.cfreactor
twisted.internet.cfreactor.html
Module
Module
PUBLIC
A reactor for integrating with
CFRunLoop, the CoreFoundation main loop used by macOS.
-
twisted.internet.default
twisted.internet.default.html
Module
Module
PUBLIC
The most suitable default reactor for the current platform.
-
twisted.internet.defer
twisted.internet.defer.html
Module
Module
PUBLIC
Support for results that aren't immediately available.
-
twisted.internet.endpoints
twisted.internet.endpoints.html
Module
Module
PUBLIC
-
twisted.internet.epollreactor
twisted.internet.epollreactor.html
Module
Module
PUBLIC
An epoll() based implementation of the twisted main loop.
-
twisted.internet.error
twisted.internet.error.html
Module
Module
PUBLIC
Exceptions and errors for use in twisted.internet modules.
-
twisted.internet.fdesc
twisted.internet.fdesc.html
Module
Module
PUBLIC
Utility functions for dealing with POSIX file descriptors.
-
twisted.internet.gireactor
twisted.internet.gireactor.html
Module
Module
PUBLIC
This module provides support for Twisted to interact with the glib mainloop via GObject Introspection.
-
twisted.internet.glib2reactor
twisted.internet.glib2reactor.html
Module
Module
PUBLIC
This module provides support for Twisted to interact with the glib mainloop. This is like gtk2, but slightly faster and does not require a working $DISPLAY. However, you cannot run GUIs under this reactor: for that you must use the gtk2reactor instead.
-
twisted.internet.gtk2reactor
twisted.internet.gtk2reactor.html
Module
Module
PUBLIC
This module provides support for Twisted to interact with the glib/gtk2 mainloop.
-
twisted.internet.gtk3reactor
twisted.internet.gtk3reactor.html
Module
Module
PUBLIC
This module provides support for Twisted to interact with the gtk3 mainloop via Gobject introspection. This is like gi, but slightly slower and requires a working $DISPLAY.
-
twisted.internet.inotify
twisted.internet.inotify.html
Module
Module
PUBLIC
This module provides support for Twisted to linux inotify API.
-
twisted.internet.interfaces
twisted.internet.interfaces.html
Module
Module
PUBLIC
Interface documentation.
-
twisted.internet.iocpreactor
twisted.internet.iocpreactor.html
Package
Package
PUBLIC
I/O Completion Ports reactor
-
twisted.internet.iocpreactor.abstract
twisted.internet.iocpreactor.abstract.html
Module
Module
PUBLIC
Abstract file handle class
-
twisted.internet.iocpreactor.const
twisted.internet.iocpreactor.const.html
Module
Module
PUBLIC
Windows constants for IOCP
-
twisted.internet.iocpreactor.interfaces
twisted.internet.iocpreactor.interfaces.html
Module
Module
PUBLIC
Interfaces for iocpreactor
-
twisted.internet.iocpreactor.iocpsupport
twisted.internet.iocpreactor.iocpsupport.html
Module
Module
PUBLIC
Undocumented
-
twisted.internet.iocpreactor.reactor
twisted.internet.iocpreactor.reactor.html
Module
Module
PUBLIC
Reactor that uses IO completion ports
-
twisted.internet.iocpreactor.tcp
twisted.internet.iocpreactor.tcp.html
Module
Module
PUBLIC
TCP support for IOCP reactor
-
twisted.internet.iocpreactor.udp
twisted.internet.iocpreactor.udp.html
Module
Module
PUBLIC
UDP support for IOCP reactor
-
twisted.internet.kqreactor
twisted.internet.kqreactor.html
Module
Module
PUBLIC
A kqueue()/kevent() based implementation of the Twisted main loop.
-
twisted.internet.main
twisted.internet.main.html
Module
Module
PUBLIC
Backwards compatibility, and utility functions.
-
twisted.internet.pollreactor
twisted.internet.pollreactor.html
Module
Module
PUBLIC
A poll() based implementation of the twisted main loop.
-
twisted.internet.posixbase
twisted.internet.posixbase.html
Module
Module
PUBLIC
Posix reactor base class
-
twisted.internet.process
twisted.internet.process.html
Module
Module
PUBLIC
UNIX Process management.
-
twisted.internet.protocol
twisted.internet.protocol.html
Module
Module
PUBLIC
Standard implementations of Twisted protocol-related interfaces.
-
twisted.internet.pyuisupport
twisted.internet.pyuisupport.html
Module
Module
PUBLIC
This module integrates PyUI with twisted.internet's mainloop.
-
twisted.internet.reactor
twisted.internet.reactor.html
Module
Module
PUBLIC
The reactor is the Twisted event loop within Twisted, the loop which drives applications using Twisted. The reactor provides APIs for networking, threading, dispatching events, and more.
-
twisted.internet.selectreactor
twisted.internet.selectreactor.html
Module
Module
PUBLIC
Select reactor
-
twisted.internet.serialport
twisted.internet.serialport.html
Module
Module
PUBLIC
Serial Port Protocol
-
twisted.internet.ssl
twisted.internet.ssl.html
Module
Module
PUBLIC
This module implements Transport Layer Security (TLS) support for Twisted. It requires
PyOpenSSL.
-
twisted.internet.stdio
twisted.internet.stdio.html
Module
Module
PUBLIC
Standard input/out/err support.
-
twisted.internet.task
twisted.internet.task.html
Module
Module
PUBLIC
Scheduling utility methods and classes.
-
twisted.internet.tcp
twisted.internet.tcp.html
Module
Module
PUBLIC
Various asynchronous TCP/IP classes.
-
twisted.internet.testing
twisted.internet.testing.html
Module
Module
PUBLIC
Assorted functionality which is commonly useful when writing unit tests.
-
twisted.internet.threads
twisted.internet.threads.html
Module
Module
PUBLIC
Extended thread dispatching support.
-
twisted.internet.tksupport
twisted.internet.tksupport.html
Module
Module
PUBLIC
This module integrates Tkinter with twisted.internet's mainloop.
-
twisted.internet.udp
twisted.internet.udp.html
Module
Module
PUBLIC
Various asynchronous UDP classes.
-
twisted.internet.unix
twisted.internet.unix.html
Module
Module
PUBLIC
UNIX socket support for Twisted.
-
twisted.internet.utils
twisted.internet.utils.html
Module
Module
PUBLIC
Utility methods.
-
twisted.internet.win32eventreactor
twisted.internet.win32eventreactor.html
Module
Module
PUBLIC
A win32event based implementation of the Twisted main loop.
-
twisted.internet.wxreactor
twisted.internet.wxreactor.html
Module
Module
PUBLIC
This module provides wxPython event loop support for Twisted.
-
twisted.internet.wxsupport
twisted.internet.wxsupport.html
Module
Module
PUBLIC
Old method of wxPython support for Twisted.
-
twisted.logger
twisted.logger.html
Package
Package
PUBLIC
Twisted Logger: Classes and functions to do granular logging.
-
twisted.logger._buffer
twisted.logger._buffer.html
Module
Module
PRIVATE
Log observer that maintains a buffer.
-
twisted.logger._capture
twisted.logger._capture.html
Module
Module
PRIVATE
Context manager for capturing logs.
-
twisted.logger._file
twisted.logger._file.html
Module
Module
PRIVATE
File log observer.
-
twisted.logger._filter
twisted.logger._filter.html
Module
Module
PRIVATE
Filtering log observer.
-
twisted.logger._flatten
twisted.logger._flatten.html
Module
Module
PRIVATE
Code related to "flattening" events; that is, extracting a description of all relevant fields from the format string and persisting them for later examination.
-
twisted.logger._format
twisted.logger._format.html
Module
Module
PRIVATE
Tools for formatting logging events.
-
twisted.logger._global
twisted.logger._global.html
Module
Module
PRIVATE
This module includes process-global state associated with the logging system, and implementation of logic for managing that global state.
-
twisted.logger._interfaces
twisted.logger._interfaces.html
Module
Module
PRIVATE
Logger interfaces.
-
twisted.logger._io
twisted.logger._io.html
Module
Module
PRIVATE
File-like object that logs.
-
twisted.logger._json
twisted.logger._json.html
Module
Module
PRIVATE
Tools for saving and loading log events in a structured format.
-
twisted.logger._legacy
twisted.logger._legacy.html
Module
Module
PRIVATE
-
twisted.logger._levels
twisted.logger._levels.html
Module
Module
PRIVATE
Log levels.
-
twisted.logger._logger
twisted.logger._logger.html
Module
Module
PRIVATE
Logger class.
-
twisted.logger._observer
twisted.logger._observer.html
Module
Module
PRIVATE
Basic log observers.
-
twisted.logger._stdlib
twisted.logger._stdlib.html
Module
Module
PRIVATE
Integration with Python standard library logging.
-
twisted.logger._util
twisted.logger._util.html
Module
Module
PRIVATE
Logging utilities.
-
twisted.mail
twisted.mail.html
Package
Package
PUBLIC
Twisted Mail: Servers and clients for POP3, ESMTP, and IMAP.
-
twisted.mail._cred
twisted.mail._cred.html
Module
Module
PRIVATE
-
twisted.mail._except
twisted.mail._except.html
Module
Module
PRIVATE
-
twisted.mail._pop3client
twisted.mail._pop3client.html
Module
Module
PRIVATE
A POP3 client protocol implementation.
-
twisted.mail.alias
twisted.mail.alias.html
Module
Module
PUBLIC
Support for aliases(5) configuration files.
-
twisted.mail.bounce
twisted.mail.bounce.html
Module
Module
PUBLIC
Support for bounce message generation.
-
twisted.mail.imap4
twisted.mail.imap4.html
Module
Module
PUBLIC
An IMAP4 protocol implementation
-
twisted.mail.interfaces
twisted.mail.interfaces.html
Module
Module
PUBLIC
-
twisted.mail.mail
twisted.mail.mail.html
Module
Module
PUBLIC
Mail service support.
-
twisted.mail.maildir
twisted.mail.maildir.html
Module
Module
PUBLIC
Maildir-style mailbox support.
-
twisted.mail.pb
twisted.mail.pb.html
Module
Module
PUBLIC
Undocumented
-
twisted.mail.pop3
twisted.mail.pop3.html
Module
Module
PUBLIC
Post-office Protocol version 3.
-
twisted.mail.pop3client
twisted.mail.pop3client.html
Module
Module
PUBLIC
Deprecated POP3 client protocol implementation.
-
twisted.mail.protocols
twisted.mail.protocols.html
Module
Module
PUBLIC
Mail protocol support.
-
twisted.mail.relay
twisted.mail.relay.html
Module
Module
PUBLIC
Support for relaying mail.
-
twisted.mail.relaymanager
twisted.mail.relaymanager.html
Module
Module
PUBLIC
Infrastructure for relaying mail through a smart host.
-
twisted.mail.scripts
twisted.mail.scripts.html
Package
Package
PUBLIC
mail scripts
-
twisted.mail.scripts.mailmail
twisted.mail.scripts.mailmail.html
Module
Module
PUBLIC
Implementation module for the mailmail command.
-
twisted.mail.smtp
twisted.mail.smtp.html
Module
Module
PUBLIC
Simple Mail Transfer Protocol implementation.
-
twisted.mail.tap
twisted.mail.tap.html
Module
Module
PUBLIC
Support for creating mail servers with twistd.
-
twisted.names
twisted.names.html
Package
Package
PUBLIC
Twisted Names: DNS server and client implementations.
-
twisted.names._rfc1982
twisted.names._rfc1982.html
Module
Module
PRIVATE
Utilities for handling RFC1982 Serial Number Arithmetic.
-
twisted.names.authority
twisted.names.authority.html
Module
Module
PUBLIC
Authoritative resolvers.
-
twisted.names.cache
twisted.names.cache.html
Module
Module
PUBLIC
An in-memory caching resolver.
-
twisted.names.client
twisted.names.client.html
Module
Module
PUBLIC
Asynchronous client DNS
-
twisted.names.common
twisted.names.common.html
Module
Module
PUBLIC
Base functionality useful to various parts of Twisted Names.
-
twisted.names.dns
twisted.names.dns.html
Module
Module
PUBLIC
DNS protocol implementation.
-
twisted.names.error
twisted.names.error.html
Module
Module
PUBLIC
Exception class definitions for Twisted Names.
-
twisted.names.hosts
twisted.names.hosts.html
Module
Module
PUBLIC
hosts(5) support.
-
twisted.names.resolve
twisted.names.resolve.html
Module
Module
PUBLIC
Lookup a name using multiple resolvers.
-
twisted.names.root
twisted.names.root.html
Module
Module
PUBLIC
Resolver implementation for querying successive authoritative servers to lookup a record, starting from the root nameservers.
-
twisted.names.secondary
twisted.names.secondary.html
Module
Module
PUBLIC
No module docstring; 2/2 classes documented
-
twisted.names.server
twisted.names.server.html
Module
Module
PUBLIC
Async DNS server
-
twisted.names.srvconnect
twisted.names.srvconnect.html
Module
Module
PUBLIC
No module docstring; 1/2 class documented
-
twisted.names.tap
twisted.names.tap.html
Module
Module
PUBLIC
Domain Name Server
-
twisted.pair
twisted.pair.html
Package
Package
PUBLIC
Twisted Pair: The framework of your ethernet.
-
twisted.pair.ethernet
twisted.pair.ethernet.html
Module
Module
PUBLIC
Support for working directly with ethernet frames
-
twisted.pair.ip
twisted.pair.ip.html
Module
Module
PUBLIC
Support for working directly with IP packets
-
twisted.pair.raw
twisted.pair.raw.html
Module
Module
PUBLIC
Interface definitions for working with raw packets
-
twisted.pair.rawudp
twisted.pair.rawudp.html
Module
Module
PUBLIC
Implementation of raw packet interfaces for UDP
-
twisted.pair.testing
twisted.pair.testing.html
Module
Module
PUBLIC
Tools for automated testing of
twisted.pair-based applications.
-
twisted.pair.tuntap
twisted.pair.tuntap.html
Module
Module
PUBLIC
Support for Linux ethernet and IP tunnel devices.
-
twisted.persisted
twisted.persisted.html
Package
Package
PUBLIC
Twisted Persisted: Utilities for managing persistence.
-
twisted.persisted.aot
twisted.persisted.aot.html
Module
Module
PUBLIC
AOT: Abstract Object Trees The source-code-marshallin'est abstract-object-serializin'est persister this side of Marmalade!
-
twisted.persisted.crefutil
twisted.persisted.crefutil.html
Module
Module
PUBLIC
Utility classes for dealing with circular references.
-
twisted.persisted.dirdbm
twisted.persisted.dirdbm.html
Module
Module
PUBLIC
DBM-style interface to a directory.
-
twisted.persisted.sob
twisted.persisted.sob.html
Module
Module
PUBLIC
Save and load Small OBjects to and from files, using various formats.
-
twisted.persisted.styles
twisted.persisted.styles.html
Module
Module
PUBLIC
Different styles of persisted objects.
-
twisted.plugin
twisted.plugin.html
Module
Module
PUBLIC
Plugin system for Twisted.
-
twisted.plugins
twisted.plugins.html
Package
Package
PUBLIC
Plugins for services implemented in Twisted.
-
twisted.plugins.cred_anonymous
twisted.plugins.cred_anonymous.html
Module
Module
PUBLIC
Cred plugin for anonymous logins.
-
twisted.plugins.cred_file
twisted.plugins.cred_file.html
Module
Module
PUBLIC
Cred plugin for a file of the format 'username:password'.
-
twisted.plugins.cred_memory
twisted.plugins.cred_memory.html
Module
Module
PUBLIC
Cred plugin for an in-memory user database.
-
twisted.plugins.cred_sshkeys
twisted.plugins.cred_sshkeys.html
Module
Module
PUBLIC
Cred plugin for ssh key login.
-
twisted.plugins.cred_unix
twisted.plugins.cred_unix.html
Module
Module
PUBLIC
Cred plugin for UNIX user accounts.
-
twisted.plugins.twisted_conch
twisted.plugins.twisted_conch.html
Module
Module
PUBLIC
Undocumented
-
twisted.plugins.twisted_core
twisted.plugins.twisted_core.html
Module
Module
PUBLIC
Undocumented
-
twisted.plugins.twisted_ftp
twisted.plugins.twisted_ftp.html
Module
Module
PUBLIC
Undocumented
-
twisted.plugins.twisted_inet
twisted.plugins.twisted_inet.html
Module
Module
PUBLIC
Undocumented
-
twisted.plugins.twisted_mail
twisted.plugins.twisted_mail.html
Module
Module
PUBLIC
Undocumented
-
twisted.plugins.twisted_names
twisted.plugins.twisted_names.html
Module
Module
PUBLIC
Undocumented
-
twisted.plugins.twisted_portforward
twisted.plugins.twisted_portforward.html
Module
Module
PUBLIC
Undocumented
-
twisted.plugins.twisted_reactors
twisted.plugins.twisted_reactors.html
Module
Module
PUBLIC
Undocumented
-
twisted.plugins.twisted_runner
twisted.plugins.twisted_runner.html
Module
Module
PUBLIC
Undocumented
-
twisted.plugins.twisted_socks
twisted.plugins.twisted_socks.html
Module
Module
PUBLIC
Undocumented
-
twisted.plugins.twisted_trial
twisted.plugins.twisted_trial.html
Module
Module
PUBLIC
Undocumented
-
twisted.plugins.twisted_web
twisted.plugins.twisted_web.html
Module
Module
PUBLIC
Undocumented
-
twisted.plugins.twisted_words
twisted.plugins.twisted_words.html
Module
Module
PUBLIC
Undocumented
-
twisted.positioning
twisted.positioning.html
Package
Package
PUBLIC
Twisted Positioning: Framework for applications that make use of positioning.
-
twisted.positioning._sentence
twisted.positioning._sentence.html
Module
Module
PRIVATE
Generic sentence handling tools: hopefully reusable.
-
twisted.positioning.base
twisted.positioning.base.html
Module
Module
PUBLIC
Generic positioning base classes.
-
twisted.positioning.ipositioning
twisted.positioning.ipositioning.html
Module
Module
PUBLIC
Positioning interfaces.
-
twisted.positioning.nmea
twisted.positioning.nmea.html
Module
Module
PUBLIC
Classes for working with NMEA 0183 sentence producing devices. This standard is generally just called "NMEA", which is actually the name of the body that produces the standard, not the standard itself..
-
twisted.protocols
twisted.protocols.html
Package
Package
PUBLIC
Twisted Protocols: A collection of internet protocol implementations.
-
twisted.protocols.amp
twisted.protocols.amp.html
Module
Module
PUBLIC
This module implements AMP, the Asynchronous Messaging Protocol.
-
twisted.protocols.basic
twisted.protocols.basic.html
Module
Module
PUBLIC
Basic protocols, such as line-oriented, netstring, and int prefixed strings.
-
twisted.protocols.dict
twisted.protocols.dict.html
Module
Module
PUBLIC
Dict client protocol implementation.
-
twisted.protocols.finger
twisted.protocols.finger.html
Module
Module
PUBLIC
The Finger User Information Protocol (RFC 1288)
-
twisted.protocols.ftp
twisted.protocols.ftp.html
Module
Module
PUBLIC
An FTP protocol implementation
-
twisted.protocols.haproxy
twisted.protocols.haproxy.html
Package
Package
PUBLIC
HAProxy PROXY protocol implementations.
-
twisted.protocols.haproxy._exceptions
twisted.protocols.haproxy._exceptions.html
Module
Module
PRIVATE
HAProxy specific exceptions.
-
twisted.protocols.haproxy._info
twisted.protocols.haproxy._info.html
Module
Module
PRIVATE
IProxyInfo implementation.
-
twisted.protocols.haproxy._interfaces
twisted.protocols.haproxy._interfaces.html
Module
Module
PRIVATE
Interfaces used by the PROXY protocol modules.
-
twisted.protocols.haproxy._parser
twisted.protocols.haproxy._parser.html
Module
Module
PRIVATE
Parser for 'haproxy:' string endpoint.
-
twisted.protocols.haproxy._v1parser
twisted.protocols.haproxy._v1parser.html
Module
Module
PRIVATE
IProxyParser implementation for version one of the PROXY protocol.
-
twisted.protocols.haproxy._v2parser
twisted.protocols.haproxy._v2parser.html
Module
Module
PRIVATE
IProxyParser implementation for version two of the PROXY protocol.
-
twisted.protocols.haproxy._wrapper
twisted.protocols.haproxy._wrapper.html
Module
Module
PRIVATE
Protocol wrapper that provides HAProxy PROXY protocol support.
-
twisted.protocols.htb
twisted.protocols.htb.html
Module
Module
PUBLIC
Hierarchical Token Bucket traffic shaping.
-
twisted.protocols.ident
twisted.protocols.ident.html
Module
Module
PUBLIC
Ident protocol implementation.
-
twisted.protocols.loopback
twisted.protocols.loopback.html
Module
Module
PUBLIC
Testing support for protocols -- loopback between client and server.
-
twisted.protocols.memcache
twisted.protocols.memcache.html
Module
Module
PUBLIC
Memcache client protocol. Memcached is a caching server, storing data in the form of pairs key/value, and memcache is the protocol to talk with it.
-
twisted.protocols.pcp
twisted.protocols.pcp.html
Module
Module
PUBLIC
Producer-Consumer Proxy.
-
twisted.protocols.policies
twisted.protocols.policies.html
Module
Module
PUBLIC
Resource limiting policies.
-
twisted.protocols.portforward
twisted.protocols.portforward.html
Module
Module
PUBLIC
A simple port forwarder.
-
twisted.protocols.postfix
twisted.protocols.postfix.html
Module
Module
PUBLIC
Postfix mail transport agent related protocols.
-
twisted.protocols.shoutcast
twisted.protocols.shoutcast.html
Module
Module
PUBLIC
Chop up shoutcast stream into MP3s and metadata, if available.
-
twisted.protocols.sip
twisted.protocols.sip.html
Module
Module
PUBLIC
Session Initialization Protocol.
-
twisted.protocols.socks
twisted.protocols.socks.html
Module
Module
PUBLIC
Implementation of the SOCKSv4 protocol.
-
twisted.protocols.stateful
twisted.protocols.stateful.html
Module
Module
PUBLIC
No module docstring; 1/1 class documented
-
twisted.protocols.tls
twisted.protocols.tls.html
Module
Module
PUBLIC
-
twisted.protocols.wire
twisted.protocols.wire.html
Module
Module
PUBLIC
Implement standard (and unused) TCP protocols.
-
twisted.python
twisted.python.html
Package
Package
PUBLIC
Twisted Python: Utilities and Enhancements for Python.
-
twisted.python._appdirs
twisted.python._appdirs.html
Module
Module
PRIVATE
Application data directory support.
-
twisted.python._inotify
twisted.python._inotify.html
Module
Module
PRIVATE
Very low-level ctypes-based interface to Linux inotify(7).
-
twisted.python._release
twisted.python._release.html
Module
Module
PRIVATE
Twisted's automated release system.
-
twisted.python._shellcomp
twisted.python._shellcomp.html
Module
Module
PRIVATE
No public APIs are provided by this module. Internal use only.
-
twisted.python._textattributes
twisted.python._textattributes.html
Module
Module
PRIVATE
This module provides some common functionality for the manipulation of formatting states.
-
twisted.python._tzhelper
twisted.python._tzhelper.html
Module
Module
PRIVATE
Time zone utilities.
-
twisted.python._url
twisted.python._url.html
Module
Module
PRIVATE
URL parsing, construction and rendering.
-
twisted.python.compat
twisted.python.compat.html
Module
Module
PUBLIC
Compatibility module to provide backwards compatibility for useful Python features.
-
twisted.python.components
twisted.python.components.html
Module
Module
PUBLIC
Component architecture for Twisted, based on Zope3 components.
-
twisted.python.constants
twisted.python.constants.html
Module
Module
PUBLIC
Symbolic constant support, including collections and constants with text, numeric, and bit flag values.
-
twisted.python.context
twisted.python.context.html
Module
Module
PUBLIC
Dynamic pseudo-scoping for Python.
-
twisted.python.deprecate
twisted.python.deprecate.html
Module
Module
PUBLIC
Deprecation framework for Twisted.
-
twisted.python.failure
twisted.python.failure.html
Module
Module
PUBLIC
Asynchronous-friendly error mechanism.
-
twisted.python.fakepwd
twisted.python.fakepwd.html
Module
Module
PUBLIC
-
twisted.python.filepath
twisted.python.filepath.html
Module
Module
PUBLIC
Object-oriented filesystem path representation.
-
twisted.python.formmethod
twisted.python.formmethod.html
Module
Module
PUBLIC
Form-based method objects.
-
twisted.python.htmlizer
twisted.python.htmlizer.html
Module
Module
PUBLIC
HTML rendering of Python source.
-
twisted.python.lockfile
twisted.python.lockfile.html
Module
Module
PUBLIC
Filesystem-based interprocess mutex.
-
twisted.python.log
twisted.python.log.html
Module
Module
PUBLIC
Logging and metrics infrastructure.
-
twisted.python.logfile
twisted.python.logfile.html
Module
Module
PUBLIC
A rotating, browsable log file.
-
twisted.python.modules
twisted.python.modules.html
Module
Module
PUBLIC
This module aims to provide a unified, object-oriented view of Python's runtime hierarchy.
-
twisted.python.monkey
twisted.python.monkey.html
Module
Module
PUBLIC
No module docstring; 1/1 class documented
-
twisted.python.procutils
twisted.python.procutils.html
Module
Module
PUBLIC
Utilities for dealing with processes.
-
twisted.python.randbytes
twisted.python.randbytes.html
Module
Module
PUBLIC
Cryptographically secure random implementation, with fallback on normal random.
-
twisted.python.rebuild
twisted.python.rebuild.html
Module
Module
PUBLIC
*Real* reloading support for Python.
-
twisted.python.reflect
twisted.python.reflect.html
Module
Module
PUBLIC
Standardized versions of various cool and/or strange things that you can do with Python's reflection capabilities.
-
twisted.python.release
twisted.python.release.html
Module
Module
PUBLIC
A release-automation toolkit.
-
twisted.python.roots
twisted.python.roots.html
Module
Module
PUBLIC
Twisted Python Roots: an abstract hierarchy representation for Twisted.
-
twisted.python.runtime
twisted.python.runtime.html
Module
Module
PUBLIC
No module docstring; 0/3 variable, 1/1 function, 1/1 class documented
-
twisted.python.sendmsg
twisted.python.sendmsg.html
Module
Module
PUBLIC
sendmsg(2) and recvmsg(2) support for Python.
-
twisted.python.shortcut
twisted.python.shortcut.html
Module
Module
PUBLIC
Creation of Windows shortcuts.
-
twisted.python.syslog
twisted.python.syslog.html
Module
Module
PUBLIC
Classes and utility functions for integrating Twisted and syslog.
-
twisted.python.systemd
twisted.python.systemd.html
Module
Module
PUBLIC
Integration with systemd.
-
twisted.python.text
twisted.python.text.html
Module
Module
PUBLIC
Miscellany of text-munging functions.
-
twisted.python.threadable
twisted.python.threadable.html
Module
Module
PUBLIC
A module to provide some very basic threading primitives, such as synchronization.
-
twisted.python.threadpool
twisted.python.threadpool.html
Module
Module
PUBLIC
twisted.python.threadpool: a pool of threads to which we dispatch tasks.
-
twisted.python.url
twisted.python.url.html
Module
Module
PUBLIC
URL parsing, construction and rendering.
-
twisted.python.urlpath
twisted.python.urlpath.html
Module
Module
PUBLIC
URLPath, a representation of a URL.
-
twisted.python.usage
twisted.python.usage.html
Module
Module
PUBLIC
twisted.python.usage is a module for parsing/handling the command line of your program.
-
twisted.python.util
twisted.python.util.html
Module
Module
PUBLIC
No module docstring; 18/22 functions, 5/6 classes documented
-
twisted.python.versions
twisted.python.versions.html
Module
Module
PUBLIC
Versions for Python packages.
-
twisted.python.win32
twisted.python.win32.html
Module
Module
PUBLIC
Win32 utilities.
-
twisted.python.zippath
twisted.python.zippath.html
Module
Module
PUBLIC
This module contains implementations of
IFilePath for zip files.
-
twisted.python.zipstream
twisted.python.zipstream.html
Module
Module
PUBLIC
An incremental approach to unzipping files. This allows you to unzip a little bit of a file at a time, which means you can report progress as a file unzips.
-
twisted.runner
twisted.runner.html
Package
Package
PUBLIC
Twisted Runner: Run and monitor processes.
-
twisted.runner.inetd
twisted.runner.inetd.html
Module
Module
PUBLIC
Twisted inetd.
-
twisted.runner.inetdconf
twisted.runner.inetdconf.html
Module
Module
PUBLIC
Parser for inetd.conf files
-
twisted.runner.inetdtap
twisted.runner.inetdtap.html
Module
Module
PUBLIC
Twisted inetd TAP support
-
twisted.runner.procmon
twisted.runner.procmon.html
Module
Module
PUBLIC
Support for starting, monitoring, and restarting child process.
-
twisted.runner.procmontap
twisted.runner.procmontap.html
Module
Module
PUBLIC
Support for creating a service which runs a process monitor.
-
twisted.scripts
twisted.scripts.html
Package
Package
PUBLIC
Subpackage containing the modules that implement the command line tools.
-
twisted.scripts._twistd_unix
twisted.scripts._twistd_unix.html
Module
Module
PRIVATE
No module docstring; 0/3 function, 2/3 classes documented
-
twisted.scripts._twistw
twisted.scripts._twistw.html
Module
Module
PRIVATE
No module docstring; 1/2 class documented
-
twisted.scripts.htmlizer
twisted.scripts.htmlizer.html
Module
Module
PUBLIC
HTML pretty-printing for Python source code.
-
twisted.scripts.trial
twisted.scripts.trial.html
Module
Module
PUBLIC
No module docstring; 0/1 variable, 0/1 constant, 7/13 functions, 1/1 exception, 2/2 classes documented
-
twisted.scripts.twistd
twisted.scripts.twistd.html
Module
Module
PUBLIC
The Twisted Daemon: platform-independent interface.
-
twisted.spread
twisted.spread.html
Package
Package
PUBLIC
Twisted Spread: Spreadable (Distributed) Computing.
-
twisted.spread.banana
twisted.spread.banana.html
Module
Module
PUBLIC
Banana -- s-exp based protocol.
-
twisted.spread.flavors
twisted.spread.flavors.html
Module
Module
PUBLIC
This module represents flavors of remotely accessible objects.
-
twisted.spread.interfaces
twisted.spread.interfaces.html
Module
Module
PUBLIC
Twisted Spread Interfaces.
-
twisted.spread.jelly
twisted.spread.jelly.html
Module
Module
PUBLIC
S-expression-based persistence of python objects.
-
twisted.spread.pb
twisted.spread.pb.html
Module
Module
PUBLIC
Perspective Broker
-
twisted.spread.publish
twisted.spread.publish.html
Module
Module
PUBLIC
Persistently cached objects for PB.
-
twisted.spread.util
twisted.spread.util.html
Module
Module
PUBLIC
Utility classes for spread.
-
twisted.tap
twisted.tap.html
Package
Package
PUBLIC
Twisted TAP: Twisted Application Persistence builders for other Twisted servers.
-
twisted.tap.ftp
twisted.tap.ftp.html
Module
Module
PUBLIC
I am the support module for making a ftp server with twistd.
-
twisted.tap.portforward
twisted.tap.portforward.html
Module
Module
PUBLIC
Support module for making a port forwarder with twistd.
-
twisted.tap.socks
twisted.tap.socks.html
Module
Module
PUBLIC
I am a support module for making SOCKSv4 servers with twistd.
-
twisted.test
twisted.test.html
Package
Package
PUBLIC
Twisted's unit tests.
-
twisted.test.proto_helpers
twisted.test.proto_helpers.html
Module
Module
PUBLIC
Assorted functionality which is commonly useful when writing unit tests.
-
twisted.trial
twisted.trial.html
Package
Package
PUBLIC
Twisted Trial: Asynchronous unit testing framework.
-
twisted.trial.__main__
twisted.trial.__main__.html
Module
Module
PRIVATE
Undocumented
-
twisted.trial._asyncrunner
twisted.trial._asyncrunner.html
Module
Module
PRIVATE
Infrastructure for test running and suites.
-
twisted.trial._asynctest
twisted.trial._asynctest.html
Module
Module
PRIVATE
Things likely to be used by writers of unit tests.
-
twisted.trial._dist
twisted.trial._dist.html
Package
Package
PRIVATE
This package implements the distributed Trial test runner:
-
twisted.trial._dist.distreporter
twisted.trial._dist.distreporter.html
Module
Module
PUBLIC
The reporter is not made to support concurrent test running, so we will hold test results in here and only send them to the reporter once the test is over.
-
twisted.trial._dist.disttrial
twisted.trial._dist.disttrial.html
Module
Module
PUBLIC
This module contains the trial distributed runner, the management class responsible for coordinating all of trial's behavior at the highest level.
-
twisted.trial._dist.managercommands
twisted.trial._dist.managercommands.html
Module
Module
PUBLIC
Commands for reporting test success of failure to the manager.
-
twisted.trial._dist.options
twisted.trial._dist.options.html
Module
Module
PUBLIC
Options handling specific to trial's workers.
-
twisted.trial._dist.worker
twisted.trial._dist.worker.html
Module
Module
PUBLIC
This module implements the worker classes.
-
twisted.trial._dist.workercommands
twisted.trial._dist.workercommands.html
Module
Module
PUBLIC
Commands for telling a worker to load tests or run tests.
-
twisted.trial._dist.workerreporter
twisted.trial._dist.workerreporter.html
Module
Module
PUBLIC
Test reporter forwarding test results over trial distributed AMP commands.
-
twisted.trial._dist.workertrial
twisted.trial._dist.workertrial.html
Module
Module
PUBLIC
Implementation of AMP worker commands, and main executable entry point for the workers.
-
twisted.trial._synctest
twisted.trial._synctest.html
Module
Module
PRIVATE
Things likely to be used by writers of unit tests.
-
twisted.trial.itrial
twisted.trial.itrial.html
Module
Module
PUBLIC
Interfaces for Trial.
-
twisted.trial.reporter
twisted.trial.reporter.html
Module
Module
PUBLIC
Defines classes that handle the results of tests.
-
twisted.trial.runner
twisted.trial.runner.html
Module
Module
PUBLIC
A miscellany of code used to run Trial tests.
-
twisted.trial.unittest
twisted.trial.unittest.html
Module
Module
PUBLIC
Things likely to be used by writers of unit tests.
-
twisted.trial.util
twisted.trial.util.html
Module
Module
PUBLIC
A collection of utility functions and classes, used internally by Trial.
-
twisted.web
twisted.web.html
Package
Package
PUBLIC
Twisted Web: HTTP clients and servers, plus tools for implementing them.
-
twisted.web._auth
twisted.web._auth.html
Package
Package
PRIVATE
HTTP header-based authentication migrated from web2
-
twisted.web._auth.basic
twisted.web._auth.basic.html
Module
Module
PUBLIC
HTTP BASIC authentication.
-
twisted.web._auth.digest
twisted.web._auth.digest.html
Module
Module
PUBLIC
Implementation of RFC2617: HTTP Digest Authentication
-
twisted.web._auth.wrapper
twisted.web._auth.wrapper.html
Module
Module
PUBLIC
A guard implementation which supports HTTP header-based authentication schemes.
-
twisted.web._element
twisted.web._element.html
Module
Module
PRIVATE
No module docstring; 0/1 type variable, 0/1 function, 1/1 class documented
-
twisted.web._flatten
twisted.web._flatten.html
Module
Module
PRIVATE
Context-free flattener/serializer for rendering Python objects, possibly complex or arbitrarily nested, as strings.
-
twisted.web._http2
twisted.web._http2.html
Module
Module
PRIVATE
HTTP2 Implementation
-
twisted.web._newclient
twisted.web._newclient.html
Module
Module
PRIVATE
-
twisted.web._responses
twisted.web._responses.html
Module
Module
PRIVATE
HTTP response code definitions.
-
twisted.web._stan
twisted.web._stan.html
Module
Module
PRIVATE
An s-expression-like syntax for expressing xml in pure python.
-
twisted.web._template_util
twisted.web._template_util.html
Module
Module
PRIVATE
twisted.web.util and twisted.web.template merged to avoid cyclic deps
-
twisted.web.client
twisted.web.client.html
Module
Module
PUBLIC
HTTP client.
-
twisted.web.demo
twisted.web.demo.html
Module
Module
PUBLIC
I am a simple test resource.
-
twisted.web.distrib
twisted.web.distrib.html
Module
Module
PUBLIC
Distributed web servers.
-
twisted.web.domhelpers
twisted.web.domhelpers.html
Module
Module
PUBLIC
A library for performing interesting tasks with DOM objects.
-
twisted.web.error
twisted.web.error.html
Module
Module
PUBLIC
-
twisted.web.guard
twisted.web.guard.html
Module
Module
PUBLIC
Resource traversal integration with
twisted.cred to allow for authentication and authorization of HTTP requests.
-
twisted.web.html
twisted.web.html.html
Module
Module
PUBLIC
I hold HTML generation helpers.
-
twisted.web.http
twisted.web.http.html
Module
Module
PUBLIC
HyperText Transfer Protocol implementation.
-
twisted.web.iweb
twisted.web.iweb.html
Module
Module
PUBLIC
-
twisted.web.microdom
twisted.web.microdom.html
Module
Module
PUBLIC
Micro Document Object Model: a partial DOM implementation with SUX.
-
twisted.web.pages
twisted.web.pages.html
Module
Module
PUBLIC
-
twisted.web.proxy
twisted.web.proxy.html
Module
Module
PUBLIC
Simplistic HTTP proxy support.
-
twisted.web.resource
twisted.web.resource.html
Module
Module
PUBLIC
Implementation of the lowest-level Resource class.
-
twisted.web.rewrite
twisted.web.rewrite.html
Module
Module
PUBLIC
No module docstring; 1/2 function, 0/1 class documented
-
twisted.web.script
twisted.web.script.html
Module
Module
PUBLIC
I contain PythonScript, which is a very simple python script resource.
-
twisted.web.server
twisted.web.server.html
Module
Module
PUBLIC
This is a web server which integrates with the twisted.internet infrastructure.
-
twisted.web.soap
twisted.web.soap.html
Module
Module
PUBLIC
SOAP support for twisted.web.
-
twisted.web.static
twisted.web.static.html
Module
Module
PUBLIC
-
twisted.web.sux
twisted.web.sux.html
Module
Module
PUBLIC
*S*mall, *U*ncomplicated *X*ML.
-
twisted.web.tap
twisted.web.tap.html
Module
Module
PUBLIC
Support for creating a service which runs a web server.
-
twisted.web.template
twisted.web.template.html
Module
Module
PUBLIC
HTML rendering for twisted.web.
-
twisted.web.twcgi
twisted.web.twcgi.html
Module
Module
PUBLIC
I hold resource classes and helper classes that deal with CGI scripts.
-
twisted.web.util
twisted.web.util.html
Module
Module
PUBLIC
An assortment of web server-related utilities.
-
twisted.web.vhost
twisted.web.vhost.html
Module
Module
PUBLIC
I am a virtual hosts implementation.
-
twisted.web.wsgi
twisted.web.wsgi.html
Module
Module
PUBLIC
-
twisted.web.xmlrpc
twisted.web.xmlrpc.html
Module
Module
PUBLIC
A generic resource for publishing objects via XML-RPC.
-
twisted.words
twisted.words.html
Package
Package
PUBLIC
Twisted Words: Client and server implementations for IRC, XMPP, and other chat services.
-
twisted.words.ewords
twisted.words.ewords.html
Module
Module
PUBLIC
Exception definitions for Words
-
twisted.words.im
twisted.words.im.html
Package
Package
PUBLIC
Instance Messenger, Pan-protocol chat client.
-
twisted.words.im.baseaccount
twisted.words.im.baseaccount.html
Module
Module
PUBLIC
No module docstring; 1/1 class documented
-
twisted.words.im.basechat
twisted.words.im.basechat.html
Module
Module
PUBLIC
Base classes for Instance Messenger clients.
-
twisted.words.im.basesupport
twisted.words.im.basesupport.html
Module
Module
PUBLIC
Instance Messenger base classes for protocol support.
-
twisted.words.im.interfaces
twisted.words.im.interfaces.html
Module
Module
PUBLIC
Pan-protocol chat client.
-
twisted.words.im.ircsupport
twisted.words.im.ircsupport.html
Module
Module
PUBLIC
IRC support for Instance Messenger.
-
twisted.words.im.locals
twisted.words.im.locals.html
Module
Module
PUBLIC
No module docstring; 0/3 constant, 1/1 exception, 0/2 class documented
-
twisted.words.im.pbsupport
twisted.words.im.pbsupport.html
Module
Module
PUBLIC
-
twisted.words.iwords
twisted.words.iwords.html
Module
Module
PUBLIC
No module docstring; 3/5 interfaces documented
-
twisted.words.protocols
twisted.words.protocols.html
Package
Package
PUBLIC
Chat protocols.
-
twisted.words.protocols.irc
twisted.words.protocols.irc.html
Module
Module
PUBLIC
Internet Relay Chat protocol for client and server.
-
twisted.words.protocols.jabber
twisted.words.protocols.jabber.html
Package
Package
PUBLIC
Twisted Jabber: Jabber Protocol Helpers
-
twisted.words.protocols.jabber.client
twisted.words.protocols.jabber.client.html
Module
Module
PUBLIC
No module docstring; 0/2 variable, 0/4 constant, 1/2 function, 7/7 classes documented
-
twisted.words.protocols.jabber.component
twisted.words.protocols.jabber.component.html
Module
Module
PUBLIC
External server-side components.
-
twisted.words.protocols.jabber.error
twisted.words.protocols.jabber.error.html
Module
Module
PUBLIC
XMPP Error support.
-
twisted.words.protocols.jabber.ijabber
twisted.words.protocols.jabber.ijabber.html
Module
Module
PUBLIC
Public Jabber Interfaces.
-
twisted.words.protocols.jabber.jid
twisted.words.protocols.jabber.jid.html
Module
Module
PUBLIC
Jabber Identifier support.
-
twisted.words.protocols.jabber.jstrports
twisted.words.protocols.jabber.jstrports.html
Module
Module
PUBLIC
A temporary placeholder for client-capable strports, until we sufficient use cases get identified
-
twisted.words.protocols.jabber.sasl
twisted.words.protocols.jabber.sasl.html
Module
Module
PUBLIC
XMPP-specific SASL profile.
-
twisted.words.protocols.jabber.sasl_mechanisms
twisted.words.protocols.jabber.sasl_mechanisms.html
Module
Module
PUBLIC
Protocol agnostic implementations of SASL authentication mechanisms.
-
twisted.words.protocols.jabber.xmlstream
twisted.words.protocols.jabber.xmlstream.html
Module
Module
PUBLIC
XMPP XML Streams
-
twisted.words.protocols.jabber.xmpp_stringprep
twisted.words.protocols.jabber.xmpp_stringprep.html
Module
Module
PUBLIC
No module docstring; 0/4 variable, 0/13 constant, 1/6 class, 2/2 interfaces documented
-
twisted.words.service
twisted.words.service.html
Module
Module
PUBLIC
A module that needs a better name.
-
twisted.words.tap
twisted.words.tap.html
Module
Module
PUBLIC
Shiny new words service maker
-
twisted.words.xish
twisted.words.xish.html
Package
Package
PUBLIC
Twisted X-ish: XML-ish DOM and XPath-ish engine
-
twisted.words.xish.domish
twisted.words.xish.domish.html
Module
Module
PUBLIC
DOM-like XML processing support.
-
twisted.words.xish.utility
twisted.words.xish.utility.html
Module
Module
PUBLIC
Event Dispatching and Callback utilities.
-
twisted.words.xish.xmlstream
twisted.words.xish.xmlstream.html
Module
Module
PUBLIC
XML Stream processing.
-
twisted.words.xish.xpath
twisted.words.xish.xpath.html
Module
Module
PUBLIC
XPath query support.
-
twisted.words.xish.xpathparser
twisted.words.xish.xpathparser.html
Module
Module
PUBLIC
XPath Parser.
-
twisted.words.xmpproutertap
twisted.words.xmpproutertap.html
Module
Module
PUBLIC
Undocumented
-
twisted._version.__version__
twisted._version.html#__version__
Attribute
Variable
PUBLIC
Undocumented
-
twisted._threads._ithreads.IExclusiveWorker
twisted._threads._ithreads.IExclusiveWorker.html
Class
Interface
PUBLIC
Like
IWorker, but with the additional guarantee that the callables passed to
do will not be called exclusively with each other.
-
twisted._threads.AlreadyQuit
twisted._threads.AlreadyQuit.html
Class
Exception
PUBLIC
This worker worker is dead and cannot execute more instructions.
-
twisted._threads.IWorker
twisted._threads.IWorker.html
Class
Interface
PUBLIC
A worker that can perform some work concurrently.
-
twisted._threads.IWorker.do
twisted._threads.IWorker.html#do
Function
Method
PUBLIC
Perform the given task.
-
twisted._threads.IWorker.quit
twisted._threads.IWorker.html#quit
Function
Method
PUBLIC
Free any resources associated with this
IWorker and cause it to reject all future work.
-
twisted._threads._convenience.Quit
twisted._threads._convenience.Quit.html
Class
Class
PUBLIC
A flag representing whether a worker has been quit.
-
twisted._threads._convenience.Quit.isSet
twisted._threads._convenience.Quit.html#isSet
Attribute
Instance Variable
PUBLIC
Whether this flag is set.
-
twisted._threads._convenience.Quit.__init__
twisted._threads._convenience.Quit.html#__init__
Function
Method
PUBLIC
-
twisted._threads._convenience.Quit.set
twisted._threads._convenience.Quit.html#set
Function
Method
PUBLIC
Set the flag if it has not been set.
-
twisted._threads._convenience.Quit.check
twisted._threads._convenience.Quit.html#check
Function
Method
PUBLIC
Check if the flag has been set.
-
twisted._threads._memory.NoMoreWork
twisted._threads._memory.html#NoMoreWork
Attribute
Variable
PUBLIC
Undocumented
-
twisted._threads._memory.MemoryWorker
twisted._threads._memory.MemoryWorker.html
Class
Class
PUBLIC
An
IWorker that queues work for later performance.
-
twisted._threads._memory.MemoryWorker._quit
twisted._threads._memory.MemoryWorker.html#_quit
Attribute
Instance Variable
PRIVATE
a flag indicating
-
twisted._threads._memory.MemoryWorker.__init__
twisted._threads._memory.MemoryWorker.html#__init__
Function
Method
PUBLIC
-
twisted._threads._memory.MemoryWorker._pending
twisted._threads._memory.MemoryWorker.html#_pending
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted._threads._memory.MemoryWorker.do
twisted._threads._memory.MemoryWorker.html#do
Function
Method
PUBLIC
-
twisted._threads._memory.MemoryWorker.quit
twisted._threads._memory.MemoryWorker.html#quit
Function
Method
PUBLIC
Quit this worker.
-
twisted._threads.createMemoryWorker
twisted._threads.html#createMemoryWorker
Function
Function
PUBLIC
Create an
IWorker that does nothing but defer work, to be performed later.
-
twisted.logger.globalLogPublisher
twisted.logger.html#globalLogPublisher
Attribute
Variable
PUBLIC
Undocumented
-
twisted.logger.globalLogBeginner
twisted.logger.html#globalLogBeginner
Attribute
Variable
PUBLIC
Undocumented
-
twisted.logger.InvalidLogLevelError
twisted.logger.InvalidLogLevelError.html
Class
Exception
PUBLIC
Someone tried to use a
LogLevel that is unknown to the logging system.
-
twisted.logger.InvalidLogLevelError.__init__
twisted.logger.InvalidLogLevelError.html#__init__
Function
Method
PUBLIC
No summary
-
twisted.logger.InvalidLogLevelError.level
twisted.logger.InvalidLogLevelError.html#level
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.logger.LogLevel
twisted.logger.LogLevel.html
Class
Class
PUBLIC
Constants describing log levels.
-
twisted.logger.LogLevel.debug
twisted.logger.LogLevel.html#debug
Attribute
Class Variable
PUBLIC
Debugging events: Information of use to a developer of the software, not generally of interest to someone running the software unless they are attempting to diagnose a software issue.
-
twisted.logger.LogLevel.info
twisted.logger.LogLevel.html#info
Attribute
Class Variable
PUBLIC
Informational events: Routine information about the status of an application, such as incoming connections, startup of a subsystem, etc.
-
twisted.logger.LogLevel.warn
twisted.logger.LogLevel.html#warn
Attribute
Class Variable
PUBLIC
Warning events: Events that may require greater attention than informational events but are not a systemic failure condition, such as authorization failures, bad data from a network client, etc. Such events are of potential interest to system administrators, and should ideally be phrased in such a way, or documented, so as to indicate an action that an administrator might take to mitigate the warning.
-
twisted.logger.LogLevel.error
twisted.logger.LogLevel.html#error
Attribute
Class Variable
PUBLIC
Error conditions: Events indicating a systemic failure, such as programming errors in the form of unhandled exceptions, loss of connectivity to an external system without which no useful work can proceed, such as a database or API endpoint, or resource exhaustion...
-
twisted.logger.LogLevel.critical
twisted.logger.LogLevel.html#critical
Attribute
Class Variable
PUBLIC
Critical failures: Errors indicating systemic failure (ie. service outage), data corruption, imminent data loss, etc. which must be handled immediately. This includes errors unanticipated by the software, such as unhandled exceptions, wherein the cause and consequences are unknown.
-
twisted.logger.LogLevel.levelWithName
twisted.logger.LogLevel.html#levelWithName
Function
Class Method
PUBLIC
Get the log level with the given name.
-
twisted.python.compat.unicode
twisted.python.compat.html#unicode
Attribute
Variable
PUBLIC
The type of Unicode strings, unicode on Python 2 and str on Python 3.
-
twisted.python.compat.NativeStringIO
twisted.python.compat.html#NativeStringIO
Attribute
Variable
PUBLIC
An in-memory file-like object that operates on the native string type (bytes in Python 2, unicode in Python 3).
-
twisted.python.compat.urllib_parse
twisted.python.compat.html#urllib_parse
Attribute
Variable
PUBLIC
a URL-parsing module (urlparse on Python 2, urllib.parse on Python 3)
-
twisted.python.deprecate.DEPRECATION_WARNING_FORMAT
twisted.python.deprecate.html#DEPRECATION_WARNING_FORMAT
Attribute
Constant
PUBLIC
The default deprecation warning string format to use when one is not provided by the user.
-
twisted.python.deprecate._getReplacementString
twisted.python.deprecate.html#_getReplacementString
Function
Function
PRIVATE
Surround a replacement for a deprecated API with some polite text exhorting the user to consider it as an alternative.
-
twisted.python.deprecate._getDeprecationDocstring
twisted.python.deprecate.html#_getDeprecationDocstring
Function
Function
PRIVATE
Generate an addition to a deprecated object's docstring that explains its deprecation.
-
twisted.python.deprecate._getDeprecationWarningString
twisted.python.deprecate.html#_getDeprecationWarningString
Function
Function
PRIVATE
Return a string indicating that the Python name was deprecated in the given version.
-
twisted.python.deprecate.getDeprecationWarningString
twisted.python.deprecate.html#getDeprecationWarningString
Function
Function
PUBLIC
Return a string indicating that the callable was deprecated in the given version.
-
twisted.python.deprecate._appendToDocstring
twisted.python.deprecate.html#_appendToDocstring
Function
Function
PRIVATE
Append the given text to the docstring of thingWithDoc.
-
twisted.python.deprecate.deprecated
twisted.python.deprecate.html#deprecated
Function
Function
PUBLIC
Return a decorator that marks callables as deprecated. To deprecate a property, see
deprecatedProperty.
-
twisted.python.deprecate.deprecatedProperty
twisted.python.deprecate.html#deprecatedProperty
Function
Function
PUBLIC
Return a decorator that marks a property as deprecated. To deprecate a regular callable or class, see
deprecated.
-
twisted.python.deprecate.getWarningMethod
twisted.python.deprecate.html#getWarningMethod
Function
Function
PUBLIC
Return the warning method currently used to record deprecation warnings.
-
twisted.python.deprecate.setWarningMethod
twisted.python.deprecate.html#setWarningMethod
Function
Function
PUBLIC
Set the warning method to use to record deprecation warnings.
-
twisted.python.deprecate._InternalState
twisted.python.deprecate._InternalState.html
Class
Class
PRIVATE
An
_InternalState is a helper object for a
_ModuleProxy, so that it can easily access its own attributes, bypassing its logic for delegating to another object that it's proxying for.
-
twisted.python.deprecate._InternalState.proxy
twisted.python.deprecate._InternalState.html#proxy
Attribute
Instance Variable
PUBLIC
-
twisted.python.deprecate._InternalState.__init__
twisted.python.deprecate._InternalState.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted.python.deprecate._InternalState.__getattribute__
twisted.python.deprecate._InternalState.html#__getattribute__
Function
Method
PUBLIC
Undocumented
-
twisted.python.deprecate._InternalState.__setattr__
twisted.python.deprecate._InternalState.html#__setattr__
Function
Method
PUBLIC
Undocumented
-
twisted.python.deprecate._ModuleProxy
twisted.python.deprecate._ModuleProxy.html
Class
Class
PRIVATE
Python module wrapper to hook module-level attribute access.
-
twisted.python.deprecate._ModuleProxy._module
twisted.python.deprecate._ModuleProxy.html#_module
Attribute
Instance Variable
PRIVATE
Module on which to hook attribute access.
-
twisted.python.deprecate._ModuleProxy._deprecatedAttributes
twisted.python.deprecate._ModuleProxy.html#_deprecatedAttributes
Attribute
Instance Variable
PRIVATE
Mapping of attribute names to objects that retrieve the module attribute's original value.
-
twisted.python.deprecate._ModuleProxy._lastWasPath
twisted.python.deprecate._ModuleProxy.html#_lastWasPath
Attribute
Instance Variable
PRIVATE
Heuristic guess as to whether warnings about this package should be ignored for the next call. If the last attribute access of this module was a getattr of __path__, we will assume that it was the import system doing it and we won't emit a warning for the next access, even if it is to a deprecated attribute...
-
twisted.python.deprecate._ModuleProxy.__init__
twisted.python.deprecate._ModuleProxy.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted.python.deprecate._ModuleProxy.__repr__
twisted.python.deprecate._ModuleProxy.html#__repr__
Function
Method
PUBLIC
Get a string containing the type of the module proxy and a representation of the wrapped module object.
-
twisted.python.deprecate._ModuleProxy.__setattr__
twisted.python.deprecate._ModuleProxy.html#__setattr__
Function
Method
PUBLIC
Set an attribute on the wrapped module object.
-
twisted.python.deprecate._ModuleProxy.__getattribute__
twisted.python.deprecate._ModuleProxy.html#__getattribute__
Function
Method
PUBLIC
Get an attribute from the module object, possibly emitting a warning.
-
twisted.python.deprecate._DeprecatedAttribute
twisted.python.deprecate._DeprecatedAttribute.html
Class
Class
PRIVATE
Wrapper for deprecated attributes.
-
twisted.python.deprecate._DeprecatedAttribute.module
twisted.python.deprecate._DeprecatedAttribute.html#module
Attribute
Instance Variable
PUBLIC
The original module instance containing this attribute
-
twisted.python.deprecate._DeprecatedAttribute.fqpn
twisted.python.deprecate._DeprecatedAttribute.html#fqpn
Attribute
Instance Variable
PUBLIC
Fully qualified Python name for the deprecated attribute
-
twisted.python.deprecate._DeprecatedAttribute.version
twisted.python.deprecate._DeprecatedAttribute.html#version
Attribute
Instance Variable
PUBLIC
Version that the attribute was deprecated in
-
twisted.python.deprecate._DeprecatedAttribute.message
twisted.python.deprecate._DeprecatedAttribute.html#message
Attribute
Instance Variable
PUBLIC
Deprecation message
-
twisted.python.deprecate._DeprecatedAttribute.__init__
twisted.python.deprecate._DeprecatedAttribute.html#__init__
Function
Method
PUBLIC
Initialise a deprecated name wrapper.
-
twisted.python.deprecate._DeprecatedAttribute.__name__
twisted.python.deprecate._DeprecatedAttribute.html#__name__
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.deprecate._DeprecatedAttribute.get
twisted.python.deprecate._DeprecatedAttribute.html#get
Function
Method
PUBLIC
Get the underlying attribute value and issue a deprecation warning.
-
twisted.python.deprecate._deprecateAttribute
twisted.python.deprecate.html#_deprecateAttribute
Function
Function
PRIVATE
Mark a module-level attribute as being deprecated.
-
twisted.python.deprecate.deprecatedModuleAttribute
twisted.python.deprecate.html#deprecatedModuleAttribute
Function
Function
PUBLIC
Declare a module-level attribute as being deprecated.
-
twisted.python.deprecate.warnAboutFunction
twisted.python.deprecate.html#warnAboutFunction
Function
Function
PUBLIC
Issue a warning string, identifying offender as the responsible code.
-
twisted.python.deprecate._passedArgSpec
twisted.python.deprecate.html#_passedArgSpec
Function
Function
PRIVATE
Take an inspect.ArgSpec, a tuple of positional arguments, and a dict of keyword arguments, and return a mapping of arguments that were actually passed to their passed values.
-
twisted.python.deprecate._passedSignature
twisted.python.deprecate.html#_passedSignature
Function
Function
PRIVATE
Take an inspect.Signature, a tuple of positional arguments, and a dict of keyword arguments, and return a mapping of arguments that were actually passed to their passed values.
-
twisted.python.deprecate._mutuallyExclusiveArguments
twisted.python.deprecate.html#_mutuallyExclusiveArguments
Function
Function
PRIVATE
Decorator which causes its decoratee to raise a TypeError if two of the given arguments are passed at the same time.
-
twisted.python.deprecate._Tc
twisted.python.deprecate.html#_Tc
Attribute
Type Variable
PRIVATE
Undocumented
-
twisted.python.deprecate.deprecatedKeywordParameter
twisted.python.deprecate.html#deprecatedKeywordParameter
Function
Function
PUBLIC
Return a decorator that marks a keyword parameter of a callable as deprecated. A warning will be emitted if a caller supplies a value for the parameter, whether the caller uses a keyword or positional syntax.
-
twisted.python.compat._PY37PLUS
twisted.python.compat.html#_PY37PLUS
Attribute
Constant
PRIVATE
Undocumented
-
twisted.python.compat._PYPY
twisted.python.compat.html#_PYPY
Attribute
Constant
PRIVATE
Undocumented
-
twisted.python.compat.iteritems
twisted.python.compat.html#iteritems
Function
Function
PUBLIC
Return an iterable of the items of d.
-
twisted.python.compat.itervalues
twisted.python.compat.html#itervalues
Function
Function
PUBLIC
Return an iterable of the values of d.
-
twisted.python.compat.items
twisted.python.compat.html#items
Function
Function
PUBLIC
Return a list of the items of d.
-
twisted.python.compat.currentframe
twisted.python.compat.html#currentframe
Function
Function
PUBLIC
In Python 3, inspect.currentframe does not take a stack-level argument. Restore that functionality from Python 2 so we don't have to re-implement the f_back-walking loop in places where it's called.
-
twisted.python.compat.execfile
twisted.python.compat.html#execfile
Function
Function
PUBLIC
Execute a Python script in the given namespaces.
-
twisted.python.compat.cmp
twisted.python.compat.html#cmp
Function
Function
PUBLIC
Compare two objects.
-
twisted.python.compat.comparable
twisted.python.compat.html#comparable
Function
Function
PUBLIC
Class decorator that ensures support for the special __cmp__ method.
-
twisted.python.compat.ioType
twisted.python.compat.html#ioType
Function
Function
PUBLIC
Determine the type which will be returned from the given file object's read() and accepted by its write() method as an argument.
-
twisted.python.compat.nativeString
twisted.python.compat.html#nativeString
Function
Function
PUBLIC
Convert bytes or str to str type, using ASCII encoding if conversion is necessary.
-
twisted.python.compat._matchingString
twisted.python.compat.html#_matchingString
Function
Function
PRIVATE
Some functions, such as os.path.join, operate on string arguments which may be bytes or text, and wish to return a value of the same type. In those cases you may wish to have a string constant (in the case of ...
-
twisted.python.compat.reraise
twisted.python.compat.html#reraise
Function
Function
PUBLIC
Re-raise an exception, with an optional traceback.
-
twisted.python.compat.iterbytes
twisted.python.compat.html#iterbytes
Function
Function
PUBLIC
Return an iterable wrapper for a bytes object that provides the behavior of iterating over bytes on Python 2.
-
twisted.python.compat.intToBytes
twisted.python.compat.html#intToBytes
Function
Function
PUBLIC
Convert the given integer into bytes, as ASCII-encoded Arab numeral.
-
twisted.python.compat.lazyByteSlice
twisted.python.compat.html#lazyByteSlice
Function
Function
PUBLIC
Return a copy of the given bytes-like object.
-
twisted.python.compat.networkString
twisted.python.compat.html#networkString
Function
Function
PUBLIC
Convert a string to bytes using ASCII encoding.
-
twisted.python.compat.bytesEnviron
twisted.python.compat.html#bytesEnviron
Function
Function
PUBLIC
Return a
dict of
os.environ where all text-strings are encoded into
bytes.
-
twisted.python.compat._constructMethod
twisted.python.compat.html#_constructMethod
Function
Function
PRIVATE
Construct a bound method.
-
twisted.python.compat._get_async_param
twisted.python.compat.html#_get_async_param
Function
Function
PRIVATE
Provide a backwards-compatible way to get async param value that does not cause a syntax error under Python 3.7.
-
twisted.python.compat._pypy3BlockingHack
twisted.python.compat.html#_pypy3BlockingHack
Function
Function
PRIVATE
-
twisted.python.reflect.fullyQualifiedName
twisted.python.reflect.html#fullyQualifiedName
Function
Function
PUBLIC
Return the fully qualified name of a module, class, method or function. Classes and functions need to be module level ones to be correctly qualified.
-
twisted.python.reflect.RegexType
twisted.python.reflect.html#RegexType
Attribute
Variable
PUBLIC
Undocumented
-
twisted.python.reflect.prefixedMethodNames
twisted.python.reflect.html#prefixedMethodNames
Function
Function
PUBLIC
Given a class object classObj, returns a list of method names that match the string prefix.
-
twisted.python.reflect.addMethodNamesToDict
twisted.python.reflect.html#addMethodNamesToDict
Function
Function
PUBLIC
This goes through classObj (and its bases) and puts method names starting with 'prefix' in 'dict' with a value of 1. if baseClass isn't None, methods will only be added if classObj is-a baseClass
-
twisted.python.reflect.prefixedMethods
twisted.python.reflect.html#prefixedMethods
Function
Function
PUBLIC
Given an object obj, returns a list of method objects that match the string prefix.
-
twisted.python.reflect.accumulateMethods
twisted.python.reflect.html#accumulateMethods
Function
Function
PUBLIC
Given an object obj, add all methods that begin with prefix.
-
twisted.python.reflect.namedModule
twisted.python.reflect.html#namedModule
Function
Function
PUBLIC
Return a module given its name.
-
twisted.python.reflect.namedObject
twisted.python.reflect.html#namedObject
Function
Function
PUBLIC
Get a fully named module-global object.
-
twisted.python.reflect.requireModule
twisted.python.reflect.html#requireModule
Function
Function
PUBLIC
Try to import a module given its name, returning default value if ImportError is raised during import.
-
twisted.python.reflect._NoModuleFound
twisted.python.reflect._NoModuleFound.html
Class
Exception
PRIVATE
No module was found because none exists.
-
twisted.python.reflect.InvalidName
twisted.python.reflect.InvalidName.html
Class
Exception
PUBLIC
The given name is not a dot-separated list of Python objects.
-
twisted.python.reflect.ModuleNotFound
twisted.python.reflect.ModuleNotFound.html
Class
Exception
PUBLIC
The module associated with the given name doesn't exist and it can't be imported.
-
twisted.python.reflect.ObjectNotFound
twisted.python.reflect.ObjectNotFound.html
Class
Exception
PUBLIC
The object associated with the given name doesn't exist and it can't be imported.
-
twisted.python.reflect._importAndCheckStack
twisted.python.reflect.html#_importAndCheckStack
Function
Function
PRIVATE
Import the given name as a module, then walk the stack to determine whether the failure was the module not existing, or some code in the module (for example a dependent import) failing. This can be helpful to determine whether any actual application code was run...
-
twisted.python.reflect.namedAny
twisted.python.reflect.html#namedAny
Function
Function
PUBLIC
Retrieve a Python object by its fully qualified name from the global Python module namespace. The first part of the name, that describes a module, will be discovered and imported. Each subsequent part of the name is treated as the name of an attribute of the object specified by all of the name which came before it...
-
twisted.python.reflect.filenameToModuleName
twisted.python.reflect.html#filenameToModuleName
Function
Function
PUBLIC
Convert a name in the filesystem to the name of the Python module it is.
-
twisted.python.reflect.qual
twisted.python.reflect.html#qual
Function
Function
PUBLIC
Return full import path of a class.
-
twisted.python.reflect._determineClass
twisted.python.reflect.html#_determineClass
Function
Function
PRIVATE
Undocumented
-
twisted.python.reflect._determineClassName
twisted.python.reflect.html#_determineClassName
Function
Function
PRIVATE
Undocumented
-
twisted.python.reflect._safeFormat
twisted.python.reflect.html#_safeFormat
Function
Function
PRIVATE
-
twisted.python.reflect.safe_repr
twisted.python.reflect.html#safe_repr
Function
Function
PUBLIC
Returns a string representation of an object, or a string containing a traceback, if that object's __repr__ raised an exception.
-
twisted.python.reflect.safe_str
twisted.python.reflect.html#safe_str
Function
Function
PUBLIC
Returns a string representation of an object, or a string containing a traceback, if that object's __str__ raised an exception.
-
twisted.python.reflect.QueueMethod
twisted.python.reflect.QueueMethod.html
Class
Class
PUBLIC
I represent a method that doesn't exist yet.
-
twisted.python.reflect.QueueMethod.__init__
twisted.python.reflect.QueueMethod.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted.python.reflect.QueueMethod.name
twisted.python.reflect.QueueMethod.html#name
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.reflect.QueueMethod.calls
twisted.python.reflect.QueueMethod.html#calls
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.reflect.QueueMethod.__call__
twisted.python.reflect.QueueMethod.html#__call__
Function
Method
PUBLIC
Undocumented
-
twisted.python.reflect.fullFuncName
twisted.python.reflect.html#fullFuncName
Function
Function
PUBLIC
Undocumented
-
twisted.python.reflect.getClass
twisted.python.reflect.html#getClass
Function
Function
PUBLIC
Return the class or type of object 'obj'.
-
twisted.python.reflect.accumulateClassDict
twisted.python.reflect.html#accumulateClassDict
Function
Function
PUBLIC
Accumulate all attributes of a given name in a class hierarchy into a single dictionary.
-
twisted.python.reflect.accumulateClassList
twisted.python.reflect.html#accumulateClassList
Function
Function
PUBLIC
Accumulate all attributes of a given name in a class hierarchy into a single list.
-
twisted.python.reflect.isSame
twisted.python.reflect.html#isSame
Function
Function
PUBLIC
Undocumented
-
twisted.python.reflect.isLike
twisted.python.reflect.html#isLike
Function
Function
PUBLIC
Undocumented
-
twisted.python.reflect.modgrep
twisted.python.reflect.html#modgrep
Function
Function
PUBLIC
Undocumented
-
twisted.python.reflect.isOfType
twisted.python.reflect.html#isOfType
Function
Function
PUBLIC
Undocumented
-
twisted.python.reflect.findInstances
twisted.python.reflect.html#findInstances
Function
Function
PUBLIC
Undocumented
-
twisted.python.reflect.objgrep
twisted.python.reflect.html#objgrep
Function
Function
PUBLIC
objgrep finds paths between
start and
goal.
-
twisted.python.failure.count
twisted.python.failure.html#count
Attribute
Variable
PUBLIC
Undocumented
-
twisted.python.failure.traceupLength
twisted.python.failure.html#traceupLength
Attribute
Variable
PUBLIC
Undocumented
-
twisted.python.failure.DefaultException
twisted.python.failure.DefaultException.html
Class
Exception
PUBLIC
Undocumented
-
twisted.python.failure.format_frames
twisted.python.failure.html#format_frames
Function
Function
PUBLIC
Format and write frames.
-
twisted.python.failure.EXCEPTION_CAUGHT_HERE
twisted.python.failure.html#EXCEPTION_CAUGHT_HERE
Attribute
Constant
PUBLIC
Undocumented
-
twisted.python.failure.NoCurrentExceptionError
twisted.python.failure.NoCurrentExceptionError.html
Class
Exception
PUBLIC
Raised when trying to create a Failure from the current interpreter exception state and there is no current exception state.
-
twisted.python.failure._Traceback
twisted.python.failure.html#_Traceback
Function
Function
PRIVATE
Construct a fake traceback object using a list of frames.
-
twisted.python.failure._TracebackFrame
twisted.python.failure._TracebackFrame.html
Class
Class
PRIVATE
Fake traceback object which can be passed to functions in the standard library traceback module.
-
twisted.python.failure._TracebackFrame.__init__
twisted.python.failure._TracebackFrame.html#__init__
Function
Method
PUBLIC
No summary
-
twisted.python.failure._TracebackFrame.tb_frame
twisted.python.failure._TracebackFrame.html#tb_frame
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.failure._TracebackFrame.tb_lineno
twisted.python.failure._TracebackFrame.html#tb_lineno
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.failure._TracebackFrame.tb_lasti
twisted.python.failure._TracebackFrame.html#tb_lasti
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.failure._TracebackFrame.tb_next
twisted.python.failure._TracebackFrame.html#tb_next
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.failure._Frame
twisted.python.failure._Frame.html
Class
Class
PRIVATE
-
twisted.python.failure._Frame.f_code
twisted.python.failure._Frame.html#f_code
Attribute
Instance Variable
PUBLIC
fake code object
-
twisted.python.failure._Frame.f_lineno
twisted.python.failure._Frame.html#f_lineno
Attribute
Instance Variable
PUBLIC
line number
-
twisted.python.failure._Frame.f_globals
twisted.python.failure._Frame.html#f_globals
Attribute
Instance Variable
PUBLIC
fake f_globals dictionary (usually empty)
-
twisted.python.failure._Frame.f_locals
twisted.python.failure._Frame.html#f_locals
Attribute
Instance Variable
PUBLIC
fake f_locals dictionary (usually empty)
-
twisted.python.failure._Frame.f_back
twisted.python.failure._Frame.html#f_back
Attribute
Instance Variable
PUBLIC
previous stack frame (towards the caller)
-
twisted.python.failure._Frame.__init__
twisted.python.failure._Frame.html#__init__
Function
Method
PUBLIC
No summary
-
twisted.python.failure._Frame.f_lasti
twisted.python.failure._Frame.html#f_lasti
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.failure._Frame.f_builtins
twisted.python.failure._Frame.html#f_builtins
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.failure._Frame.f_trace
twisted.python.failure._Frame.html#f_trace
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.failure._Code
twisted.python.failure._Code.html
Class
Class
PRIVATE
-
twisted.python.failure._Code.__init__
twisted.python.failure._Code.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted.python.failure._Code.co_name
twisted.python.failure._Code.html#co_name
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.failure._Code.co_filename
twisted.python.failure._Code.html#co_filename
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.failure._Code.co_lnotab
twisted.python.failure._Code.html#co_lnotab
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.failure._Code.co_firstlineno
twisted.python.failure._Code.html#co_firstlineno
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.failure._Code.co_argcount
twisted.python.failure._Code.html#co_argcount
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.failure._Code.co_varnames
twisted.python.failure._Code.html#co_varnames
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.failure._Code.co_code
twisted.python.failure._Code.html#co_code
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.failure._Code.co_cellvars
twisted.python.failure._Code.html#co_cellvars
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.failure._Code.co_consts
twisted.python.failure._Code.html#co_consts
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.failure._Code.co_flags
twisted.python.failure._Code.html#co_flags
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.failure._Code.co_freevars
twisted.python.failure._Code.html#co_freevars
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.failure._Code.co_posonlyargcount
twisted.python.failure._Code.html#co_posonlyargcount
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.failure._Code.co_kwonlyargcount
twisted.python.failure._Code.html#co_kwonlyargcount
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.failure._Code.co_names
twisted.python.failure._Code.html#co_names
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.failure._Code.co_nlocals
twisted.python.failure._Code.html#co_nlocals
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.failure._Code.co_stacksize
twisted.python.failure._Code.html#co_stacksize
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.failure._Code.co_positions
twisted.python.failure._Code.html#co_positions
Function
Method
PUBLIC
Undocumented
-
twisted.python.failure.Failure
twisted.python.failure.Failure.html
Class
Exception
PUBLIC
A basic abstraction for an error that has occurred.
-
twisted.python.failure.Failure.value
twisted.python.failure.Failure.html#value
Attribute
Instance Variable
PUBLIC
The exception instance responsible for this failure.
-
twisted.python.failure.Failure.type
twisted.python.failure.Failure.html#type
Attribute
Instance Variable
PUBLIC
The exception's class.
-
twisted.python.failure.Failure.stack
twisted.python.failure.Failure.html#stack
Attribute
Instance Variable
PUBLIC
list of frames, innermost last, excluding Failure.__init__.
-
twisted.python.failure.Failure.frames
twisted.python.failure.Failure.html#frames
Attribute
Instance Variable
PUBLIC
list of frames, innermost first.
-
twisted.python.failure.Failure.pickled
twisted.python.failure.Failure.html#pickled
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.python.failure.Failure._yieldOpcode
twisted.python.failure.Failure.html#_yieldOpcode
Attribute
Class Variable
PRIVATE
Undocumented
-
twisted.python.failure.Failure.__init__
twisted.python.failure.Failure.html#__init__
Function
Method
PUBLIC
Initialize me with an explanation of the error.
-
twisted.python.failure.Failure.count
twisted.python.failure.Failure.html#count
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.failure.Failure.captureVars
twisted.python.failure.Failure.html#captureVars
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.failure.Failure.tb
twisted.python.failure.Failure.html#tb
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.failure.Failure.parents
twisted.python.failure.Failure.html#parents
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.failure.Failure.__dict__
twisted.python.failure.Failure.html#__dict__
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.failure.Failure.trap
twisted.python.failure.Failure.html#trap
Function
Method
PUBLIC
Trap this failure if its type is in a predetermined list.
-
twisted.python.failure.Failure.check
twisted.python.failure.Failure.html#check
Function
Method
PUBLIC
Check if this failure's type is in a predetermined list.
-
twisted.python.failure.Failure.raiseException
twisted.python.failure.Failure.html#raiseException
Function
Method
PUBLIC
raise the original exception, preserving traceback information if available.
-
twisted.python.failure.Failure.throwExceptionIntoGenerator
twisted.python.failure.Failure.html#throwExceptionIntoGenerator
Function
Method
PUBLIC
Throw the original exception into the given generator, preserving traceback information if available.
-
twisted.python.failure.Failure._findFailure
twisted.python.failure.Failure.html#_findFailure
Function
Class Method
PRIVATE
Find the failure that represents the exception currently in context.
-
twisted.python.failure.Failure.__repr__
twisted.python.failure.Failure.html#__repr__
Function
Method
PUBLIC
Undocumented
-
twisted.python.failure.Failure.__str__
twisted.python.failure.Failure.html#__str__
Function
Method
PUBLIC
Undocumented
-
twisted.python.failure.Failure.__getstate__
twisted.python.failure.Failure.html#__getstate__
Function
Method
PUBLIC
Avoid pickling objects in the traceback.
-
twisted.python.failure.Failure.cleanFailure
twisted.python.failure.Failure.html#cleanFailure
Function
Method
PUBLIC
Remove references to other objects, replacing them with strings.
-
twisted.python.failure.Failure.getTracebackObject
twisted.python.failure.Failure.html#getTracebackObject
Function
Method
PUBLIC
Get an object that represents this Failure's stack that can be passed to traceback.extract_tb.
-
twisted.python.failure.Failure.getErrorMessage
twisted.python.failure.Failure.html#getErrorMessage
Function
Method
PUBLIC
Get a string of the exception which caused this Failure.
-
twisted.python.failure.Failure.getBriefTraceback
twisted.python.failure.Failure.html#getBriefTraceback
Function
Method
PUBLIC
Undocumented
-
twisted.python.failure.Failure.getTraceback
twisted.python.failure.Failure.html#getTraceback
Function
Method
PUBLIC
Undocumented
-
twisted.python.failure.Failure.printTraceback
twisted.python.failure.Failure.html#printTraceback
Function
Method
PUBLIC
Emulate Python's standard error reporting mechanism.
-
twisted.python.failure.Failure.printBriefTraceback
twisted.python.failure.Failure.html#printBriefTraceback
Function
Method
PUBLIC
Print a traceback as densely as possible.
-
twisted.python.failure.Failure.printDetailedTraceback
twisted.python.failure.Failure.html#printDetailedTraceback
Function
Method
PUBLIC
Print a traceback with detailed locals and globals information.
-
twisted.python.failure._safeReprVars
twisted.python.failure.html#_safeReprVars
Function
Function
PRIVATE
Convert a list of (name, object) pairs into (name, repr) pairs.
-
twisted.python.failure.DO_POST_MORTEM
twisted.python.failure.html#DO_POST_MORTEM
Attribute
Constant
PUBLIC
Undocumented
-
twisted.python.failure._debuginit
twisted.python.failure.html#_debuginit
Function
Function
PRIVATE
Initialize failure object, possibly spawning pdb.
-
twisted.python.failure.startDebugMode
twisted.python.failure.html#startDebugMode
Function
Function
PUBLIC
Enable debug hooks for Failures.
-
twisted.logger._logger._log
twisted.logger._logger.html#_log
Attribute
Variable
PRIVATE
Undocumented
-
twisted.logger._interfaces.LogTrace
twisted.logger._interfaces.html#LogTrace
Attribute
Type Alias
PUBLIC
Undocumented
-
twisted.logger._flatten.aFormatter
twisted.logger._flatten.html#aFormatter
Attribute
Variable
PUBLIC
Undocumented
-
twisted.logger._flatten.KeyFlattener
twisted.logger._flatten.KeyFlattener.html
Class
Class
PUBLIC
A
KeyFlattener computes keys for the things within curly braces in PEP-3101-style format strings as parsed by
string.Formatter.parse.
-
twisted.logger._flatten.KeyFlattener.__init__
twisted.logger._flatten.KeyFlattener.html#__init__
Function
Method
PUBLIC
-
twisted.logger._flatten.KeyFlattener.keys
twisted.logger._flatten.KeyFlattener.html#keys
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.logger._flatten.KeyFlattener.flatKey
twisted.logger._flatten.KeyFlattener.html#flatKey
Function
Method
PUBLIC
Compute a string key for a given field/format/conversion.
-
twisted.logger._flatten.flattenEvent
twisted.logger._flatten.html#flattenEvent
Function
Function
PUBLIC
Flatten the given event by pre-associating format fields with specific objects and callable results in a
dict put into the
"log_flattened" key in the event.
-
twisted.logger._flatten.flatFormat
twisted.logger._flatten.html#flatFormat
Function
Function
PUBLIC
-
twisted.python._tzhelper.FixedOffsetTimeZone
twisted.python._tzhelper.FixedOffsetTimeZone.html
Class
Class
PUBLIC
Represents a fixed timezone offset (without daylight saving time).
-
twisted.python._tzhelper.FixedOffsetTimeZone.name
twisted.python._tzhelper.FixedOffsetTimeZone.html#name
Attribute
Instance Variable
PUBLIC
A str giving the name of this timezone; the name just includes how much time this offset represents.
-
twisted.python._tzhelper.FixedOffsetTimeZone.offset
twisted.python._tzhelper.FixedOffsetTimeZone.html#offset
Attribute
Instance Variable
PUBLIC
A TimeDelta giving the amount of time this timezone is offset.
-
twisted.python._tzhelper.FixedOffsetTimeZone.__init__
twisted.python._tzhelper.FixedOffsetTimeZone.html#__init__
Function
Method
PUBLIC
-
twisted.python._tzhelper.FixedOffsetTimeZone.fromSignHoursMinutes
twisted.python._tzhelper.FixedOffsetTimeZone.html#fromSignHoursMinutes
Function
Class Method
PUBLIC
Construct a
FixedOffsetTimeZone from an offset described by sign ('+' or '-'), hours, and minutes.
-
twisted.python._tzhelper.FixedOffsetTimeZone.fromLocalTimeStamp
twisted.python._tzhelper.FixedOffsetTimeZone.html#fromLocalTimeStamp
Function
Class Method
PUBLIC
Create a time zone with a fixed offset corresponding to a time stamp in the system's locally configured time zone.
-
twisted.python._tzhelper.FixedOffsetTimeZone.utcoffset
twisted.python._tzhelper.FixedOffsetTimeZone.html#utcoffset
Function
Method
PUBLIC
Return the given timezone's offset from UTC.
-
twisted.python._tzhelper.FixedOffsetTimeZone.dst
twisted.python._tzhelper.FixedOffsetTimeZone.html#dst
Function
Method
PUBLIC
Return a zero TimeDelta for the daylight saving time offset, since there is never one.
-
twisted.python._tzhelper.FixedOffsetTimeZone.tzname
twisted.python._tzhelper.FixedOffsetTimeZone.html#tzname
Function
Method
PUBLIC
Return a string describing this timezone.
-
twisted.python._tzhelper.UTC
twisted.python._tzhelper.html#UTC
Attribute
Constant
PUBLIC
Undocumented
-
twisted.logger._format.formatUnformattableEvent
twisted.logger._format.html#formatUnformattableEvent
Function
Function
PUBLIC
Formats an event as text that describes the event generically and a formatting error.
-
twisted.logger._format.CallMapping
twisted.logger._format.CallMapping.html
Class
Class
PUBLIC
Read-only mapping that turns a ()-suffix in key names into an invocation of the key rather than a lookup of the key.
-
twisted.logger._format.CallMapping.__init__
twisted.logger._format.CallMapping.html#__init__
Function
Method
PUBLIC
No summary
-
twisted.logger._format.CallMapping._submapping
twisted.logger._format.CallMapping.html#_submapping
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.logger._format.CallMapping.__iter__
twisted.logger._format.CallMapping.html#__iter__
Function
Method
PUBLIC
Undocumented
-
twisted.logger._format.CallMapping.__len__
twisted.logger._format.CallMapping.html#__len__
Function
Method
PUBLIC
Undocumented
-
twisted.logger._format.CallMapping.__getitem__
twisted.logger._format.CallMapping.html#__getitem__
Function
Method
PUBLIC
Look up an item in the submapping for this
CallMapping, calling it if
key ends with
"()".
-
twisted.logger._format.formatWithCall
twisted.logger._format.html#formatWithCall
Function
Function
PUBLIC
Format a string like str.format, but:
-
twisted.logger._format._formatEvent
twisted.logger._format.html#_formatEvent
Function
Function
PRIVATE
Formats an event as a string, using the format in event["log_format"].
-
twisted.logger._format._formatTraceback
twisted.logger._format.html#_formatTraceback
Function
Function
PRIVATE
Format a failure traceback, assuming UTF-8 and using a replacement strategy for errors. Every effort is made to provide a usable traceback, but should not that not be possible, a message and the captured exception are logged.
-
twisted.logger._format._formatSystem
twisted.logger._format.html#_formatSystem
Function
Function
PRIVATE
Format the system specified in the event in the "log_system" key if set, otherwise the "log_namespace" and "log_level", joined by a "#". Each defaults to "-" is not set. If formatting fails completely, "UNFORMATTABLE" is returned.
-
twisted.logger.formatEvent
twisted.logger.html#formatEvent
Function
Function
PUBLIC
Formats an event as text, using the format in event["log_format"].
-
twisted.logger.formatEventAsClassicLogText
twisted.logger.html#formatEventAsClassicLogText
Function
Function
PUBLIC
Format an event as a line of human-readable text for, e.g. traditional log file output.
-
twisted.logger.formatTime
twisted.logger.html#formatTime
Function
Function
PUBLIC
Format a timestamp as text.
-
twisted.logger.timeFormatRFC3339
twisted.logger.html#timeFormatRFC3339
Attribute
Variable
PUBLIC
Undocumented
-
twisted.logger.eventAsText
twisted.logger.html#eventAsText
Function
Function
PUBLIC
Format an event as text. Optionally, attach timestamp, traceback, and system information.
-
twisted.logger.ILogObserver
twisted.logger.ILogObserver.html
Class
Interface
PUBLIC
An observer which can handle log events.
-
twisted.logger.ILogObserver.__call__
twisted.logger.ILogObserver.html#__call__
Function
Method
PUBLIC
Log an event.
-
twisted.logger.LogEvent
twisted.logger.html#LogEvent
Attribute
Type Alias
PUBLIC
Undocumented
-
twisted.logger.Logger
twisted.logger.Logger.html
Class
Class
PUBLIC
-
twisted.logger.Logger.namespace
twisted.logger.Logger.html#namespace
Attribute
Instance Variable
PUBLIC
the namespace for this logger
-
twisted.logger.Logger.source
twisted.logger.Logger.html#source
Attribute
Instance Variable
PUBLIC
The object which is emitting events via this logger
-
twisted.logger.Logger.observer
twisted.logger.Logger.html#observer
Attribute
Instance Variable
PUBLIC
The observer that this logger will send events to.
-
twisted.logger.Logger._namespaceFromCallingContext
twisted.logger.Logger.html#_namespaceFromCallingContext
Function
Static Method
PRIVATE
Derive a namespace from the module containing the caller's caller.
-
twisted.logger.Logger.__init__
twisted.logger.Logger.html#__init__
Function
Method
PUBLIC
No summary
-
twisted.logger.Logger.__get__
twisted.logger.Logger.html#__get__
Function
Method
PUBLIC
When used as a descriptor, i.e.:
-
twisted.logger.Logger.__repr__
twisted.logger.Logger.html#__repr__
Function
Method
PUBLIC
Undocumented
-
twisted.logger.Logger.emit
twisted.logger.Logger.html#emit
Function
Method
PUBLIC
Emit a log event to all log observers at the given level.
-
twisted.logger.Logger.failure
twisted.logger.Logger.html#failure
Function
Method
PUBLIC
Log a failure and emit a traceback.
-
twisted.logger.Logger.debug
twisted.logger.Logger.html#debug
Function
Method
PUBLIC
-
twisted.logger.Logger.info
twisted.logger.Logger.html#info
Function
Method
PUBLIC
-
twisted.logger.Logger.warn
twisted.logger.Logger.html#warn
Function
Method
PUBLIC
-
twisted.logger.Logger.error
twisted.logger.Logger.html#error
Function
Method
PUBLIC
-
twisted.logger.Logger.critical
twisted.logger.Logger.html#critical
Function
Method
PUBLIC
-
twisted.logger._loggerFor
twisted.logger.html#_loggerFor
Attribute
Variable
PRIVATE
Undocumented
-
twisted.logger._observer.OBSERVER_DISABLED
twisted.logger._observer.html#OBSERVER_DISABLED
Attribute
Constant
PUBLIC
Undocumented
-
twisted.logger._observer.bitbucketLogObserver
twisted.logger._observer.html#bitbucketLogObserver
Function
Function
PUBLIC
ILogObserver that does nothing with the events it sees.
-
twisted.logger.LogPublisher
twisted.logger.LogPublisher.html
Class
Class
PUBLIC
ILogObserver that fans out events to other observers.
-
twisted.logger.LogPublisher.__init__
twisted.logger.LogPublisher.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted.logger.LogPublisher._observers
twisted.logger.LogPublisher.html#_observers
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.logger.LogPublisher.log
twisted.logger.LogPublisher.html#log
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.logger.LogPublisher.addObserver
twisted.logger.LogPublisher.html#addObserver
Function
Method
PUBLIC
Registers an observer with this publisher.
-
twisted.logger.LogPublisher.removeObserver
twisted.logger.LogPublisher.html#removeObserver
Function
Method
PUBLIC
Unregisters an observer with this publisher.
-
twisted.logger.LogPublisher.__call__
twisted.logger.LogPublisher.html#__call__
Function
Method
PUBLIC
Forward events to contained observers.
-
twisted.logger.LogPublisher._errorLoggerForObserver
twisted.logger.LogPublisher.html#_errorLoggerForObserver
Function
Method
PRIVATE
Create an error-logger based on this logger, which does not contain the given bad observer.
-
twisted.logger._buffer._DEFAULT_BUFFER_MAXIMUM
twisted.logger._buffer.html#_DEFAULT_BUFFER_MAXIMUM
Attribute
Constant
PRIVATE
Undocumented
-
twisted.logger.LimitedHistoryLogObserver
twisted.logger.LimitedHistoryLogObserver.html
Class
Class
PUBLIC
ILogObserver that stores events in a buffer of a fixed size:
-
twisted.logger.LimitedHistoryLogObserver.__init__
twisted.logger.LimitedHistoryLogObserver.html#__init__
Function
Method
PUBLIC
No summary
-
twisted.logger.LimitedHistoryLogObserver._buffer
twisted.logger.LimitedHistoryLogObserver.html#_buffer
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.logger.LimitedHistoryLogObserver.__call__
twisted.logger.LimitedHistoryLogObserver.html#__call__
Function
Method
PUBLIC
Log an event.
-
twisted.logger.LimitedHistoryLogObserver.replayTo
twisted.logger.LimitedHistoryLogObserver.html#replayTo
Function
Method
PUBLIC
Re-play the buffered events to another log observer.
-
twisted.logger.FileLogObserver
twisted.logger.FileLogObserver.html
Class
Class
PUBLIC
Log observer that writes to a file-like object.
-
twisted.logger.FileLogObserver.__init__
twisted.logger.FileLogObserver.html#__init__
Function
Method
PUBLIC
No summary
-
twisted.logger.FileLogObserver._encoding
twisted.logger.FileLogObserver.html#_encoding
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.logger.FileLogObserver._outFile
twisted.logger.FileLogObserver.html#_outFile
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.logger.FileLogObserver.formatEvent
twisted.logger.FileLogObserver.html#formatEvent
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.logger.FileLogObserver.__call__
twisted.logger.FileLogObserver.html#__call__
Function
Method
PUBLIC
Write event to file.
-
twisted.logger.textFileLogObserver
twisted.logger.html#textFileLogObserver
Function
Function
PUBLIC
Create a
FileLogObserver that emits text to a specified (writable) file-like object.
-
twisted.logger._filter.shouldLogEvent
twisted.logger._filter.html#shouldLogEvent
Function
Function
PUBLIC
Determine whether an event should be logged, based on the result of predicates.
-
twisted.logger.PredicateResult
twisted.logger.PredicateResult.html
Class
Class
PUBLIC
Predicate results.
-
twisted.logger.PredicateResult.yes
twisted.logger.PredicateResult.html#yes
Attribute
Class Variable
PUBLIC
Log the specified event. When this value is used,
FilteringLogObserver will always log the message, without evaluating other predicates.
-
twisted.logger.PredicateResult.no
twisted.logger.PredicateResult.html#no
Attribute
Class Variable
PUBLIC
Do not log the specified event. When this value is used,
FilteringLogObserver will
not log the message, without evaluating other predicates.
-
twisted.logger.PredicateResult.maybe
twisted.logger.PredicateResult.html#maybe
Attribute
Class Variable
PUBLIC
Do not have an opinion on the event. When this value is used,
FilteringLogObserver will consider subsequent predicate results; if returned by the last predicate being considered, then the event will be logged.
-
twisted.logger.ILogFilterPredicate
twisted.logger.ILogFilterPredicate.html
Class
Interface
PUBLIC
A predicate that determined whether an event should be logged.
-
twisted.logger.ILogFilterPredicate.__call__
twisted.logger.ILogFilterPredicate.html#__call__
Function
Method
PUBLIC
Determine whether an event should be logged.
-
twisted.logger.FilteringLogObserver
twisted.logger.FilteringLogObserver.html
Class
Class
PUBLIC
-
twisted.logger.FilteringLogObserver.__init__
twisted.logger.FilteringLogObserver.html#__init__
Function
Method
PUBLIC
No summary
-
twisted.logger.FilteringLogObserver._observer
twisted.logger.FilteringLogObserver.html#_observer
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.logger.FilteringLogObserver._shouldLogEvent
twisted.logger.FilteringLogObserver.html#_shouldLogEvent
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.logger.FilteringLogObserver._negativeObserver
twisted.logger.FilteringLogObserver.html#_negativeObserver
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.logger.FilteringLogObserver.__call__
twisted.logger.FilteringLogObserver.html#__call__
Function
Method
PUBLIC
Forward to next observer if predicate allows it.
-
twisted.logger.LogLevelFilterPredicate
twisted.logger.LogLevelFilterPredicate.html
Class
Class
PUBLIC
ILogFilterPredicate that filters out events with a log level lower than the log level for the event's namespace.
-
twisted.logger.LogLevelFilterPredicate.__init__
twisted.logger.LogLevelFilterPredicate.html#__init__
Function
Method
PUBLIC
No summary
-
twisted.logger.LogLevelFilterPredicate._logLevelsByNamespace
twisted.logger.LogLevelFilterPredicate.html#_logLevelsByNamespace
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.logger.LogLevelFilterPredicate.defaultLogLevel
twisted.logger.LogLevelFilterPredicate.html#defaultLogLevel
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.logger.LogLevelFilterPredicate.logLevelForNamespace
twisted.logger.LogLevelFilterPredicate.html#logLevelForNamespace
Function
Method
PUBLIC
Determine an appropriate log level for the given namespace.
-
twisted.logger.LogLevelFilterPredicate.setLogLevelForNamespace
twisted.logger.LogLevelFilterPredicate.html#setLogLevelForNamespace
Function
Method
PUBLIC
Sets the log level for a logging namespace.
-
twisted.logger.LogLevelFilterPredicate.clearLogLevels
twisted.logger.LogLevelFilterPredicate.html#clearLogLevels
Function
Method
PUBLIC
Clears all log levels to the default.
-
twisted.logger.LogLevelFilterPredicate.__call__
twisted.logger.LogLevelFilterPredicate.html#__call__
Function
Method
PUBLIC
Determine whether an event should be logged.
-
twisted.logger._stdlib.toStdlibLogLevelMapping
twisted.logger._stdlib.html#toStdlibLogLevelMapping
Attribute
Variable
PUBLIC
Undocumented
-
twisted.logger._stdlib._reverseLogLevelMapping
twisted.logger._stdlib.html#_reverseLogLevelMapping
Function
Function
PRIVATE
Reverse the above mapping, adding both the numerical keys used above and the corresponding string keys also used by python logging.
-
twisted.logger._stdlib.fromStdlibLogLevelMapping
twisted.logger._stdlib.html#fromStdlibLogLevelMapping
Attribute
Variable
PUBLIC
Undocumented
-
twisted.logger._stdlib.StringifiableFromEvent
twisted.logger._stdlib.StringifiableFromEvent.html
Class
Class
PUBLIC
An object that implements __str__() in order to defer the work of formatting until it's converted into a str.
-
twisted.logger._stdlib.StringifiableFromEvent.__init__
twisted.logger._stdlib.StringifiableFromEvent.html#__init__
Function
Method
PUBLIC
No summary
-
twisted.logger._stdlib.StringifiableFromEvent.event
twisted.logger._stdlib.StringifiableFromEvent.html#event
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.logger._stdlib.StringifiableFromEvent.__str__
twisted.logger._stdlib.StringifiableFromEvent.html#__str__
Function
Method
PUBLIC
Undocumented
-
twisted.logger._stdlib.StringifiableFromEvent.__bytes__
twisted.logger._stdlib.StringifiableFromEvent.html#__bytes__
Function
Method
PUBLIC
Undocumented
-
twisted.logger.STDLibLogObserver
twisted.logger.STDLibLogObserver.html
Class
Class
PUBLIC
Log observer that writes to the python standard library's logging module.
-
twisted.logger.STDLibLogObserver.defaultStackDepth
twisted.logger.STDLibLogObserver.html#defaultStackDepth
Attribute
Class Variable
PUBLIC
This is the default number of frames that it takes to get from
STDLibLogObserver through the logging module, plus one; in other words, the number of frames if you were to call a
STDLibLogObserver directly...
-
twisted.logger.STDLibLogObserver.__init__
twisted.logger.STDLibLogObserver.html#__init__
Function
Method
PUBLIC
No summary
-
twisted.logger.STDLibLogObserver.logger
twisted.logger.STDLibLogObserver.html#logger
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.logger.STDLibLogObserver.stackDepth
twisted.logger.STDLibLogObserver.html#stackDepth
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.logger.STDLibLogObserver._findCaller
twisted.logger.STDLibLogObserver.html#_findCaller
Function
Method
PRIVATE
Based on the stack depth passed to this
STDLibLogObserver, identify the calling function.
-
twisted.logger.STDLibLogObserver.__call__
twisted.logger.STDLibLogObserver.html#__call__
Function
Method
PUBLIC
Format an event and bridge it to Python logging.
-
twisted.logger.LoggingFile.softspace 0
twisted.logger.LoggingFile.html#softspace%200
Attribute
Instance Variable
PUBLIC
Attribute to make this class more file-like under Python 2; value is zero or one. Do not use.
-
twisted.logger.LoggingFile
twisted.logger.LoggingFile.html
Class
Class
PUBLIC
File-like object that turns write() calls into logging events.
-
twisted.logger.LoggingFile.softspace
twisted.logger.LoggingFile.html#softspace
Attribute
Property
PUBLIC
Undocumented
-
twisted.logger.LoggingFile._softspace
twisted.logger.LoggingFile.html#_softspace
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.logger.LoggingFile.softspace.setter
twisted.logger.LoggingFile.html#softspace.setter
Function
Method
PUBLIC
Undocumented
-
twisted.logger.LoggingFile.__init__
twisted.logger.LoggingFile.html#__init__
Function
Method
PUBLIC
No summary
-
twisted.logger.LoggingFile.level
twisted.logger.LoggingFile.html#level
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.logger.LoggingFile.log
twisted.logger.LoggingFile.html#log
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.logger.LoggingFile._encoding
twisted.logger.LoggingFile.html#_encoding
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.logger.LoggingFile._buffer
twisted.logger.LoggingFile.html#_buffer
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.logger.LoggingFile._closed
twisted.logger.LoggingFile.html#_closed
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.logger.LoggingFile.closed
twisted.logger.LoggingFile.html#closed
Attribute
Property
PUBLIC
Read-only property. Is the file closed?
-
twisted.logger.LoggingFile.encoding
twisted.logger.LoggingFile.html#encoding
Attribute
Property
PUBLIC
Read-only property. File encoding.
-
twisted.logger.LoggingFile.mode
twisted.logger.LoggingFile.html#mode
Attribute
Property
PUBLIC
Read-only property. File mode.
-
twisted.logger.LoggingFile.newlines
twisted.logger.LoggingFile.html#newlines
Attribute
Property
PUBLIC
Read-only property. Types of newlines encountered.
-
twisted.logger.LoggingFile.name
twisted.logger.LoggingFile.html#name
Attribute
Property
PUBLIC
The name of this file; a repr-style string giving information about its namespace.
-
twisted.logger.LoggingFile.close
twisted.logger.LoggingFile.html#close
Function
Method
PUBLIC
Close this file so it can no longer be written to.
-
twisted.logger.LoggingFile.flush
twisted.logger.LoggingFile.html#flush
Function
Method
PUBLIC
No-op; this file does not buffer.
-
twisted.logger.LoggingFile.fileno
twisted.logger.LoggingFile.html#fileno
Function
Method
PUBLIC
Returns an invalid file descriptor, since this is not backed by an FD.
-
twisted.logger.LoggingFile.isatty
twisted.logger.LoggingFile.html#isatty
Function
Method
PUBLIC
-
twisted.logger.LoggingFile.write
twisted.logger.LoggingFile.html#write
Function
Method
PUBLIC
Log the given message.
-
twisted.logger.LoggingFile.writelines
twisted.logger.LoggingFile.html#writelines
Function
Method
PUBLIC
Log each of the given lines as a separate message.
-
twisted.logger.LoggingFile._unsupported
twisted.logger.LoggingFile.html#_unsupported
Function
Method
PRIVATE
Template for unsupported operations.
-
twisted.logger._legacy.publishToNewObserver
twisted.logger._legacy.html#publishToNewObserver
Function
Function
PUBLIC
-
twisted.logger.LegacyLogObserverWrapper
twisted.logger.LegacyLogObserverWrapper.html
Class
Class
PUBLIC
-
twisted.logger.LegacyLogObserverWrapper.__init__
twisted.logger.LegacyLogObserverWrapper.html#__init__
Function
Method
PUBLIC
No summary
-
twisted.logger.LegacyLogObserverWrapper.legacyObserver
twisted.logger.LegacyLogObserverWrapper.html#legacyObserver
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.logger.LegacyLogObserverWrapper.__repr__
twisted.logger.LegacyLogObserverWrapper.html#__repr__
Function
Method
PUBLIC
Undocumented
-
twisted.logger.LegacyLogObserverWrapper.__call__
twisted.logger.LegacyLogObserverWrapper.html#__call__
Function
Method
PUBLIC
Forward events to the legacy observer after editing them to ensure compatibility.
-
twisted.logger._global.MORE_THAN_ONCE_WARNING
twisted.logger._global.html#MORE_THAN_ONCE_WARNING
Attribute
Constant
PUBLIC
Undocumented
-
twisted.logger.LogBeginner
twisted.logger.LogBeginner.html
Class
Class
PUBLIC
A
LogBeginner holds state related to logging before logging has begun, and begins logging when told to do so. Logging "begins" when someone has selected a set of observers, like, for example, a
FileLogObserver...
-
twisted.logger.LogBeginner._DEFAULT_BUFFER_SIZE
twisted.logger.LogBeginner.html#_DEFAULT_BUFFER_SIZE
Attribute
Constant
PRIVATE
The default size for the initial log events buffer.
-
twisted.logger.LogBeginner._initialBuffer
twisted.logger.LogBeginner.html#_initialBuffer
Attribute
Instance Variable
PRIVATE
A buffer of messages logged before logging began.
-
twisted.logger.LogBeginner._publisher
twisted.logger.LogBeginner.html#_publisher
Attribute
Instance Variable
PRIVATE
The log publisher passed in to
LogBeginner's constructor.
-
twisted.logger.LogBeginner._log
twisted.logger.LogBeginner.html#_log
Attribute
Instance Variable
PRIVATE
The logger used to log messages about the operation of the
LogBeginner itself.
-
twisted.logger.LogBeginner._stdio
twisted.logger.LogBeginner.html#_stdio
Attribute
Instance Variable
PRIVATE
An object with stderr and stdout attributes (like the sys module) which will be replaced when redirecting standard I/O.
-
twisted.logger.LogBeginner._temporaryObserver
twisted.logger.LogBeginner.html#_temporaryObserver
Attribute
Instance Variable
PRIVATE
-
twisted.logger.LogBeginner.__init__
twisted.logger.LogBeginner.html#__init__
Function
Method
PUBLIC
-
twisted.logger.LogBeginner._warningsModule
twisted.logger.LogBeginner.html#_warningsModule
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.logger.LogBeginner._previousBegin
twisted.logger.LogBeginner.html#_previousBegin
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.logger.LogBeginner._oldshowwarning
twisted.logger.LogBeginner.html#_oldshowwarning
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.logger.LogBeginner.beginLoggingTo
twisted.logger.LogBeginner.html#beginLoggingTo
Function
Method
PUBLIC
Begin logging to the given set of observers. This will:
-
twisted.logger.LogBeginner.showwarning
twisted.logger.LogBeginner.html#showwarning
Function
Method
PUBLIC
Twisted-enabled wrapper around warnings.showwarning.
-
twisted.logger._json.log
twisted.logger._json.html#log
Attribute
Variable
PUBLIC
Undocumented
-
twisted.logger._json.JSONDict
twisted.logger._json.html#JSONDict
Attribute
Type Alias
PUBLIC
Undocumented
-
twisted.logger._json.failureAsJSON
twisted.logger._json.html#failureAsJSON
Function
Function
PUBLIC
Convert a failure to a JSON-serializable data structure.
-
twisted.logger._json.failureFromJSON
twisted.logger._json.html#failureFromJSON
Function
Function
PUBLIC
Load a
Failure from a dictionary deserialized from JSON.
-
twisted.logger._json.classInfo
twisted.logger._json.html#classInfo
Attribute
Variable
PUBLIC
Undocumented
-
twisted.logger._json.uuidToLoader
twisted.logger._json.html#uuidToLoader
Attribute
Variable
PUBLIC
Undocumented
-
twisted.logger._json.objectLoadHook
twisted.logger._json.html#objectLoadHook
Function
Function
PUBLIC
Dictionary-to-object-translation hook for certain value types used within the logging system.
-
twisted.logger._json.objectSaveHook
twisted.logger._json.html#objectSaveHook
Function
Function
PUBLIC
Object-to-serializable hook for certain value types used within the logging system.
-
twisted.logger.eventAsJSON
twisted.logger.html#eventAsJSON
Function
Function
PUBLIC
Encode an event as JSON, flattening it if necessary to preserve as much structure as possible.
-
twisted.logger.eventFromJSON
twisted.logger.html#eventFromJSON
Function
Function
PUBLIC
Decode a log event from JSON.
-
twisted.logger.jsonFileLogObserver
twisted.logger.html#jsonFileLogObserver
Function
Function
PUBLIC
Create a
FileLogObserver that emits JSON-serialized events to a specified (writable) file-like object.
-
twisted.logger.eventsFromJSONLogFile
twisted.logger.html#eventsFromJSONLogFile
Function
Function
PUBLIC
Load events from a file previously saved with
jsonFileLogObserver. Event records that are truncated or otherwise unreadable are ignored.
-
twisted.logger.capturedLogs
twisted.logger.html#capturedLogs
Function
Function
PUBLIC
Undocumented
-
twisted.python.context.defaultContextDict
twisted.python.context.html#defaultContextDict
Attribute
Variable
PUBLIC
Undocumented
-
twisted.python.context.ContextTracker
twisted.python.context.ContextTracker.html
Class
Class
PUBLIC
A
ContextTracker provides a way to pass arbitrary key/value data up and down a call stack without passing them as parameters to the functions on that call stack.
-
twisted.python.context.ContextTracker.contexts
twisted.python.context.ContextTracker.html#contexts
Attribute
Instance Variable
PUBLIC
A
list of
dicts tracking the context state. Each new
ContextTracker.callWithContext pushes a new
dict onto this stack for the duration of the call, making the data available to the function called and restoring the previous data once it is complete...
-
twisted.python.context.ContextTracker.__init__
twisted.python.context.ContextTracker.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted.python.context.ContextTracker.callWithContext
twisted.python.context.ContextTracker.html#callWithContext
Function
Method
PUBLIC
Call
func(*args, **kw) such that the contents of
newContext will be available for it to retrieve using
getContext.
-
twisted.python.context.ContextTracker.getContext
twisted.python.context.ContextTracker.html#getContext
Function
Method
PUBLIC
Retrieve the value for a key from the context.
-
twisted.python.context.ThreadedContextTracker
twisted.python.context.ThreadedContextTracker.html
Class
Class
PUBLIC
Undocumented
-
twisted.python.context.ThreadedContextTracker.__init__
twisted.python.context.ThreadedContextTracker.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted.python.context.ThreadedContextTracker.storage
twisted.python.context.ThreadedContextTracker.html#storage
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.context.ThreadedContextTracker.currentContext
twisted.python.context.ThreadedContextTracker.html#currentContext
Function
Method
PUBLIC
Undocumented
-
twisted.python.context.ThreadedContextTracker.callWithContext
twisted.python.context.ThreadedContextTracker.html#callWithContext
Function
Method
PUBLIC
Undocumented
-
twisted.python.context.ThreadedContextTracker.getContext
twisted.python.context.ThreadedContextTracker.html#getContext
Function
Method
PUBLIC
Undocumented
-
twisted.python.context.theContextTracker
twisted.python.context.html#theContextTracker
Attribute
Variable
PUBLIC
Undocumented
-
twisted.python.context.installContextTracker
twisted.python.context.html#installContextTracker
Function
Function
PUBLIC
Undocumented
-
twisted.python.util.InsensitiveDict
twisted.python.util.InsensitiveDict.html
Class
Class
PUBLIC
Dictionary, that has case-insensitive keys.
-
twisted.python.util.InsensitiveDict.__init__
twisted.python.util.InsensitiveDict.html#__init__
Function
Method
PUBLIC
Create an empty dictionary, or update from 'dict'.
-
twisted.python.util.InsensitiveDict.data
twisted.python.util.InsensitiveDict.html#data
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.util.InsensitiveDict.preserve
twisted.python.util.InsensitiveDict.html#preserve
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.util.InsensitiveDict.__delitem__
twisted.python.util.InsensitiveDict.html#__delitem__
Function
Method
PUBLIC
Undocumented
-
twisted.python.util.InsensitiveDict._lowerOrReturn
twisted.python.util.InsensitiveDict.html#_lowerOrReturn
Function
Method
PRIVATE
Undocumented
-
twisted.python.util.InsensitiveDict.__getitem__
twisted.python.util.InsensitiveDict.html#__getitem__
Function
Method
PUBLIC
Retrieve the value associated with 'key' (in any case).
-
twisted.python.util.InsensitiveDict.__setitem__
twisted.python.util.InsensitiveDict.html#__setitem__
Function
Method
PUBLIC
Associate 'value' with 'key'. If 'key' already exists, but in different case, it will be replaced.
-
twisted.python.util.InsensitiveDict.has_key
twisted.python.util.InsensitiveDict.html#has_key
Function
Method
PUBLIC
Case insensitive test whether 'key' exists.
-
twisted.python.util.InsensitiveDict._doPreserve
twisted.python.util.InsensitiveDict.html#_doPreserve
Function
Method
PRIVATE
Undocumented
-
twisted.python.util.InsensitiveDict.keys
twisted.python.util.InsensitiveDict.html#keys
Function
Method
PUBLIC
List of keys in their original case.
-
twisted.python.util.InsensitiveDict.values
twisted.python.util.InsensitiveDict.html#values
Function
Method
PUBLIC
List of values.
-
twisted.python.util.InsensitiveDict.items
twisted.python.util.InsensitiveDict.html#items
Function
Method
PUBLIC
List of (key,value) pairs.
-
twisted.python.util.InsensitiveDict.get
twisted.python.util.InsensitiveDict.html#get
Function
Method
PUBLIC
Retrieve value associated with 'key' or return default value if 'key' doesn't exist.
-
twisted.python.util.InsensitiveDict.setdefault
twisted.python.util.InsensitiveDict.html#setdefault
Function
Method
PUBLIC
If 'key' doesn't exist, associate it with the 'default' value. Return value associated with 'key'.
-
twisted.python.util.InsensitiveDict.update
twisted.python.util.InsensitiveDict.html#update
Function
Method
PUBLIC
Copy (key,value) pairs from 'dict'.
-
twisted.python.util.InsensitiveDict.__repr__
twisted.python.util.InsensitiveDict.html#__repr__
Function
Method
PUBLIC
String representation of the dictionary.
-
twisted.python.util.InsensitiveDict.iterkeys
twisted.python.util.InsensitiveDict.html#iterkeys
Function
Method
PUBLIC
Undocumented
-
twisted.python.util.InsensitiveDict.itervalues
twisted.python.util.InsensitiveDict.html#itervalues
Function
Method
PUBLIC
Undocumented
-
twisted.python.util.InsensitiveDict.iteritems
twisted.python.util.InsensitiveDict.html#iteritems
Function
Method
PUBLIC
Undocumented
-
twisted.python.util.InsensitiveDict._notFound
twisted.python.util.InsensitiveDict.html#_notFound
Attribute
Class Variable
PRIVATE
Undocumented
-
twisted.python.util.InsensitiveDict.pop
twisted.python.util.InsensitiveDict.html#pop
Function
Method
PUBLIC
No summary
-
twisted.python.util.InsensitiveDict.popitem
twisted.python.util.InsensitiveDict.html#popitem
Function
Method
PUBLIC
Undocumented
-
twisted.python.util.InsensitiveDict.clear
twisted.python.util.InsensitiveDict.html#clear
Function
Method
PUBLIC
Undocumented
-
twisted.python.util.InsensitiveDict.copy
twisted.python.util.InsensitiveDict.html#copy
Function
Method
PUBLIC
Undocumented
-
twisted.python.util.InsensitiveDict.__len__
twisted.python.util.InsensitiveDict.html#__len__
Function
Method
PUBLIC
Undocumented
-
twisted.python.util.InsensitiveDict.__eq__
twisted.python.util.InsensitiveDict.html#__eq__
Function
Method
PUBLIC
Undocumented
-
twisted.python.util.uniquify
twisted.python.util.html#uniquify
Function
Function
PUBLIC
Make the elements of a list unique by inserting them into a dictionary. This must not change the order of the input lst.
-
twisted.python.util.padTo
twisted.python.util.html#padTo
Function
Function
PUBLIC
Pads a sequence out to n elements,
-
twisted.python.util.getPluginDirs
twisted.python.util.html#getPluginDirs
Function
Function
PUBLIC
Undocumented
-
twisted.python.util.addPluginDir
twisted.python.util.html#addPluginDir
Function
Function
PUBLIC
Undocumented
-
twisted.python.util.sibpath
twisted.python.util.html#sibpath
Function
Function
PUBLIC
Return the path to a sibling of a file in the filesystem.
-
twisted.python.util._getpass
twisted.python.util.html#_getpass
Function
Function
PRIVATE
Helper to turn IOErrors into KeyboardInterrupts.
-
twisted.python.util.getPassword
twisted.python.util.html#getPassword
Function
Function
PUBLIC
Obtain a password by prompting or from stdin.
-
twisted.python.util.println
twisted.python.util.html#println
Function
Function
PUBLIC
Undocumented
-
twisted.python.util.str_xor
twisted.python.util.html#str_xor
Function
Function
PUBLIC
Undocumented
-
twisted.python.util.makeStatBar
twisted.python.util.html#makeStatBar
Function
Function
PUBLIC
Creates a function that will return a string representing a progress bar.
-
twisted.python.util.spewer
twisted.python.util.html#spewer
Function
Function
PUBLIC
A trace function for sys.settrace that prints every function or method call.
-
twisted.python.util.searchupwards
twisted.python.util.html#searchupwards
Function
Function
PUBLIC
Walk upwards from start, looking for a directory containing all files and directories given as arguments:
-
twisted.python.util.LineLog
twisted.python.util.LineLog.html
Class
Class
PUBLIC
A limited-size line-based log, useful for logging line-based protocols such as SMTP.
-
twisted.python.util.LineLog.__init__
twisted.python.util.LineLog.html#__init__
Function
Method
PUBLIC
Create a new log, with size lines of storage (default 10). A log size of 0 (or less) means an infinite log.
-
twisted.python.util.LineLog.log
twisted.python.util.LineLog.html#log
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.util.LineLog.size
twisted.python.util.LineLog.html#size
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.util.LineLog.append
twisted.python.util.LineLog.html#append
Function
Method
PUBLIC
Undocumented
-
twisted.python.util.LineLog.str
twisted.python.util.LineLog.html#str
Function
Method
PUBLIC
Undocumented
-
twisted.python.util.LineLog.__bytes__
twisted.python.util.LineLog.html#__bytes__
Function
Method
PUBLIC
Undocumented
-
twisted.python.util.LineLog.__getitem__
twisted.python.util.LineLog.html#__getitem__
Function
Method
PUBLIC
Undocumented
-
twisted.python.util.LineLog.clear
twisted.python.util.LineLog.html#clear
Function
Method
PUBLIC
Empty the log.
-
twisted.python.util.raises
twisted.python.util.html#raises
Function
Function
PUBLIC
Determine whether the given call raises the given exception.
-
twisted.python.util.IntervalDifferential
twisted.python.util.IntervalDifferential.html
Class
Class
PUBLIC
Given a list of intervals, generate the amount of time to sleep between "instants".
-
twisted.python.util.IntervalDifferential.__init__
twisted.python.util.IntervalDifferential.html#__init__
Function
Method
PUBLIC
No summary
-
twisted.python.util.IntervalDifferential.intervals
twisted.python.util.IntervalDifferential.html#intervals
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.util.IntervalDifferential.default
twisted.python.util.IntervalDifferential.html#default
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.util.IntervalDifferential.__iter__
twisted.python.util.IntervalDifferential.html#__iter__
Function
Method
PUBLIC
Undocumented
-
twisted.python.util._IntervalDifferentialIterator
twisted.python.util._IntervalDifferentialIterator.html
Class
Class
PRIVATE
Undocumented
-
twisted.python.util._IntervalDifferentialIterator.__init__
twisted.python.util._IntervalDifferentialIterator.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted.python.util._IntervalDifferentialIterator.intervals
twisted.python.util._IntervalDifferentialIterator.html#intervals
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.util._IntervalDifferentialIterator.default
twisted.python.util._IntervalDifferentialIterator.html#default
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.util._IntervalDifferentialIterator.last
twisted.python.util._IntervalDifferentialIterator.html#last
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.util._IntervalDifferentialIterator.__next__
twisted.python.util._IntervalDifferentialIterator.html#__next__
Function
Method
PUBLIC
Undocumented
-
twisted.python.util._IntervalDifferentialIterator.addInterval
twisted.python.util._IntervalDifferentialIterator.html#addInterval
Function
Method
PUBLIC
Undocumented
-
twisted.python.util._IntervalDifferentialIterator.removeInterval
twisted.python.util._IntervalDifferentialIterator.html#removeInterval
Function
Method
PUBLIC
Undocumented
-
twisted.python.util.FancyStrMixin
twisted.python.util.FancyStrMixin.html
Class
Class
PUBLIC
Mixin providing a flexible implementation of __str__.
-
twisted.python.util.FancyStrMixin.showAttributes
twisted.python.util.FancyStrMixin.html#showAttributes
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.python.util.FancyStrMixin.__str__
twisted.python.util.FancyStrMixin.html#__str__
Function
Method
PUBLIC
Undocumented
-
twisted.python.util.FancyEqMixin
twisted.python.util.FancyEqMixin.html
Class
Class
PUBLIC
Mixin that implements __eq__ and __ne__.
-
twisted.python.util.FancyEqMixin.compareAttributes
twisted.python.util.FancyEqMixin.html#compareAttributes
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.python.util.FancyEqMixin.__eq__
twisted.python.util.FancyEqMixin.html#__eq__
Function
Method
PUBLIC
Undocumented
-
twisted.python.util.FancyEqMixin.__ne__
twisted.python.util.FancyEqMixin.html#__ne__
Function
Method
PUBLIC
Undocumented
-
twisted.python.util.initgroups
twisted.python.util.html#initgroups
Function
Function
PUBLIC
Do nothing.
-
twisted.python.util.switchUID
twisted.python.util.html#switchUID
Function
Function
PUBLIC
Attempts to switch the uid/euid and gid/egid for the current process.
-
twisted.python.util.untilConcludes
twisted.python.util.html#untilConcludes
Function
Function
PUBLIC
Call f with the given arguments, handling EINTR by retrying.
-
twisted.python.util.mergeFunctionMetadata
twisted.python.util.html#mergeFunctionMetadata
Function
Function
PUBLIC
Overwrite g's name and docstring with values from f. Update g's instance dictionary with f's.
-
twisted.python.util.nameToLabel
twisted.python.util.html#nameToLabel
Function
Function
PUBLIC
Convert a string like a variable name into a slightly more human-friendly string with spaces and capitalized letters.
-
twisted.python.util.uidFromString
twisted.python.util.html#uidFromString
Function
Function
PUBLIC
Convert a user identifier, as a string, into an integer UID.
-
twisted.python.util.gidFromString
twisted.python.util.html#gidFromString
Function
Function
PUBLIC
Convert a group identifier, as a string, into an integer GID.
-
twisted.python.util.runAsEffectiveUser
twisted.python.util.html#runAsEffectiveUser
Function
Function
PUBLIC
Run the given function wrapped with seteuid/setegid calls.
-
twisted.python.util.runWithWarningsSuppressed
twisted.python.util.html#runWithWarningsSuppressed
Function
Function
PUBLIC
Run f(*args, **kwargs), but with some warnings suppressed.
-
twisted.python.threadable.DummyLock
twisted.python.threadable.DummyLock.html
Class
Class
PUBLIC
Hack to allow locks to be unpickled on an unthreaded system.
-
twisted.python.threadable.DummyLock.__reduce__
twisted.python.threadable.DummyLock.html#__reduce__
Function
Method
PUBLIC
Undocumented
-
twisted.python.threadable.unpickle_lock
twisted.python.threadable.html#unpickle_lock
Function
Function
PUBLIC
Undocumented
-
twisted.python.threadable._synchPre
twisted.python.threadable.html#_synchPre
Function
Function
PRIVATE
Undocumented
-
twisted.python.threadable._synchPost
twisted.python.threadable.html#_synchPost
Function
Function
PRIVATE
Undocumented
-
twisted.python.threadable._sync
twisted.python.threadable.html#_sync
Function
Function
PRIVATE
Undocumented
-
twisted.python.threadable.synchronize
twisted.python.threadable.html#synchronize
Function
Function
PUBLIC
Make all methods listed in each class' synchronized attribute synchronized.
-
twisted.python.threadable.init
twisted.python.threadable.html#init
Function
Function
PUBLIC
Initialize threading.
-
twisted.python.threadable._dummyID
twisted.python.threadable.html#_dummyID
Attribute
Variable
PRIVATE
Undocumented
-
twisted.python.threadable.getThreadID
twisted.python.threadable.html#getThreadID
Function
Function
PUBLIC
Undocumented
-
twisted.python.threadable.isInIOThread
twisted.python.threadable.html#isInIOThread
Function
Function
PUBLIC
Are we in the thread responsible for I/O requests (the event loop)?
-
twisted.python.threadable.registerAsIOThread
twisted.python.threadable.html#registerAsIOThread
Function
Function
PUBLIC
Mark the current thread as responsible for I/O requests.
-
twisted.python.threadable.ioThread
twisted.python.threadable.html#ioThread
Attribute
Variable
PUBLIC
Undocumented
-
twisted.python.threadable.threaded
twisted.python.threadable.html#threaded
Attribute
Variable
PUBLIC
Undocumented
-
twisted.python.threadable._synchLockCreator
twisted.python.threadable.html#_synchLockCreator
Attribute
Variable
PRIVATE
Undocumented
-
twisted.python.threadable.XLock
twisted.python.threadable.html#XLock
Attribute
Variable
PUBLIC
Undocumented
-
twisted.python.log.EventDict
twisted.python.log.html#EventDict
Attribute
Type Alias
PUBLIC
Undocumented
-
twisted.python.log.ILogContext
twisted.python.log.ILogContext.html
Class
Class
PUBLIC
Actually, this interface is just a synonym for the dictionary interface, but it serves as a key for the default information in a log.
-
twisted.python.log.ILogObserver
twisted.python.log.ILogObserver.html
Class
Interface
PUBLIC
An observer which can do something with log events.
-
twisted.python.log.ILogObserver.__call__
twisted.python.log.ILogObserver.html#__call__
Function
Method
PUBLIC
Log an event.
-
twisted.python.log.callWithContext
twisted.python.log.html#callWithContext
Function
Function
PUBLIC
Undocumented
-
twisted.python.log.callWithLogger
twisted.python.log.html#callWithLogger
Function
Function
PUBLIC
Utility method which wraps a function in a try:/except:, logs a failure if one occurs, and uses the system's logPrefix.
-
twisted.python.log.err
twisted.python.log.html#err
Function
Function
PUBLIC
Write a failure to the log.
-
twisted.python.log.Logger
twisted.python.log.Logger.html
Class
Class
PUBLIC
This represents a class which may 'own' a log. Used by subclassing.
-
twisted.python.log.Logger.logPrefix
twisted.python.log.Logger.html#logPrefix
Function
Method
PUBLIC
Override this method to insert custom logging behavior. Its return value will be inserted in front of every line. It may be called more times than the number of output lines.
-
twisted.python.log.LogPublisher
twisted.python.log.LogPublisher.html
Class
Class
PUBLIC
Class for singleton log message publishing.
-
twisted.python.log.LogPublisher.synchronized
twisted.python.log.LogPublisher.html#synchronized
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.python.log.LogPublisher.__init__
twisted.python.log.LogPublisher.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted.python.log.LogPublisher._observerPublisher
twisted.python.log.LogPublisher.html#_observerPublisher
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.python.log.LogPublisher._publishPublisher
twisted.python.log.LogPublisher.html#_publishPublisher
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.python.log.LogPublisher._legacyObservers
twisted.python.log.LogPublisher.html#_legacyObservers
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.python.log.LogPublisher._logBeginner
twisted.python.log.LogPublisher.html#_logBeginner
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.python.log.LogPublisher._warningsModule
twisted.python.log.LogPublisher.html#_warningsModule
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.python.log.LogPublisher._oldshowwarning
twisted.python.log.LogPublisher.html#_oldshowwarning
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.python.log.LogPublisher.showwarning
twisted.python.log.LogPublisher.html#showwarning
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.log.LogPublisher.observers
twisted.python.log.LogPublisher.html#observers
Attribute
Property
PUBLIC
Property returning all observers registered on this
LogPublisher.
-
twisted.python.log.LogPublisher._startLogging
twisted.python.log.LogPublisher.html#_startLogging
Function
Method
PRIVATE
-
twisted.python.log.LogPublisher._stopLogging
twisted.python.log.LogPublisher.html#_stopLogging
Function
Method
PRIVATE
Clean-up hook for fixing potentially global state. Only for testing of this module itself. If you want less global state, use the new warnings system in
twisted.logger.
-
twisted.python.log.LogPublisher.addObserver
twisted.python.log.LogPublisher.html#addObserver
Function
Method
PUBLIC
Add a new observer.
-
twisted.python.log.LogPublisher.removeObserver
twisted.python.log.LogPublisher.html#removeObserver
Function
Method
PUBLIC
Remove an observer.
-
twisted.python.log.LogPublisher.msg
twisted.python.log.LogPublisher.html#msg
Function
Method
PUBLIC
Log a new message.
-
twisted.python.log._actually
twisted.python.log.html#_actually
Function
Function
PRIVATE
A decorator that returns its argument rather than the thing it is decorating.
-
twisted.python.log.theLogPublisher
twisted.python.log.html#theLogPublisher
Attribute
Variable
PUBLIC
Undocumented
-
twisted.python.log.addObserver
twisted.python.log.html#addObserver
Function
Function
PUBLIC
Add a log observer to the global publisher.
-
twisted.python.log.removeObserver
twisted.python.log.html#removeObserver
Function
Function
PUBLIC
Remove a log observer from the global publisher.
-
twisted.python.log.msg
twisted.python.log.html#msg
Function
Function
PUBLIC
Publish a message to the global log publisher.
-
twisted.python.log.showwarning
twisted.python.log.html#showwarning
Function
Function
PUBLIC
Publish a Python warning through the global log publisher.
-
twisted.python.log._safeFormat
twisted.python.log.html#_safeFormat
Function
Function
PRIVATE
Try to format a string, swallowing all errors to always return a string.
-
twisted.python.log.textFromEventDict
twisted.python.log.html#textFromEventDict
Function
Function
PUBLIC
Extract text from an event dict passed to a log observer. If it cannot handle the dict, it returns None.
-
twisted.python.log._GlobalStartStopObserver
twisted.python.log._GlobalStartStopObserver.html
Class
Class
PRIVATE
Mix-in for global log observers that can start and stop.
-
twisted.python.log._GlobalStartStopObserver.emit
twisted.python.log._GlobalStartStopObserver.html#emit
Function
Method
PUBLIC
Emit the given log event.
-
twisted.python.log._GlobalStartStopObserver.start
twisted.python.log._GlobalStartStopObserver.html#start
Function
Method
PUBLIC
Start observing log events.
-
twisted.python.log._GlobalStartStopObserver.stop
twisted.python.log._GlobalStartStopObserver.html#stop
Function
Method
PUBLIC
Stop observing log events.
-
twisted.python.log.FileLogObserver
twisted.python.log.FileLogObserver.html
Class
Class
PUBLIC
Log observer that writes to a file-like object.
-
twisted.python.log.FileLogObserver.timeFormat
twisted.python.log.FileLogObserver.html#timeFormat
Attribute
Instance Variable
PUBLIC
If not None, the format string passed to strftime().
-
twisted.python.log.FileLogObserver.__init__
twisted.python.log.FileLogObserver.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted.python.log.FileLogObserver.write
twisted.python.log.FileLogObserver.html#write
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.log.FileLogObserver.flush
twisted.python.log.FileLogObserver.html#flush
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.log.FileLogObserver.getTimezoneOffset
twisted.python.log.FileLogObserver.html#getTimezoneOffset
Function
Method
PUBLIC
Return the current local timezone offset from UTC.
-
twisted.python.log.FileLogObserver.formatTime
twisted.python.log.FileLogObserver.html#formatTime
Function
Method
PUBLIC
Format the given UTC value as a string representing that time in the local timezone.
-
twisted.python.log.FileLogObserver.emit
twisted.python.log.FileLogObserver.html#emit
Function
Method
PUBLIC
Format the given log event as text and write it to the output file.
-
twisted.python.log.PythonLoggingObserver
twisted.python.log.PythonLoggingObserver.html
Class
Class
PUBLIC
Output twisted messages to Python standard library logging module.
-
twisted.python.log.PythonLoggingObserver.__init__
twisted.python.log.PythonLoggingObserver.html#__init__
Function
Method
PUBLIC
No summary
-
twisted.python.log.PythonLoggingObserver._newObserver
twisted.python.log.PythonLoggingObserver.html#_newObserver
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.python.log.PythonLoggingObserver.emit
twisted.python.log.PythonLoggingObserver.html#emit
Function
Method
PUBLIC
Receive a twisted log entry, format it and bridge it to python.
-
twisted.python.log.StdioOnnaStick
twisted.python.log.StdioOnnaStick.html
Class
Class
PUBLIC
Class that pretends to be stdout/err, and turns writes into log messages.
-
twisted.python.log.StdioOnnaStick.isError
twisted.python.log.StdioOnnaStick.html#isError
Attribute
Instance Variable
PUBLIC
boolean indicating whether this is stderr, in which cases log messages will be logged as errors.
-
twisted.python.log.StdioOnnaStick.encoding
twisted.python.log.StdioOnnaStick.html#encoding
Attribute
Instance Variable
PUBLIC
unicode encoding used to encode any unicode strings written to this object.
-
twisted.python.log.StdioOnnaStick.closed
twisted.python.log.StdioOnnaStick.html#closed
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.python.log.StdioOnnaStick.softspace
twisted.python.log.StdioOnnaStick.html#softspace
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.python.log.StdioOnnaStick.mode
twisted.python.log.StdioOnnaStick.html#mode
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.python.log.StdioOnnaStick.name
twisted.python.log.StdioOnnaStick.html#name
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.python.log.StdioOnnaStick.__init__
twisted.python.log.StdioOnnaStick.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted.python.log.StdioOnnaStick.buf
twisted.python.log.StdioOnnaStick.html#buf
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.log.StdioOnnaStick.close
twisted.python.log.StdioOnnaStick.html#close
Function
Method
PUBLIC
Undocumented
-
twisted.python.log.StdioOnnaStick.fileno
twisted.python.log.StdioOnnaStick.html#fileno
Function
Method
PUBLIC
Undocumented
-
twisted.python.log.StdioOnnaStick.flush
twisted.python.log.StdioOnnaStick.html#flush
Function
Method
PUBLIC
Undocumented
-
twisted.python.log.StdioOnnaStick.read
twisted.python.log.StdioOnnaStick.html#read
Function
Method
PUBLIC
Undocumented
-
twisted.python.log.StdioOnnaStick.write
twisted.python.log.StdioOnnaStick.html#write
Function
Method
PUBLIC
Undocumented
-
twisted.python.log.StdioOnnaStick.writelines
twisted.python.log.StdioOnnaStick.html#writelines
Function
Method
PUBLIC
Undocumented
-
twisted.python.log.startLogging
twisted.python.log.html#startLogging
Function
Function
PUBLIC
Initialize logging to a specified file.
-
twisted.python.log.startLoggingWithObserver
twisted.python.log.html#startLoggingWithObserver
Function
Function
PUBLIC
Initialize logging to a specified observer. If setStdout is true (defaults to yes), also redirect sys.stdout and sys.stderr to the specified file.
-
twisted.python.log.NullFile
twisted.python.log.NullFile.html
Class
Class
PUBLIC
A file-like object that discards everything.
-
twisted.python.log.NullFile.softspace
twisted.python.log.NullFile.html#softspace
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.python.log.NullFile.read
twisted.python.log.NullFile.html#read
Function
Method
PUBLIC
Do nothing.
-
twisted.python.log.NullFile.write
twisted.python.log.NullFile.html#write
Function
Method
PUBLIC
Do nothing.
-
twisted.python.log.NullFile.flush
twisted.python.log.NullFile.html#flush
Function
Method
PUBLIC
Do nothing.
-
twisted.python.log.NullFile.close
twisted.python.log.NullFile.html#close
Function
Method
PUBLIC
Do nothing.
-
twisted.python.log.discardLogs
twisted.python.log.html#discardLogs
Function
Function
PUBLIC
Discard messages logged via the global logfile object.
-
twisted.python.log.logfile
twisted.python.log.html#logfile
Attribute
Variable
PUBLIC
Undocumented
-
twisted.python.log.logerr
twisted.python.log.html#logerr
Attribute
Variable
PUBLIC
Undocumented
-
twisted.python.log.DefaultObserver
twisted.python.log.DefaultObserver.html
Class
Class
PUBLIC
Default observer.
-
twisted.python.log.DefaultObserver.emit
twisted.python.log.DefaultObserver.html#emit
Function
Method
PUBLIC
Emit an event dict.
-
twisted.python.log.defaultObserver
twisted.python.log.html#defaultObserver
Attribute
Variable
PUBLIC
Undocumented
-
twisted._threads._team.Statistics
twisted._threads._team.Statistics.html
Class
Class
PUBLIC
Statistics about a
Team's current activity.
-
twisted._threads._team.Statistics.idleWorkerCount
twisted._threads._team.Statistics.html#idleWorkerCount
Attribute
Instance Variable
PUBLIC
The number of idle workers.
-
twisted._threads._team.Statistics.busyWorkerCount
twisted._threads._team.Statistics.html#busyWorkerCount
Attribute
Instance Variable
PUBLIC
The number of busy workers.
-
twisted._threads._team.Statistics.backloggedWorkCount
twisted._threads._team.Statistics.html#backloggedWorkCount
Attribute
Instance Variable
PUBLIC
The number of work items passed to
Team.do which have not yet been sent to a worker to be performed because not enough workers are available.
-
twisted._threads._team.Statistics.__init__
twisted._threads._team.Statistics.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted._threads._threadworker._stop
twisted._threads._threadworker.html#_stop
Attribute
Variable
PRIVATE
Undocumented
-
twisted._threads.pool
twisted._threads.html#pool
Function
Function
PUBLIC
Construct a
Team that spawns threads as a thread pool, with the given limiting function.
-
twisted._threads.Team
twisted._threads.Team.html
Class
Class
PUBLIC
A composite
IWorker implementation.
-
twisted._threads.Team._quit
twisted._threads.Team.html#_quit
Attribute
Instance Variable
PRIVATE
A
Quit flag indicating whether this
Team has been quit yet. This may be set by an arbitrary thread since
Team.quit may be called from anywhere.
-
twisted._threads.Team._coordinator
twisted._threads.Team.html#_coordinator
Attribute
Instance Variable
PRIVATE
-
twisted._threads.Team._createWorker
twisted._threads.Team.html#_createWorker
Attribute
Instance Variable
PRIVATE
a callable that will create new workers.
-
twisted._threads.Team._logException
twisted._threads.Team.html#_logException
Attribute
Instance Variable
PRIVATE
a 0-argument callable called in an exception context when there is an unhandled error from a task passed to
Team.do
-
twisted._threads.Team._idle
twisted._threads.Team.html#_idle
Attribute
Instance Variable
PRIVATE
a set of idle workers.
-
twisted._threads.Team._busyCount
twisted._threads.Team.html#_busyCount
Attribute
Instance Variable
PRIVATE
the number of workers currently busy.
-
twisted._threads.Team._pending
twisted._threads.Team.html#_pending
Attribute
Instance Variable
PRIVATE
a
deque of tasks - that is, 0-argument callables passed to
Team.do - that are outstanding.
-
twisted._threads.Team._shouldQuitCoordinator
twisted._threads.Team.html#_shouldQuitCoordinator
Attribute
Instance Variable
PRIVATE
A flag indicating that the coordinator should be quit at the next available opportunity. Unlike
Team._quit, this flag is only set by the coordinator.
-
twisted._threads.Team._toShrink
twisted._threads.Team.html#_toShrink
Attribute
Instance Variable
PRIVATE
the number of workers to shrink this
Team by at the next available opportunity; set in the coordinator.
-
twisted._threads.Team.__init__
twisted._threads.Team.html#__init__
Function
Method
PUBLIC
No summary
-
twisted._threads.Team.statistics
twisted._threads.Team.html#statistics
Function
Method
PUBLIC
Gather information on the current status of this
Team.
-
twisted._threads.Team.grow
twisted._threads.Team.html#grow
Function
Method
PUBLIC
Increase the the number of idle workers by n.
-
twisted._threads.Team.shrink
twisted._threads.Team.html#shrink
Function
Method
PUBLIC
Decrease the number of idle workers by n.
-
twisted._threads.Team._quitIdlers
twisted._threads.Team.html#_quitIdlers
Function
Method
PRIVATE
The implmentation of shrink, performed by the coordinator worker.
-
twisted._threads.Team.do
twisted._threads.Team.html#do
Function
Method
PUBLIC
Perform some work in a worker created by createWorker.
-
twisted._threads.Team._coordinateThisTask
twisted._threads.Team.html#_coordinateThisTask
Function
Method
PRIVATE
Select a worker to dispatch to, either an idle one or a new one, and perform it.
-
twisted._threads.Team._recycleWorker
twisted._threads.Team.html#_recycleWorker
Function
Method
PRIVATE
Called only from coordinator.
-
twisted._threads.Team.quit
twisted._threads.Team.html#quit
Function
Method
PUBLIC
Stop doing work and shut down all idle workers.
-
twisted._threads.LockWorker
twisted._threads.LockWorker.html
Class
Class
PUBLIC
An
IWorker implemented based on a mutual-exclusion lock.
-
twisted._threads.LockWorker.__init__
twisted._threads.LockWorker.html#__init__
Function
Method
PUBLIC
No summary
-
twisted._threads.LockWorker._quit
twisted._threads.LockWorker.html#_quit
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted._threads.LockWorker._lock
twisted._threads.LockWorker.html#_lock
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted._threads.LockWorker._local
twisted._threads.LockWorker.html#_local
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted._threads.LockWorker.do
twisted._threads.LockWorker.html#do
Function
Method
PUBLIC
Do the given work on this thread, with the mutex acquired. If this is called re-entrantly, return and wait for the outer invocation to do the work.
-
twisted._threads.LockWorker.quit
twisted._threads.LockWorker.html#quit
Function
Method
PUBLIC
-
twisted._threads.ThreadWorker
twisted._threads.ThreadWorker.html
Class
Class
PUBLIC
-
twisted._threads.ThreadWorker.__init__
twisted._threads.ThreadWorker.html#__init__
Function
Method
PUBLIC
Create a
ThreadWorker with a function to start a thread and a queue to use to communicate with that thread.
-
twisted._threads.ThreadWorker._q
twisted._threads.ThreadWorker.html#_q
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted._threads.ThreadWorker._hasQuit
twisted._threads.ThreadWorker.html#_hasQuit
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted._threads.ThreadWorker.do
twisted._threads.ThreadWorker.html#do
Function
Method
PUBLIC
Perform the given task on the thread owned by this
ThreadWorker.
-
twisted._threads.ThreadWorker.quit
twisted._threads.ThreadWorker.html#quit
Function
Method
PUBLIC
Reject all future work and stop the thread started by __init__.
-
twisted.python.components.globalRegistry
twisted.python.components.html#globalRegistry
Attribute
Variable
PUBLIC
Undocumented
-
twisted.python.components.ALLOW_DUPLICATES
twisted.python.components.html#ALLOW_DUPLICATES
Attribute
Constant
PUBLIC
Undocumented
-
twisted.python.components.registerAdapter
twisted.python.components.html#registerAdapter
Function
Function
PUBLIC
Register an adapter class.
-
twisted.python.components.getAdapterFactory
twisted.python.components.html#getAdapterFactory
Function
Function
PUBLIC
Return registered adapter for a given class and interface.
-
twisted.python.components._addHook
twisted.python.components.html#_addHook
Function
Function
PRIVATE
Add an adapter hook which will attempt to look up adapters in the given registry.
-
twisted.python.components._removeHook
twisted.python.components.html#_removeHook
Function
Function
PRIVATE
Remove a previously added adapter hook.
-
twisted.python.components.getRegistry
twisted.python.components.html#getRegistry
Function
Function
PUBLIC
Returns the Twisted global zope.interface.adapter.AdapterRegistry instance.
-
twisted.python.components.Adapter
twisted.python.components.Adapter.html
Class
Class
PUBLIC
I am the default implementation of an Adapter for some interface.
-
twisted.python.components.Adapter.temporaryAdapter
twisted.python.components.Adapter.html#temporaryAdapter
Attribute
Class Variable
PUBLIC
If this is True, the adapter will not be persisted on the Componentized.
-
twisted.python.components.Adapter.multiComponent
twisted.python.components.Adapter.html#multiComponent
Attribute
Class Variable
PUBLIC
If this adapter is persistent, should it be automatically registered for all appropriate interfaces.
-
twisted.python.components.Adapter.__init__
twisted.python.components.Adapter.html#__init__
Function
Method
PUBLIC
Set my 'original' attribute to be the object I am adapting.
-
twisted.python.components.Adapter.original
twisted.python.components.Adapter.html#original
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.components.Adapter.__conform__
twisted.python.components.Adapter.html#__conform__
Function
Method
PUBLIC
I forward __conform__ to self.original if it has it, otherwise I simply return None.
-
twisted.python.components.Adapter.isuper
twisted.python.components.Adapter.html#isuper
Function
Method
PUBLIC
Forward isuper to self.original
-
twisted.python.components.Componentized
twisted.python.components.Componentized.html
Class
Class
PUBLIC
I am a mixin to allow you to be adapted in various ways persistently.
-
twisted.python.components.Componentized.persistenceVersion
twisted.python.components.Componentized.html#persistenceVersion
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.python.components.Componentized.__init__
twisted.python.components.Componentized.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted.python.components.Componentized._adapterCache
twisted.python.components.Componentized.html#_adapterCache
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.python.components.Componentized.locateAdapterClass
twisted.python.components.Componentized.html#locateAdapterClass
Function
Method
PUBLIC
Undocumented
-
twisted.python.components.Componentized.setAdapter
twisted.python.components.Componentized.html#setAdapter
Function
Method
PUBLIC
Cache a provider for the given interface, by adapting self using the given adapter class.
-
twisted.python.components.Componentized.addAdapter
twisted.python.components.Componentized.html#addAdapter
Function
Method
PUBLIC
Utility method that calls addComponent. I take an adapter class and instantiate it with myself as the first argument.
-
twisted.python.components.Componentized.setComponent
twisted.python.components.Componentized.html#setComponent
Function
Method
PUBLIC
Cache a provider of the given interface.
-
twisted.python.components.Componentized.addComponent
twisted.python.components.Componentized.html#addComponent
Function
Method
PUBLIC
Add a component to me, for all appropriate interfaces.
-
twisted.python.components.Componentized.unsetComponent
twisted.python.components.Componentized.html#unsetComponent
Function
Method
PUBLIC
Remove my component specified by the given interface class.
-
twisted.python.components.Componentized.removeComponent
twisted.python.components.Componentized.html#removeComponent
Function
Method
PUBLIC
Remove the given component from me entirely, for all interfaces for which it has been registered.
-
twisted.python.components.Componentized.getComponent
twisted.python.components.Componentized.html#getComponent
Function
Method
PUBLIC
Create or retrieve an adapter for the given interface.
-
twisted.python.components.Componentized.__conform__
twisted.python.components.Componentized.html#__conform__
Function
Method
PUBLIC
Undocumented
-
twisted.python.components.ReprableComponentized
twisted.python.components.ReprableComponentized.html
Class
Class
PUBLIC
Undocumented
-
twisted.python.components.ReprableComponentized.__init__
twisted.python.components.ReprableComponentized.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted.python.components.ReprableComponentized.__repr__
twisted.python.components.ReprableComponentized.html#__repr__
Function
Method
PUBLIC
Undocumented
-
twisted.python.components.proxyForInterface
twisted.python.components.html#proxyForInterface
Function
Function
PUBLIC
Create a class which proxies all method calls which adhere to an interface to another provider of that interface.
-
twisted.python.components._ProxiedClassMethod
twisted.python.components._ProxiedClassMethod.html
Class
Class
PRIVATE
A proxied class method.
-
twisted.python.components._ProxiedClassMethod.methodName
twisted.python.components._ProxiedClassMethod.html#methodName
Attribute
Instance Variable
PUBLIC
the name of the method which this should invoke when called.
-
twisted.python.components._ProxiedClassMethod.__name__
twisted.python.components._ProxiedClassMethod.html#__name__
Attribute
Instance Variable
PUBLIC
The name of the method being proxied (the same as methodName).
-
twisted.python.components._ProxiedClassMethod.originalAttribute
twisted.python.components._ProxiedClassMethod.html#originalAttribute
Attribute
Instance Variable
PUBLIC
name of the attribute of the proxy where the original object is stored.
-
twisted.python.components._ProxiedClassMethod.__init__
twisted.python.components._ProxiedClassMethod.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted.python.components._ProxiedClassMethod.__call__
twisted.python.components._ProxiedClassMethod.html#__call__
Function
Method
PUBLIC
Invoke the specified
methodName method of the
original attribute for proxyForInterface.
-
twisted.python.components._ProxyDescriptor
twisted.python.components._ProxyDescriptor.html
Class
Class
PRIVATE
-
twisted.python.components._ProxyDescriptor.attributeName
twisted.python.components._ProxyDescriptor.html#attributeName
Attribute
Instance Variable
PUBLIC
the name of the attribute which this descriptor will retrieve from instances' original attribute.
-
twisted.python.components._ProxyDescriptor.originalAttribute
twisted.python.components._ProxyDescriptor.html#originalAttribute
Attribute
Instance Variable
PUBLIC
name of the attribute of the proxy where the original object is stored.
-
twisted.python.components._ProxyDescriptor.__init__
twisted.python.components._ProxyDescriptor.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted.python.components._ProxyDescriptor.__get__
twisted.python.components._ProxyDescriptor.html#__get__
Function
Method
PUBLIC
Retrieve the self.attributeName property from oself.
-
twisted.python.components._ProxyDescriptor.__set__
twisted.python.components._ProxyDescriptor.html#__set__
Function
Method
PUBLIC
Set the self.attributeName property of oself.
-
twisted.python.components._ProxyDescriptor.__delete__
twisted.python.components._ProxyDescriptor.html#__delete__
Function
Method
PUBLIC
Delete the self.attributeName property of oself.
-
twisted.trial.itrial.ITestCase
twisted.trial.itrial.ITestCase.html
Class
Interface
PUBLIC
The interface that a test case must implement in order to be used in Trial.
-
twisted.trial.itrial.ITestCase.failureException
twisted.trial.itrial.ITestCase.html#failureException
Attribute
Attribute
PUBLIC
The exception class that is raised by failed assertions
-
twisted.trial.itrial.ITestCase.__call__
twisted.trial.itrial.ITestCase.html#__call__
Function
Method
PUBLIC
Run the test. Should always do exactly the same thing as run().
-
twisted.trial.itrial.ITestCase.countTestCases
twisted.trial.itrial.ITestCase.html#countTestCases
Function
Method
PUBLIC
Return the number of tests in this test case. Usually 1.
-
twisted.trial.itrial.ITestCase.id
twisted.trial.itrial.ITestCase.html#id
Function
Method
PUBLIC
Return a unique identifier for the test, usually the fully-qualified Python name.
-
twisted.trial.itrial.ITestCase.run
twisted.trial.itrial.ITestCase.html#run
Function
Method
PUBLIC
Run the test, storing the results in result.
-
twisted.trial.itrial.ITestCase.shortDescription
twisted.trial.itrial.ITestCase.html#shortDescription
Function
Method
PUBLIC
Return a short description of the test.
-
twisted.trial.itrial.IReporter
twisted.trial.itrial.IReporter.html
Class
Interface
PUBLIC
I report results from a run of a test suite.
-
twisted.trial.itrial.IReporter.shouldStop
twisted.trial.itrial.IReporter.html#shouldStop
Attribute
Attribute
PUBLIC
A boolean indicating that this reporter would like the test run to stop.
-
twisted.trial.itrial.IReporter.testsRun
twisted.trial.itrial.IReporter.html#testsRun
Attribute
Attribute
PUBLIC
The number of tests that seem to have been run according to this reporter.
-
twisted.trial.itrial.IReporter.startTest
twisted.trial.itrial.IReporter.html#startTest
Function
Method
PUBLIC
Report the beginning of a run of a single test method.
-
twisted.trial.itrial.IReporter.stopTest
twisted.trial.itrial.IReporter.html#stopTest
Function
Method
PUBLIC
Report the status of a single test method
-
twisted.trial.itrial.IReporter.addSuccess
twisted.trial.itrial.IReporter.html#addSuccess
Function
Method
PUBLIC
Record that test passed.
-
twisted.trial.itrial.IReporter.addError
twisted.trial.itrial.IReporter.html#addError
Function
Method
PUBLIC
Record that a test has raised an unexpected exception.
-
twisted.trial.itrial.IReporter.addFailure
twisted.trial.itrial.IReporter.html#addFailure
Function
Method
PUBLIC
Record that a test has failed with the given failure.
-
twisted.trial.itrial.IReporter.addExpectedFailure
twisted.trial.itrial.IReporter.html#addExpectedFailure
Function
Method
PUBLIC
Record that the given test failed, and was expected to do so.
-
twisted.trial.itrial.IReporter.addUnexpectedSuccess
twisted.trial.itrial.IReporter.html#addUnexpectedSuccess
Function
Method
PUBLIC
Record that the given test failed, and was expected to do so.
-
twisted.trial.itrial.IReporter.addSkip
twisted.trial.itrial.IReporter.html#addSkip
Function
Method
PUBLIC
Record that a test has been skipped for the given reason.
-
twisted.trial.itrial.IReporter.wasSuccessful
twisted.trial.itrial.IReporter.html#wasSuccessful
Function
Method
PUBLIC
Return a boolean indicating whether all test results that were reported to this reporter were successful or not.
-
twisted.trial.itrial.IReporter.done
twisted.trial.itrial.IReporter.html#done
Function
Method
PUBLIC
Called when the test run is complete.
-
twisted.trial.util.DEFAULT_TIMEOUT_DURATION
twisted.trial.util.html#DEFAULT_TIMEOUT_DURATION
Attribute
Constant
PUBLIC
The default timeout which will be applied to asynchronous (ie, Deferred-returning) test methods, in seconds.
-
twisted.internet.error.BindError
twisted.internet.error.BindError.html
Class
Exception
PUBLIC
Undocumented
-
twisted.internet.error.BindError.__doc__
twisted.internet.error.BindError.html#__doc__
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.error.BindError.MESSAGE
twisted.internet.error.BindError.html#MESSAGE
Attribute
Constant
PUBLIC
Undocumented
-
twisted.internet.error.BindError.__str__
twisted.internet.error.BindError.html#__str__
Function
Method
PUBLIC
Undocumented
-
twisted.internet.error.CannotListenError
twisted.internet.error.CannotListenError.html
Class
Exception
PUBLIC
This gets raised by a call to startListening, when the object cannotstart listening.
-
twisted.internet.error.CannotListenError.interface
twisted.internet.error.CannotListenError.html#interface
Attribute
Instance Variable
PUBLIC
the interface I tried to listen on
-
twisted.internet.error.CannotListenError.port
twisted.internet.error.CannotListenError.html#port
Attribute
Instance Variable
PUBLIC
the port I tried to listen on
-
twisted.internet.error.CannotListenError.socketError
twisted.internet.error.CannotListenError.html#socketError
Attribute
Instance Variable
PUBLIC
the exception I got when I tried to listen
-
twisted.internet.error.CannotListenError.__init__
twisted.internet.error.CannotListenError.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted.internet.error.CannotListenError.__str__
twisted.internet.error.CannotListenError.html#__str__
Function
Method
PUBLIC
Undocumented
-
twisted.internet.error.MulticastJoinError
twisted.internet.error.MulticastJoinError.html
Class
Exception
PUBLIC
An attempt to join a multicast group failed.
-
twisted.internet.error.MessageLengthError
twisted.internet.error.MessageLengthError.html
Class
Exception
PUBLIC
Undocumented
-
twisted.internet.error.MessageLengthError.__doc__
twisted.internet.error.MessageLengthError.html#__doc__
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.error.MessageLengthError.MESSAGE
twisted.internet.error.MessageLengthError.html#MESSAGE
Attribute
Constant
PUBLIC
Undocumented
-
twisted.internet.error.MessageLengthError.__str__
twisted.internet.error.MessageLengthError.html#__str__
Function
Method
PUBLIC
Undocumented
-
twisted.internet.error.DNSLookupError
twisted.internet.error.DNSLookupError.html
Class
Exception
PUBLIC
Undocumented
-
twisted.internet.error.DNSLookupError.__doc__
twisted.internet.error.DNSLookupError.html#__doc__
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.error.DNSLookupError.MESSAGE
twisted.internet.error.DNSLookupError.html#MESSAGE
Attribute
Constant
PUBLIC
Undocumented
-
twisted.internet.error.DNSLookupError.__str__
twisted.internet.error.DNSLookupError.html#__str__
Function
Method
PUBLIC
Undocumented
-
twisted.internet.error.ConnectInProgressError
twisted.internet.error.ConnectInProgressError.html
Class
Exception
PUBLIC
A connect operation was started and isn't done yet.
-
twisted.internet.error.ConnectError
twisted.internet.error.ConnectError.html
Class
Exception
PUBLIC
Undocumented
-
twisted.internet.error.ConnectError.__doc__
twisted.internet.error.ConnectError.html#__doc__
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.error.ConnectError.MESSAGE
twisted.internet.error.ConnectError.html#MESSAGE
Attribute
Constant
PUBLIC
Undocumented
-
twisted.internet.error.ConnectError.__init__
twisted.internet.error.ConnectError.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted.internet.error.ConnectError.osError
twisted.internet.error.ConnectError.html#osError
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.error.ConnectError.__str__
twisted.internet.error.ConnectError.html#__str__
Function
Method
PUBLIC
Undocumented
-
twisted.internet.error.ConnectBindError
twisted.internet.error.ConnectBindError.html
Class
Exception
PUBLIC
Undocumented
-
twisted.internet.error.ConnectBindError.__doc__
twisted.internet.error.ConnectBindError.html#__doc__
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.error.ConnectBindError.MESSAGE
twisted.internet.error.ConnectBindError.html#MESSAGE
Attribute
Constant
PUBLIC
Undocumented
-
twisted.internet.error.UnknownHostError
twisted.internet.error.UnknownHostError.html
Class
Exception
PUBLIC
Undocumented
-
twisted.internet.error.UnknownHostError.__doc__
twisted.internet.error.UnknownHostError.html#__doc__
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.error.UnknownHostError.MESSAGE
twisted.internet.error.UnknownHostError.html#MESSAGE
Attribute
Constant
PUBLIC
Undocumented
-
twisted.internet.error.NoRouteError
twisted.internet.error.NoRouteError.html
Class
Exception
PUBLIC
Undocumented
-
twisted.internet.error.NoRouteError.__doc__
twisted.internet.error.NoRouteError.html#__doc__
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.error.NoRouteError.MESSAGE
twisted.internet.error.NoRouteError.html#MESSAGE
Attribute
Constant
PUBLIC
Undocumented
-
twisted.internet.error.ConnectionRefusedError
twisted.internet.error.ConnectionRefusedError.html
Class
Exception
PUBLIC
Undocumented
-
twisted.internet.error.ConnectionRefusedError.__doc__
twisted.internet.error.ConnectionRefusedError.html#__doc__
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.error.ConnectionRefusedError.MESSAGE
twisted.internet.error.ConnectionRefusedError.html#MESSAGE
Attribute
Constant
PUBLIC
Undocumented
-
twisted.internet.error.TCPTimedOutError
twisted.internet.error.TCPTimedOutError.html
Class
Exception
PUBLIC
Undocumented
-
twisted.internet.error.TCPTimedOutError.__doc__
twisted.internet.error.TCPTimedOutError.html#__doc__
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.error.TCPTimedOutError.MESSAGE
twisted.internet.error.TCPTimedOutError.html#MESSAGE
Attribute
Constant
PUBLIC
Undocumented
-
twisted.internet.error.BadFileError
twisted.internet.error.BadFileError.html
Class
Exception
PUBLIC
Undocumented
-
twisted.internet.error.BadFileError.__doc__
twisted.internet.error.BadFileError.html#__doc__
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.error.BadFileError.MESSAGE
twisted.internet.error.BadFileError.html#MESSAGE
Attribute
Constant
PUBLIC
Undocumented
-
twisted.internet.error.ServiceNameUnknownError
twisted.internet.error.ServiceNameUnknownError.html
Class
Exception
PUBLIC
Undocumented
-
twisted.internet.error.ServiceNameUnknownError.__doc__
twisted.internet.error.ServiceNameUnknownError.html#__doc__
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.error.ServiceNameUnknownError.MESSAGE
twisted.internet.error.ServiceNameUnknownError.html#MESSAGE
Attribute
Constant
PUBLIC
Undocumented
-
twisted.internet.error.UserError
twisted.internet.error.UserError.html
Class
Exception
PUBLIC
Undocumented
-
twisted.internet.error.UserError.__doc__
twisted.internet.error.UserError.html#__doc__
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.error.UserError.MESSAGE
twisted.internet.error.UserError.html#MESSAGE
Attribute
Constant
PUBLIC
Undocumented
-
twisted.internet.error.TimeoutError
twisted.internet.error.TimeoutError.html
Class
Exception
PUBLIC
Undocumented
-
twisted.internet.error.TimeoutError.__doc__
twisted.internet.error.TimeoutError.html#__doc__
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.error.TimeoutError.MESSAGE
twisted.internet.error.TimeoutError.html#MESSAGE
Attribute
Constant
PUBLIC
Undocumented
-
twisted.internet.error.SSLError
twisted.internet.error.SSLError.html
Class
Exception
PUBLIC
Undocumented
-
twisted.internet.error.SSLError.__doc__
twisted.internet.error.SSLError.html#__doc__
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.error.SSLError.MESSAGE
twisted.internet.error.SSLError.html#MESSAGE
Attribute
Constant
PUBLIC
Undocumented
-
twisted.internet.error.VerifyError
twisted.internet.error.VerifyError.html
Class
Exception
PUBLIC
Undocumented
-
twisted.internet.error.VerifyError.__doc__
twisted.internet.error.VerifyError.html#__doc__
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.error.VerifyError.MESSAGE
twisted.internet.error.VerifyError.html#MESSAGE
Attribute
Constant
PUBLIC
Undocumented
-
twisted.internet.error.PeerVerifyError
twisted.internet.error.PeerVerifyError.html
Class
Exception
PUBLIC
Undocumented
-
twisted.internet.error.PeerVerifyError.__doc__
twisted.internet.error.PeerVerifyError.html#__doc__
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.error.PeerVerifyError.MESSAGE
twisted.internet.error.PeerVerifyError.html#MESSAGE
Attribute
Constant
PUBLIC
Undocumented
-
twisted.internet.error.CertificateError
twisted.internet.error.CertificateError.html
Class
Exception
PUBLIC
Undocumented
-
twisted.internet.error.CertificateError.__doc__
twisted.internet.error.CertificateError.html#__doc__
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.error.CertificateError.MESSAGE
twisted.internet.error.CertificateError.html#MESSAGE
Attribute
Constant
PUBLIC
Undocumented
-
twisted.internet.error.errnoMapping
twisted.internet.error.html#errnoMapping
Attribute
Variable
PUBLIC
Undocumented
-
twisted.internet.error.getConnectError
twisted.internet.error.html#getConnectError
Function
Function
PUBLIC
Given a socket exception, return connection error.
-
twisted.internet.error.ConnectionClosed
twisted.internet.error.ConnectionClosed.html
Class
Exception
PUBLIC
Connection was closed, whether cleanly or non-cleanly.
-
twisted.internet.error.ConnectionLost
twisted.internet.error.ConnectionLost.html
Class
Exception
PUBLIC
Undocumented
-
twisted.internet.error.ConnectionLost.__doc__
twisted.internet.error.ConnectionLost.html#__doc__
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.error.ConnectionLost.MESSAGE
twisted.internet.error.ConnectionLost.html#MESSAGE
Attribute
Constant
PUBLIC
Undocumented
-
twisted.internet.error.ConnectionLost.__str__
twisted.internet.error.ConnectionLost.html#__str__
Function
Method
PUBLIC
Undocumented
-
twisted.internet.error.ConnectionAborted
twisted.internet.error.ConnectionAborted.html
Class
Exception
PUBLIC
-
twisted.internet.error.ConnectionAborted.MESSAGE
twisted.internet.error.ConnectionAborted.html#MESSAGE
Attribute
Constant
PUBLIC
Undocumented
-
twisted.internet.error.ConnectionDone
twisted.internet.error.ConnectionDone.html
Class
Exception
PUBLIC
Undocumented
-
twisted.internet.error.ConnectionDone.__doc__
twisted.internet.error.ConnectionDone.html#__doc__
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.error.ConnectionDone.MESSAGE
twisted.internet.error.ConnectionDone.html#MESSAGE
Attribute
Constant
PUBLIC
Undocumented
-
twisted.internet.error.ConnectionDone.__str__
twisted.internet.error.ConnectionDone.html#__str__
Function
Method
PUBLIC
Undocumented
-
twisted.internet.error.FileDescriptorOverrun
twisted.internet.error.FileDescriptorOverrun.html
Class
Exception
PUBLIC
-
twisted.internet.error.FileDescriptorOverrun.MESSAGE
twisted.internet.error.FileDescriptorOverrun.html#MESSAGE
Attribute
Constant
PUBLIC
Undocumented
-
twisted.internet.error.ConnectionFdescWentAway
twisted.internet.error.ConnectionFdescWentAway.html
Class
Exception
PUBLIC
Undocumented
-
twisted.internet.error.ConnectionFdescWentAway.__doc__
twisted.internet.error.ConnectionFdescWentAway.html#__doc__
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.error.ConnectionFdescWentAway.MESSAGE
twisted.internet.error.ConnectionFdescWentAway.html#MESSAGE
Attribute
Constant
PUBLIC
Undocumented
-
twisted.internet.error.AlreadyCalled
twisted.internet.error.AlreadyCalled.html
Class
Exception
PUBLIC
Undocumented
-
twisted.internet.error.AlreadyCalled.__doc__
twisted.internet.error.AlreadyCalled.html#__doc__
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.error.AlreadyCalled.MESSAGE
twisted.internet.error.AlreadyCalled.html#MESSAGE
Attribute
Constant
PUBLIC
Undocumented
-
twisted.internet.error.AlreadyCalled.__str__
twisted.internet.error.AlreadyCalled.html#__str__
Function
Method
PUBLIC
Undocumented
-
twisted.internet.error.AlreadyCancelled
twisted.internet.error.AlreadyCancelled.html
Class
Exception
PUBLIC
Undocumented
-
twisted.internet.error.AlreadyCancelled.__doc__
twisted.internet.error.AlreadyCancelled.html#__doc__
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.error.AlreadyCancelled.MESSAGE
twisted.internet.error.AlreadyCancelled.html#MESSAGE
Attribute
Constant
PUBLIC
Undocumented
-
twisted.internet.error.AlreadyCancelled.__str__
twisted.internet.error.AlreadyCancelled.html#__str__
Function
Method
PUBLIC
Undocumented
-
twisted.internet.error.PotentialZombieWarning
twisted.internet.error.PotentialZombieWarning.html
Class
Exception
PUBLIC
Emitted when
IReactorProcess.spawnProcess is called in a way which may result in termination of the created child process not being reported.
-
twisted.internet.error.PotentialZombieWarning.MESSAGE
twisted.internet.error.PotentialZombieWarning.html#MESSAGE
Attribute
Constant
PUBLIC
Undocumented
-
twisted.internet.error.ProcessDone
twisted.internet.error.ProcessDone.html
Class
Exception
PUBLIC
Undocumented
-
twisted.internet.error.ProcessDone.__doc__
twisted.internet.error.ProcessDone.html#__doc__
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.error.ProcessDone.MESSAGE
twisted.internet.error.ProcessDone.html#MESSAGE
Attribute
Constant
PUBLIC
Undocumented
-
twisted.internet.error.ProcessDone.__init__
twisted.internet.error.ProcessDone.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted.internet.error.ProcessDone.exitCode
twisted.internet.error.ProcessDone.html#exitCode
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.error.ProcessDone.signal
twisted.internet.error.ProcessDone.html#signal
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.error.ProcessDone.status
twisted.internet.error.ProcessDone.html#status
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.error.ProcessTerminated
twisted.internet.error.ProcessTerminated.html
Class
Exception
PUBLIC
No exception docstring; 0/3 instance variable, 0/1 class variable, 0/1 constant, 1/1 method documented
-
twisted.internet.error.ProcessTerminated.__doc__
twisted.internet.error.ProcessTerminated.html#__doc__
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.error.ProcessTerminated.MESSAGE
twisted.internet.error.ProcessTerminated.html#MESSAGE
Attribute
Constant
PUBLIC
Undocumented
-
twisted.internet.error.ProcessTerminated.__init__
twisted.internet.error.ProcessTerminated.html#__init__
Function
Method
PUBLIC
No summary
-
twisted.internet.error.ProcessTerminated.exitCode
twisted.internet.error.ProcessTerminated.html#exitCode
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.error.ProcessTerminated.signal
twisted.internet.error.ProcessTerminated.html#signal
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.error.ProcessTerminated.status
twisted.internet.error.ProcessTerminated.html#status
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.error.ProcessExitedAlready
twisted.internet.error.ProcessExitedAlready.html
Class
Exception
PUBLIC
The process has already exited and the operation requested can no longer be performed.
-
twisted.internet.error.NotConnectingError
twisted.internet.error.NotConnectingError.html
Class
Exception
PUBLIC
Undocumented
-
twisted.internet.error.NotConnectingError.__doc__
twisted.internet.error.NotConnectingError.html#__doc__
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.error.NotConnectingError.MESSAGE
twisted.internet.error.NotConnectingError.html#MESSAGE
Attribute
Constant
PUBLIC
Undocumented
-
twisted.internet.error.NotConnectingError.__str__
twisted.internet.error.NotConnectingError.html#__str__
Function
Method
PUBLIC
Undocumented
-
twisted.internet.error.NotListeningError
twisted.internet.error.NotListeningError.html
Class
Exception
PUBLIC
Undocumented
-
twisted.internet.error.NotListeningError.__doc__
twisted.internet.error.NotListeningError.html#__doc__
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.error.NotListeningError.MESSAGE
twisted.internet.error.NotListeningError.html#MESSAGE
Attribute
Constant
PUBLIC
Undocumented
-
twisted.internet.error.NotListeningError.__str__
twisted.internet.error.NotListeningError.html#__str__
Function
Method
PUBLIC
Undocumented
-
twisted.internet.error.ReactorNotRunning
twisted.internet.error.ReactorNotRunning.html
Class
Exception
PUBLIC
Error raised when trying to stop a reactor which is not running.
-
twisted.internet.error.ReactorNotRestartable
twisted.internet.error.ReactorNotRestartable.html
Class
Exception
PUBLIC
Error raised when trying to run a reactor which was stopped.
-
twisted.internet.error.ReactorAlreadyRunning
twisted.internet.error.ReactorAlreadyRunning.html
Class
Exception
PUBLIC
Error raised when trying to start the reactor multiple times.
-
twisted.internet.error.ReactorAlreadyInstalledError
twisted.internet.error.ReactorAlreadyInstalledError.html
Class
Exception
PUBLIC
Could not install reactor because one is already installed.
-
twisted.internet.error.ConnectingCancelledError
twisted.internet.error.ConnectingCancelledError.html
Class
Exception
PUBLIC
-
twisted.internet.error.ConnectingCancelledError.address
twisted.internet.error.ConnectingCancelledError.html#address
Attribute
Instance Variable
PUBLIC
-
twisted.internet.error.ConnectingCancelledError.__init__
twisted.internet.error.ConnectingCancelledError.html#__init__
Function
Method
PUBLIC
No summary
-
twisted.internet.error.NoProtocol
twisted.internet.error.NoProtocol.html
Class
Exception
PUBLIC
An
Exception that will be raised when the factory given to a
IStreamClientEndpoint returns
None from
buildProtocol.
-
twisted.internet.error.UnsupportedAddressFamily
twisted.internet.error.UnsupportedAddressFamily.html
Class
Exception
PUBLIC
An attempt was made to use a socket with an address family (eg AF_INET, AF_INET6, etc) which is not supported by the reactor.
-
twisted.internet.error.UnsupportedSocketType
twisted.internet.error.UnsupportedSocketType.html
Class
Exception
PUBLIC
An attempt was made to use a socket of a type (eg SOCK_STREAM, SOCK_DGRAM, etc) which is not supported by the reactor.
-
twisted.internet.error.AlreadyListened
twisted.internet.error.AlreadyListened.html
Class
Exception
PUBLIC
An attempt was made to listen on a file descriptor which can only be listened on once.
-
twisted.internet.error.InvalidAddressError
twisted.internet.error.InvalidAddressError.html
Class
Exception
PUBLIC
An invalid address was specified (i.e. neither IPv4 or IPv6, or expected one and got the other).
-
twisted.internet.error.InvalidAddressError.address
twisted.internet.error.InvalidAddressError.html#address
Attribute
Instance Variable
PUBLIC
-
twisted.internet.error.InvalidAddressError.message
twisted.internet.error.InvalidAddressError.html#message
Attribute
Instance Variable
PUBLIC
-
twisted.internet.error.InvalidAddressError.__init__
twisted.internet.error.InvalidAddressError.html#__init__
Function
Method
PUBLIC
No summary
-
twisted.internet.main.CONNECTION_DONE
twisted.internet.main.html#CONNECTION_DONE
Attribute
Constant
PUBLIC
Undocumented
-
twisted.internet.main.CONNECTION_LOST
twisted.internet.main.html#CONNECTION_LOST
Attribute
Constant
PUBLIC
Undocumented
-
twisted.internet.main.installReactor
twisted.internet.main.html#installReactor
Function
Function
PUBLIC
Install reactor reactor.
-
twisted.internet.abstract._dataMustBeBytes
twisted.internet.abstract.html#_dataMustBeBytes
Function
Function
PRIVATE
Undocumented
-
twisted.internet.abstract._concatenate
twisted.internet.abstract.html#_concatenate
Function
Function
PRIVATE
Undocumented
-
twisted.internet.abstract._ConsumerMixin
twisted.internet.abstract._ConsumerMixin.html
Class
Class
PRIVATE
IConsumer implementations can mix this in to get
registerProducer and
unregisterProducer methods which take care of keeping track of a producer's state.
-
twisted.internet.abstract._ConsumerMixin.producer
twisted.internet.abstract._ConsumerMixin.html#producer
Attribute
Instance Variable
PUBLIC
None if no producer is registered, otherwise the registered producer.
-
twisted.internet.abstract._ConsumerMixin.producerPaused
twisted.internet.abstract._ConsumerMixin.html#producerPaused
Attribute
Instance Variable
PUBLIC
A flag indicating whether the producer is currently paused.
-
twisted.internet.abstract._ConsumerMixin.streamingProducer
twisted.internet.abstract._ConsumerMixin.html#streamingProducer
Attribute
Instance Variable
PUBLIC
bool or int
-
twisted.internet.abstract._ConsumerMixin.startWriting
twisted.internet.abstract._ConsumerMixin.html#startWriting
Function
Method
PUBLIC
Override in a subclass to cause the reactor to monitor this selectable for write events. This will be called once in unregisterProducer if loseConnection has previously been called, so that the connection can actually close.
-
twisted.internet.abstract._ConsumerMixin.registerProducer
twisted.internet.abstract._ConsumerMixin.html#registerProducer
Function
Method
PUBLIC
Register to receive data from a producer.
-
twisted.internet.abstract._ConsumerMixin.unregisterProducer
twisted.internet.abstract._ConsumerMixin.html#unregisterProducer
Function
Method
PUBLIC
Stop consuming data from a producer, without disconnecting.
-
twisted.internet.abstract._LogOwner
twisted.internet.abstract._LogOwner.html
Class
Class
PRIVATE
Mixin to help implement
interfaces.ILoggingContext for transports which have a protocol, the log prefix of which should also appear in the transport's log prefix.
-
twisted.internet.abstract._LogOwner._getLogPrefix
twisted.internet.abstract._LogOwner.html#_getLogPrefix
Function
Method
PRIVATE
Determine the log prefix to use for messages related to
applicationObject, which may or may not be an
interfaces.ILoggingContext provider.
-
twisted.internet.abstract._LogOwner.logPrefix
twisted.internet.abstract._LogOwner.html#logPrefix
Function
Method
PUBLIC
Override this method to insert custom logging behavior. Its return value will be inserted in front of every line. It may be called more times than the number of output lines.
-
twisted.internet.abstract.FileDescriptor
twisted.internet.abstract.FileDescriptor.html
Class
Class
PUBLIC
An object which can be operated on by select().
-
twisted.internet.abstract.FileDescriptor.connected
twisted.internet.abstract.FileDescriptor.html#connected
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.abstract.FileDescriptor.disconnected
twisted.internet.abstract.FileDescriptor.html#disconnected
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.abstract.FileDescriptor.disconnecting
twisted.internet.abstract.FileDescriptor.html#disconnecting
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.abstract.FileDescriptor._writeDisconnecting
twisted.internet.abstract.FileDescriptor.html#_writeDisconnecting
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.internet.abstract.FileDescriptor._writeDisconnected
twisted.internet.abstract.FileDescriptor.html#_writeDisconnected
Attribute
Class Variable
PRIVATE
Undocumented
-
twisted.internet.abstract.FileDescriptor.dataBuffer
twisted.internet.abstract.FileDescriptor.html#dataBuffer
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.abstract.FileDescriptor.offset
twisted.internet.abstract.FileDescriptor.html#offset
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.abstract.FileDescriptor.SEND_LIMIT
twisted.internet.abstract.FileDescriptor.html#SEND_LIMIT
Attribute
Constant
PUBLIC
Undocumented
-
twisted.internet.abstract.FileDescriptor.__init__
twisted.internet.abstract.FileDescriptor.html#__init__
Function
Method
PUBLIC
No summary
-
twisted.internet.abstract.FileDescriptor.reactor
twisted.internet.abstract.FileDescriptor.html#reactor
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.abstract.FileDescriptor._tempDataBuffer
twisted.internet.abstract.FileDescriptor.html#_tempDataBuffer
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.internet.abstract.FileDescriptor._tempDataLen
twisted.internet.abstract.FileDescriptor.html#_tempDataLen
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.internet.abstract.FileDescriptor.connectionLost
twisted.internet.abstract.FileDescriptor.html#connectionLost
Function
Method
PUBLIC
The connection was lost.
-
twisted.internet.abstract.FileDescriptor.producer
twisted.internet.abstract.FileDescriptor.html#producer
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.abstract.FileDescriptor.writeSomeData
twisted.internet.abstract.FileDescriptor.html#writeSomeData
Function
Method
PUBLIC
Write as much as possible of the given data, immediately.
-
twisted.internet.abstract.FileDescriptor.doRead
twisted.internet.abstract.FileDescriptor.html#doRead
Function
Method
PUBLIC
Called when data is available for reading.
-
twisted.internet.abstract.FileDescriptor.doWrite
twisted.internet.abstract.FileDescriptor.html#doWrite
Function
Method
PUBLIC
Called when data can be written.
-
twisted.internet.abstract.FileDescriptor.producerPaused
twisted.internet.abstract.FileDescriptor.html#producerPaused
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.abstract.FileDescriptor._postLoseConnection
twisted.internet.abstract.FileDescriptor.html#_postLoseConnection
Function
Method
PRIVATE
Called after a loseConnection(), when all data has been written.
-
twisted.internet.abstract.FileDescriptor._closeWriteConnection
twisted.internet.abstract.FileDescriptor.html#_closeWriteConnection
Function
Method
PRIVATE
Undocumented
-
twisted.internet.abstract.FileDescriptor.writeConnectionLost
twisted.internet.abstract.FileDescriptor.html#writeConnectionLost
Function
Method
PUBLIC
Indicates write connection was lost.
-
twisted.internet.abstract.FileDescriptor.readConnectionLost
twisted.internet.abstract.FileDescriptor.html#readConnectionLost
Function
Method
PUBLIC
Indicates read connection was lost.
-
twisted.internet.abstract.FileDescriptor.getHost
twisted.internet.abstract.FileDescriptor.html#getHost
Function
Method
PUBLIC
Similar to getPeer, but returns an address describing this side of the connection.
-
twisted.internet.abstract.FileDescriptor.getPeer
twisted.internet.abstract.FileDescriptor.html#getPeer
Function
Method
PUBLIC
Get the remote address of this connection.
-
twisted.internet.abstract.FileDescriptor._isSendBufferFull
twisted.internet.abstract.FileDescriptor.html#_isSendBufferFull
Function
Method
PRIVATE
Determine whether the user-space send buffer for this transport is full or not.
-
twisted.internet.abstract.FileDescriptor._maybePauseProducer
twisted.internet.abstract.FileDescriptor.html#_maybePauseProducer
Function
Method
PRIVATE
Possibly pause a producer, if there is one and the send buffer is full.
-
twisted.internet.abstract.FileDescriptor.write
twisted.internet.abstract.FileDescriptor.html#write
Function
Method
PUBLIC
Reliably write some data.
-
twisted.internet.abstract.FileDescriptor.writeSequence
twisted.internet.abstract.FileDescriptor.html#writeSequence
Function
Method
PUBLIC
Reliably write a sequence of data.
-
twisted.internet.abstract.FileDescriptor.loseConnection
twisted.internet.abstract.FileDescriptor.html#loseConnection
Function
Method
PUBLIC
Close the connection at the next available opportunity.
-
twisted.internet.abstract.FileDescriptor.loseWriteConnection
twisted.internet.abstract.FileDescriptor.html#loseWriteConnection
Function
Method
PUBLIC
Undocumented
-
twisted.internet.abstract.FileDescriptor.stopReading
twisted.internet.abstract.FileDescriptor.html#stopReading
Function
Method
PUBLIC
Stop waiting for read availability.
-
twisted.internet.abstract.FileDescriptor.stopWriting
twisted.internet.abstract.FileDescriptor.html#stopWriting
Function
Method
PUBLIC
Stop waiting for write availability.
-
twisted.internet.abstract.FileDescriptor.startReading
twisted.internet.abstract.FileDescriptor.html#startReading
Function
Method
PUBLIC
Start waiting for read availability.
-
twisted.internet.abstract.FileDescriptor.startWriting
twisted.internet.abstract.FileDescriptor.html#startWriting
Function
Method
PUBLIC
Start waiting for write availability.
-
twisted.internet.abstract.FileDescriptor.bufferSize
twisted.internet.abstract.FileDescriptor.html#bufferSize
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.abstract.FileDescriptor.stopConsuming
twisted.internet.abstract.FileDescriptor.html#stopConsuming
Function
Method
PUBLIC
Stop consuming data.
-
twisted.internet.abstract.FileDescriptor.resumeProducing
twisted.internet.abstract.FileDescriptor.html#resumeProducing
Function
Method
PUBLIC
Resume producing data.
-
twisted.internet.abstract.FileDescriptor.pauseProducing
twisted.internet.abstract.FileDescriptor.html#pauseProducing
Function
Method
PUBLIC
Pause producing data.
-
twisted.internet.abstract.FileDescriptor.stopProducing
twisted.internet.abstract.FileDescriptor.html#stopProducing
Function
Method
PUBLIC
Stop producing data.
-
twisted.internet.abstract.FileDescriptor.fileno
twisted.internet.abstract.FileDescriptor.html#fileno
Function
Method
PUBLIC
File Descriptor number for select().
-
twisted.internet.abstract.isIPAddress
twisted.internet.abstract.html#isIPAddress
Function
Function
PUBLIC
Determine whether the given string represents an IP address of the given family; by default, an IPv4 address.
-
twisted.internet.abstract.isIPv6Address
twisted.internet.abstract.html#isIPv6Address
Function
Function
PUBLIC
Determine whether the given string represents an IPv6 address.
-
twisted.python.runtime.shortPythonVersion
twisted.python.runtime.html#shortPythonVersion
Function
Function
PUBLIC
Returns the Python version as a dot-separated string.
-
twisted.python.runtime.knownPlatforms
twisted.python.runtime.html#knownPlatforms
Attribute
Variable
PUBLIC
Undocumented
-
twisted.python.runtime.Platform
twisted.python.runtime.Platform.html
Class
Class
PUBLIC
Gives us information about the platform we're running on.
-
twisted.python.runtime.Platform.type
twisted.python.runtime.Platform.html#type
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.runtime.Platform.seconds
twisted.python.runtime.Platform.html#seconds
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.python.runtime.Platform.__init__
twisted.python.runtime.Platform.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted.python.runtime.Platform._platform
twisted.python.runtime.Platform.html#_platform
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.python.runtime.Platform.isKnown
twisted.python.runtime.Platform.html#isKnown
Function
Method
PUBLIC
Do we know about this platform?
-
twisted.python.runtime.Platform.getType
twisted.python.runtime.Platform.html#getType
Function
Method
PUBLIC
Get platform type.
-
twisted.python.runtime.Platform.isMacOSX
twisted.python.runtime.Platform.html#isMacOSX
Function
Method
PUBLIC
Check if current platform is macOS.
-
twisted.python.runtime.Platform.isWinNT
twisted.python.runtime.Platform.html#isWinNT
Function
Method
PUBLIC
Are we running in Windows NT?
-
twisted.python.runtime.Platform.isWindows
twisted.python.runtime.Platform.html#isWindows
Function
Method
PUBLIC
Are we running in Windows?
-
twisted.python.runtime.Platform.isVista
twisted.python.runtime.Platform.html#isVista
Function
Method
PUBLIC
Check if current platform is Windows Vista or Windows Server 2008.
-
twisted.python.runtime.Platform.isLinux
twisted.python.runtime.Platform.html#isLinux
Function
Method
PUBLIC
Check if current platform is Linux.
-
twisted.python.runtime.Platform.isDocker
twisted.python.runtime.Platform.html#isDocker
Function
Method
PUBLIC
Check if the current platform is Linux in a Docker container.
-
twisted.python.runtime.Platform._supportsSymlinks
twisted.python.runtime.Platform.html#_supportsSymlinks
Function
Method
PRIVATE
Check for symlink support usable for Twisted's purposes.
-
twisted.python.runtime.Platform.supportsThreads
twisted.python.runtime.Platform.html#supportsThreads
Function
Method
PUBLIC
Can threads be created?
-
twisted.python.runtime.Platform.supportsINotify
twisted.python.runtime.Platform.html#supportsINotify
Function
Method
PUBLIC
Return True if we can use the inotify API on this platform.
-
twisted.python.runtime.platform
twisted.python.runtime.html#platform
Attribute
Variable
PUBLIC
Undocumented
-
twisted.python.runtime.platformType
twisted.python.runtime.html#platformType
Attribute
Variable
PUBLIC
Undocumented
-
twisted.python.win32.O_BINARY
twisted.python.win32.html#O_BINARY
Attribute
Constant
PUBLIC
the 'binary' mode flag on Windows, or 0 on other platforms, so it may safely be OR'ed into a mask for os.open.
-
twisted.python.win32.ERROR_FILE_NOT_FOUND
twisted.python.win32.html#ERROR_FILE_NOT_FOUND
Attribute
Constant
PUBLIC
Undocumented
-
twisted.python.win32.ERROR_PATH_NOT_FOUND
twisted.python.win32.html#ERROR_PATH_NOT_FOUND
Attribute
Constant
PUBLIC
Undocumented
-
twisted.python.win32.ERROR_INVALID_NAME
twisted.python.win32.html#ERROR_INVALID_NAME
Attribute
Constant
PUBLIC
Undocumented
-
twisted.python.win32.ERROR_DIRECTORY
twisted.python.win32.html#ERROR_DIRECTORY
Attribute
Constant
PUBLIC
Undocumented
-
twisted.python.win32.FakeWindowsError
twisted.python.win32.FakeWindowsError.html
Class
Exception
PUBLIC
Stand-in for sometimes-builtin exception on platforms for which it is missing.
-
twisted.python.win32._cmdLineQuoteRe
twisted.python.win32.html#_cmdLineQuoteRe
Attribute
Variable
PRIVATE
Undocumented
-
twisted.python.win32._cmdLineQuoteRe2
twisted.python.win32.html#_cmdLineQuoteRe2
Attribute
Variable
PRIVATE
Undocumented
-
twisted.python.win32.cmdLineQuote
twisted.python.win32.html#cmdLineQuote
Function
Function
PUBLIC
Internal method for quoting a single command-line argument.
-
twisted.python.win32.quoteArguments
twisted.python.win32.html#quoteArguments
Function
Function
PUBLIC
Quote an iterable of command-line arguments for passing to CreateProcess or a similar API. This allows the list passed to reactor.spawnProcess to match the child process's sys.argv properly.
-
twisted.python.win32._ErrorFormatter
twisted.python.win32._ErrorFormatter.html
Class
Class
PRIVATE
Formatter for Windows error messages.
-
twisted.python.win32._ErrorFormatter.winError
twisted.python.win32._ErrorFormatter.html#winError
Attribute
Instance Variable
PUBLIC
A callable which takes one integer error number argument and returns a WindowsError instance for that error (like ctypes.WinError).
-
twisted.python.win32._ErrorFormatter.formatMessage
twisted.python.win32._ErrorFormatter.html#formatMessage
Attribute
Instance Variable
PUBLIC
A callable which takes one integer error number argument and returns a
str giving the message for that error (like
win32api.FormatMessage).
-
twisted.python.win32._ErrorFormatter.errorTab
twisted.python.win32._ErrorFormatter.html#errorTab
Attribute
Instance Variable
PUBLIC
A mapping from integer error numbers to str messages which correspond to those erorrs (like socket.errorTab).
-
twisted.python.win32._ErrorFormatter.__init__
twisted.python.win32._ErrorFormatter.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted.python.win32._ErrorFormatter.fromEnvironment
twisted.python.win32._ErrorFormatter.html#fromEnvironment
Function
Class Method
PUBLIC
Get as many of the platform-specific error translation objects as possible and return an instance of cls created with them.
-
twisted.python.win32._ErrorFormatter.formatError
twisted.python.win32._ErrorFormatter.html#formatError
Function
Method
PUBLIC
Returns the string associated with a Windows error message, such as the ones found in socket.error.
-
twisted.python.win32.formatError
twisted.python.win32.html#formatError
Attribute
Variable
PUBLIC
Undocumented
-
twisted.python.filepath._CREATE_FLAGS
twisted.python.filepath.html#_CREATE_FLAGS
Attribute
Constant
PRIVATE
Undocumented
-
twisted.python.filepath._stub_islink
twisted.python.filepath.html#_stub_islink
Function
Function
PRIVATE
Always return False if the operating system does not support symlinks.
-
twisted.python.filepath.islink
twisted.python.filepath.html#islink
Attribute
Variable
PUBLIC
Undocumented
-
twisted.python.filepath.IFilePath
twisted.python.filepath.IFilePath.html
Class
Interface
PUBLIC
File path object.
-
twisted.python.filepath.IFilePath.sep
twisted.python.filepath.IFilePath.html#sep
Attribute
Attribute
PUBLIC
The path separator to use in string representations
-
twisted.python.filepath.IFilePath.child
twisted.python.filepath.IFilePath.html#child
Function
Method
PUBLIC
Obtain a direct child of this file path. The child may or may not exist.
-
twisted.python.filepath.IFilePath.open
twisted.python.filepath.IFilePath.html#open
Function
Method
PUBLIC
Opens this file path with the given mode.
-
twisted.python.filepath.IFilePath.changed
twisted.python.filepath.IFilePath.html#changed
Function
Method
PUBLIC
Clear any cached information about the state of this path on disk.
-
twisted.python.filepath.IFilePath.getsize
twisted.python.filepath.IFilePath.html#getsize
Function
Method
PUBLIC
Retrieve the size of this file in bytes.
-
twisted.python.filepath.IFilePath.getModificationTime
twisted.python.filepath.IFilePath.html#getModificationTime
Function
Method
PUBLIC
Retrieve the time of last access from this file.
-
twisted.python.filepath.IFilePath.getStatusChangeTime
twisted.python.filepath.IFilePath.html#getStatusChangeTime
Function
Method
PUBLIC
Retrieve the time of the last status change for this file.
-
twisted.python.filepath.IFilePath.getAccessTime
twisted.python.filepath.IFilePath.html#getAccessTime
Function
Method
PUBLIC
Retrieve the time that this file was last accessed.
-
twisted.python.filepath.IFilePath.exists
twisted.python.filepath.IFilePath.html#exists
Function
Method
PUBLIC
Check if this file path exists.
-
twisted.python.filepath.IFilePath.isdir
twisted.python.filepath.IFilePath.html#isdir
Function
Method
PUBLIC
Check if this file path refers to a directory.
-
twisted.python.filepath.IFilePath.isfile
twisted.python.filepath.IFilePath.html#isfile
Function
Method
PUBLIC
Check if this file path refers to a regular file.
-
twisted.python.filepath.IFilePath.children
twisted.python.filepath.IFilePath.html#children
Function
Method
PUBLIC
List the children of this path object.
-
twisted.python.filepath.IFilePath.basename
twisted.python.filepath.IFilePath.html#basename
Function
Method
PUBLIC
Retrieve the final component of the file path's path (everything after the final path separator).
-
twisted.python.filepath.IFilePath.parent
twisted.python.filepath.IFilePath.html#parent
Function
Method
PUBLIC
A file path for the directory containing the file at this file path.
-
twisted.python.filepath.IFilePath.sibling
twisted.python.filepath.IFilePath.html#sibling
Function
Method
PUBLIC
A file path for the directory containing the file at this file path.
-
twisted.python.filepath.InsecurePath
twisted.python.filepath.InsecurePath.html
Class
Exception
PUBLIC
Error that is raised when the path provided to
FilePath is invalid.
-
twisted.python.filepath.LinkError
twisted.python.filepath.LinkError.html
Class
Exception
PUBLIC
An error with symlinks - either that there are cyclical symlinks or that symlink are not supported on this platform.
-
twisted.python.filepath.UnlistableError
twisted.python.filepath.UnlistableError.html
Class
Exception
PUBLIC
An exception which is used to distinguish between errors which mean 'this is not a directory you can list' and other, more catastrophic errors.
-
twisted.python.filepath.UnlistableError.originalException
twisted.python.filepath.UnlistableError.html#originalException
Attribute
Instance Variable
PUBLIC
the actual original exception instance.
-
twisted.python.filepath.UnlistableError.__init__
twisted.python.filepath.UnlistableError.html#__init__
Function
Method
PUBLIC
Create an UnlistableError exception.
-
twisted.python.filepath._secureEnoughString
twisted.python.filepath.html#_secureEnoughString
Function
Function
PRIVATE
Compute a string usable as a new, temporary filename.
-
twisted.python.filepath.AbstractFilePath
twisted.python.filepath.AbstractFilePath.html
Class
Class
PUBLIC
Abstract implementation of an
IFilePath; must be completed by a subclass.
-
twisted.python.filepath.AbstractFilePath.getContent
twisted.python.filepath.AbstractFilePath.html#getContent
Function
Method
PUBLIC
Retrieve the contents of the file at this path.
-
twisted.python.filepath.AbstractFilePath.parents
twisted.python.filepath.AbstractFilePath.html#parents
Function
Method
PUBLIC
Retrieve an iterator of all the ancestors of this path.
-
twisted.python.filepath.AbstractFilePath.children
twisted.python.filepath.AbstractFilePath.html#children
Function
Method
PUBLIC
List the children of this path object.
-
twisted.python.filepath.AbstractFilePath.walk
twisted.python.filepath.AbstractFilePath.html#walk
Function
Method
PUBLIC
Yield myself, then each of my children, and each of those children's children in turn.
-
twisted.python.filepath.AbstractFilePath.sibling
twisted.python.filepath.AbstractFilePath.html#sibling
Function
Method
PUBLIC
Return a
FilePath with the same directory as this instance but with a basename of
path.
-
twisted.python.filepath.AbstractFilePath.descendant
twisted.python.filepath.AbstractFilePath.html#descendant
Function
Method
PUBLIC
Retrieve a child or child's child of this path.
-
twisted.python.filepath.AbstractFilePath.segmentsFrom
twisted.python.filepath.AbstractFilePath.html#segmentsFrom
Function
Method
PUBLIC
Return a list of segments between a child and its ancestor.
-
twisted.python.filepath.AbstractFilePath.__hash__
twisted.python.filepath.AbstractFilePath.html#__hash__
Function
Method
PUBLIC
Hash the same as another
FilePath with the same path as mine.
-
twisted.python.filepath.AbstractFilePath.getmtime
twisted.python.filepath.AbstractFilePath.html#getmtime
Function
Method
PUBLIC
Deprecated. Use getModificationTime instead.
-
twisted.python.filepath.AbstractFilePath.getatime
twisted.python.filepath.AbstractFilePath.html#getatime
Function
Method
PUBLIC
Deprecated. Use getAccessTime instead.
-
twisted.python.filepath.AbstractFilePath.getctime
twisted.python.filepath.AbstractFilePath.html#getctime
Function
Method
PUBLIC
Deprecated. Use getStatusChangeTime instead.
-
twisted.python.filepath.RWX
twisted.python.filepath.RWX.html
Class
Class
PUBLIC
A class representing read/write/execute permissions for a single user category (i.e. user/owner, group, or other/world). Instantiate with three boolean values: readable? writable? executable?.
-
twisted.python.filepath.RWX.read
twisted.python.filepath.RWX.html#read
Attribute
Instance Variable
PUBLIC
Whether permission to read is given
-
twisted.python.filepath.RWX.write
twisted.python.filepath.RWX.html#write
Attribute
Instance Variable
PUBLIC
Whether permission to write is given
-
twisted.python.filepath.RWX.execute
twisted.python.filepath.RWX.html#execute
Attribute
Instance Variable
PUBLIC
Whether permission to execute is given
-
twisted.python.filepath.RWX.compareAttributes
twisted.python.filepath.RWX.html#compareAttributes
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.python.filepath.RWX.__init__
twisted.python.filepath.RWX.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted.python.filepath.RWX.__repr__
twisted.python.filepath.RWX.html#__repr__
Function
Method
PUBLIC
Undocumented
-
twisted.python.filepath.RWX.shorthand
twisted.python.filepath.RWX.html#shorthand
Function
Method
PUBLIC
Returns a short string representing the permission bits. Looks like part of what is printed by command line utilities such as 'ls -l' (e.g. 'rwx')
-
twisted.python.filepath.Permissions
twisted.python.filepath.Permissions.html
Class
Class
PUBLIC
A class representing read/write/execute permissions. Instantiate with any portion of the file's mode that includes the permission bits.
-
twisted.python.filepath.Permissions.user
twisted.python.filepath.Permissions.html#user
Attribute
Instance Variable
PUBLIC
User/Owner permissions
-
twisted.python.filepath.Permissions.group
twisted.python.filepath.Permissions.html#group
Attribute
Instance Variable
PUBLIC
Group permissions
-
twisted.python.filepath.Permissions.other
twisted.python.filepath.Permissions.html#other
Attribute
Instance Variable
PUBLIC
Other/World permissions
-
twisted.python.filepath.Permissions.compareAttributes
twisted.python.filepath.Permissions.html#compareAttributes
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.python.filepath.Permissions.__init__
twisted.python.filepath.Permissions.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted.python.filepath.Permissions.__repr__
twisted.python.filepath.Permissions.html#__repr__
Function
Method
PUBLIC
Undocumented
-
twisted.python.filepath.Permissions.shorthand
twisted.python.filepath.Permissions.html#shorthand
Function
Method
PUBLIC
Returns a short string representing the permission bits. Looks like what is printed by command line utilities such as 'ls -l' (e.g. 'rwx-wx--x')
-
twisted.python.filepath._asFilesystemBytes
twisted.python.filepath.html#_asFilesystemBytes
Function
Function
PRIVATE
Return path as a string of bytes suitable for use on this system's filesystem.
-
twisted.python.filepath._asFilesystemText
twisted.python.filepath.html#_asFilesystemText
Function
Function
PRIVATE
Return
path as a string of
unicode suitable for use on this system's filesystem.
-
twisted.python.filepath._coerceToFilesystemEncoding
twisted.python.filepath.html#_coerceToFilesystemEncoding
Function
Function
PRIVATE
Return a newpath that is suitable for joining to path.
-
twisted.python.filepath.FilePath
twisted.python.filepath.FilePath.html
Class
Class
PUBLIC
I am a path on the filesystem that only permits 'downwards' access.
-
twisted.python.filepath.FilePath.alwaysCreate
twisted.python.filepath.FilePath.html#alwaysCreate
Attribute
Instance Variable
PUBLIC
When opening this file, only succeed if the file does not already exist.
-
twisted.python.filepath.FilePath.path
twisted.python.filepath.FilePath.html#path
Attribute
Instance Variable
PUBLIC
The path from which 'downward' traversal is permitted.
-
twisted.python.filepath.FilePath._statinfo
twisted.python.filepath.FilePath.html#_statinfo
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.python.filepath.FilePath.__init__
twisted.python.filepath.FilePath.html#__init__
Function
Method
PUBLIC
Convert a path string to an absolute path if necessary and initialize the
FilePath with the result.
-
twisted.python.filepath.FilePath.__getstate__
twisted.python.filepath.FilePath.html#__getstate__
Function
Method
PUBLIC
Support serialization by discarding cached os.stat results and returning everything else.
-
twisted.python.filepath.FilePath.sep
twisted.python.filepath.FilePath.html#sep
Attribute
Property
PUBLIC
Return a filesystem separator.
-
twisted.python.filepath.FilePath._asBytesPath
twisted.python.filepath.FilePath.html#_asBytesPath
Function
Method
PRIVATE
Return the path of this
FilePath as bytes.
-
twisted.python.filepath.FilePath._asTextPath
twisted.python.filepath.FilePath.html#_asTextPath
Function
Method
PRIVATE
Return the path of this
FilePath as text.
-
twisted.python.filepath.FilePath.asBytesMode
twisted.python.filepath.FilePath.html#asBytesMode
Function
Method
PUBLIC
-
twisted.python.filepath.FilePath.asTextMode
twisted.python.filepath.FilePath.html#asTextMode
Function
Method
PUBLIC
-
twisted.python.filepath.FilePath._getPathAsSameTypeAs
twisted.python.filepath.FilePath.html#_getPathAsSameTypeAs
Function
Method
PRIVATE
-
twisted.python.filepath.FilePath.child
twisted.python.filepath.FilePath.html#child
Function
Method
PUBLIC
Create and return a new
FilePath representing a path contained by
self.
-
twisted.python.filepath.FilePath.preauthChild
twisted.python.filepath.FilePath.html#preauthChild
Function
Method
PUBLIC
Use me if path might have slashes in it, but you know they're safe.
-
twisted.python.filepath.FilePath.childSearchPreauth
twisted.python.filepath.FilePath.html#childSearchPreauth
Function
Method
PUBLIC
Return my first existing child with a name in paths.
-
twisted.python.filepath.FilePath.siblingExtensionSearch
twisted.python.filepath.FilePath.html#siblingExtensionSearch
Function
Method
PUBLIC
Attempt to return a path with my name, given multiple possible extensions.
-
twisted.python.filepath.FilePath.realpath
twisted.python.filepath.FilePath.html#realpath
Function
Method
PUBLIC
Returns the absolute target as a
FilePath if self is a link, self otherwise.
-
twisted.python.filepath.FilePath.siblingExtension
twisted.python.filepath.FilePath.html#siblingExtension
Function
Method
PUBLIC
Attempt to return a path with my name, given the extension at ext.
-
twisted.python.filepath.FilePath.linkTo
twisted.python.filepath.FilePath.html#linkTo
Function
Method
PUBLIC
Creates a symlink to self to at the path in the
FilePath linkFilePath.
-
twisted.python.filepath.FilePath.open
twisted.python.filepath.FilePath.html#open
Function
Method
PUBLIC
Open this file using mode or for writing if alwaysCreate is True.
-
twisted.python.filepath.FilePath.restat
twisted.python.filepath.FilePath.html#restat
Function
Method
PUBLIC
Re-calculate cached effects of 'stat'. To refresh information on this path after you know the filesystem may have changed, call this method.
-
twisted.python.filepath.FilePath.changed
twisted.python.filepath.FilePath.html#changed
Function
Method
PUBLIC
Clear any cached information about the state of this path on disk.
-
twisted.python.filepath.FilePath.chmod
twisted.python.filepath.FilePath.html#chmod
Function
Method
PUBLIC
Changes the permissions on self, if possible. Propagates errors from os.chmod up.
-
twisted.python.filepath.FilePath.getsize
twisted.python.filepath.FilePath.html#getsize
Function
Method
PUBLIC
Retrieve the size of this file in bytes.
-
twisted.python.filepath.FilePath.getModificationTime
twisted.python.filepath.FilePath.html#getModificationTime
Function
Method
PUBLIC
Retrieve the time of last access from this file.
-
twisted.python.filepath.FilePath.getStatusChangeTime
twisted.python.filepath.FilePath.html#getStatusChangeTime
Function
Method
PUBLIC
Retrieve the time of the last status change for this file.
-
twisted.python.filepath.FilePath.getAccessTime
twisted.python.filepath.FilePath.html#getAccessTime
Function
Method
PUBLIC
Retrieve the time that this file was last accessed.
-
twisted.python.filepath.FilePath.getInodeNumber
twisted.python.filepath.FilePath.html#getInodeNumber
Function
Method
PUBLIC
Retrieve the file serial number, also called inode number, which distinguishes this file from all other files on the same device.
-
twisted.python.filepath.FilePath.getDevice
twisted.python.filepath.FilePath.html#getDevice
Function
Method
PUBLIC
Retrieves the device containing the file. The inode number and device number together uniquely identify the file, but the device number is not necessarily consistent across reboots or system crashes.
-
twisted.python.filepath.FilePath.getNumberOfHardLinks
twisted.python.filepath.FilePath.html#getNumberOfHardLinks
Function
Method
PUBLIC
Retrieves the number of hard links to the file.
-
twisted.python.filepath.FilePath.getUserID
twisted.python.filepath.FilePath.html#getUserID
Function
Method
PUBLIC
Returns the user ID of the file's owner.
-
twisted.python.filepath.FilePath.getGroupID
twisted.python.filepath.FilePath.html#getGroupID
Function
Method
PUBLIC
Returns the group ID of the file.
-
twisted.python.filepath.FilePath.getPermissions
twisted.python.filepath.FilePath.html#getPermissions
Function
Method
PUBLIC
Returns the permissions of the file. Should also work on Windows, however, those permissions may not be what is expected in Windows.
-
twisted.python.filepath.FilePath.exists
twisted.python.filepath.FilePath.html#exists
Function
Method
PUBLIC
-
twisted.python.filepath.FilePath.isdir
twisted.python.filepath.FilePath.html#isdir
Function
Method
PUBLIC
Check if this
FilePath refers to a directory.
-
twisted.python.filepath.FilePath.isfile
twisted.python.filepath.FilePath.html#isfile
Function
Method
PUBLIC
Check if this file path refers to a regular file.
-
twisted.python.filepath.FilePath.isBlockDevice
twisted.python.filepath.FilePath.html#isBlockDevice
Function
Method
PUBLIC
Returns whether the underlying path is a block device.
-
twisted.python.filepath.FilePath.isSocket
twisted.python.filepath.FilePath.html#isSocket
Function
Method
PUBLIC
Returns whether the underlying path is a socket.
-
twisted.python.filepath.FilePath.islink
twisted.python.filepath.FilePath.html#islink
Function
Method
PUBLIC
Check if this
FilePath points to a symbolic link.
-
twisted.python.filepath.FilePath.isabs
twisted.python.filepath.FilePath.html#isabs
Function
Method
PUBLIC
Check if this
FilePath refers to an absolute path.
-
twisted.python.filepath.FilePath.listdir
twisted.python.filepath.FilePath.html#listdir
Function
Method
PUBLIC
List the base names of the direct children of this
FilePath.
-
twisted.python.filepath.FilePath.splitext
twisted.python.filepath.FilePath.html#splitext
Function
Method
PUBLIC
Split the file path into a pair (root, ext) such that root + ext == path.
-
twisted.python.filepath.FilePath.__repr__
twisted.python.filepath.FilePath.html#__repr__
Function
Method
PUBLIC
Undocumented
-
twisted.python.filepath.FilePath.touch
twisted.python.filepath.FilePath.html#touch
Function
Method
PUBLIC
Updates the access and last modification times of the file at this file path to the current time. Also creates the file if it does not already exist.
-
twisted.python.filepath.FilePath.remove
twisted.python.filepath.FilePath.html#remove
Function
Method
PUBLIC
Removes the file or directory that is represented by self. If self.path is a directory, recursively remove all its children before removing the directory. If it's a file or link, just delete it.
-
twisted.python.filepath.FilePath.makedirs
twisted.python.filepath.FilePath.html#makedirs
Function
Method
PUBLIC
Create all directories not yet existing in path segments, using os.makedirs.
-
twisted.python.filepath.FilePath.globChildren
twisted.python.filepath.FilePath.html#globChildren
Function
Method
PUBLIC
Assuming I am representing a directory, return a list of FilePaths representing my children that match the given pattern.
-
twisted.python.filepath.FilePath.basename
twisted.python.filepath.FilePath.html#basename
Function
Method
PUBLIC
Retrieve the final component of the file path's path (everything after the final path separator).
-
twisted.python.filepath.FilePath.dirname
twisted.python.filepath.FilePath.html#dirname
Function
Method
PUBLIC
Retrieve all of the components of the
FilePath's path except the last one (everything up to the final path separator).
-
twisted.python.filepath.FilePath.parent
twisted.python.filepath.FilePath.html#parent
Function
Method
PUBLIC
A file path for the directory containing the file at this file path.
-
twisted.python.filepath.FilePath.setContent
twisted.python.filepath.FilePath.html#setContent
Function
Method
PUBLIC
Replace the file at this path with a new file that contains the given bytes, trying to avoid data-loss in the meanwhile.
-
twisted.python.filepath.FilePath.__cmp__
twisted.python.filepath.FilePath.html#__cmp__
Function
Method
PUBLIC
Undocumented
-
twisted.python.filepath.FilePath.createDirectory
twisted.python.filepath.FilePath.html#createDirectory
Function
Method
PUBLIC
Create the directory the
FilePath refers to.
-
twisted.python.filepath.FilePath.requireCreate
twisted.python.filepath.FilePath.html#requireCreate
Function
Method
PUBLIC
Sets the alwaysCreate variable.
-
twisted.python.filepath.FilePath.create
twisted.python.filepath.FilePath.html#create
Function
Method
PUBLIC
Exclusively create a file, only if this file previously did not exist.
-
twisted.python.filepath.FilePath.temporarySibling
twisted.python.filepath.FilePath.html#temporarySibling
Function
Method
PUBLIC
Construct a path referring to a sibling of this path.
-
twisted.python.filepath.FilePath._chunkSize
twisted.python.filepath.FilePath.html#_chunkSize
Attribute
Class Variable
PRIVATE
Undocumented
-
twisted.python.filepath.FilePath.copyTo
twisted.python.filepath.FilePath.html#copyTo
Function
Method
PUBLIC
Copies self to destination.
-
twisted.python.filepath.FilePath.moveTo
twisted.python.filepath.FilePath.html#moveTo
Function
Method
PUBLIC
Move self to destination - basically renaming self to whatever destination is named.
-
twisted.internet.address.IPv4Address
twisted.internet.address.IPv4Address.html
Class
Class
PUBLIC
An
IPv4Address represents the address of an IPv4 socket endpoint.
-
twisted.internet.address.IPv4Address.type
twisted.internet.address.IPv4Address.html#type
Attribute
Instance Variable
PUBLIC
A string describing the type of transport, either 'TCP' or 'UDP'.
-
twisted.internet.address.IPv4Address.host
twisted.internet.address.IPv4Address.html#host
Attribute
Instance Variable
PUBLIC
A string containing a dotted-quad IPv4 address; for example, "127.0.0.1".
-
twisted.internet.address.IPv4Address.port
twisted.internet.address.IPv4Address.html#port
Attribute
Instance Variable
PUBLIC
An integer representing the port number.
-
twisted.internet.address.IPv6Address
twisted.internet.address.IPv6Address.html
Class
Class
PUBLIC
An
IPv6Address represents the address of an IPv6 socket endpoint.
-
twisted.internet.address.IPv6Address.type
twisted.internet.address.IPv6Address.html#type
Attribute
Instance Variable
PUBLIC
A string describing the type of transport, either 'TCP' or 'UDP'.
-
twisted.internet.address.IPv6Address.host
twisted.internet.address.IPv6Address.html#host
Attribute
Instance Variable
PUBLIC
A string containing a colon-separated, hexadecimal formatted IPv6 address; for example, "::1".
-
twisted.internet.address.IPv6Address.port
twisted.internet.address.IPv6Address.html#port
Attribute
Instance Variable
PUBLIC
An integer representing the port number.
-
twisted.internet.address.IPv6Address.flowInfo
twisted.internet.address.IPv6Address.html#flowInfo
Attribute
Instance Variable
PUBLIC
the IPv6 flow label. This can be used by QoS routers to identify flows of traffic; you may generally safely ignore it.
-
twisted.internet.address.IPv6Address.scopeID
twisted.internet.address.IPv6Address.html#scopeID
Attribute
Instance Variable
PUBLIC
the IPv6 scope identifier - roughly analagous to what interface traffic destined for this address must be transmitted over.
-
twisted.internet.address._ProcessAddress
twisted.internet.address._ProcessAddress.html
Class
Class
PRIVATE
-
twisted.internet.address.HostnameAddress
twisted.internet.address.HostnameAddress.html
Class
Class
PUBLIC
-
twisted.internet.address.HostnameAddress.hostname
twisted.internet.address.HostnameAddress.html#hostname
Attribute
Instance Variable
PUBLIC
A hostname byte string; for example, b"example.com".
-
twisted.internet.address.HostnameAddress.port
twisted.internet.address.HostnameAddress.html#port
Attribute
Instance Variable
PUBLIC
An integer representing the port number.
-
twisted.internet.address.UNIXAddress
twisted.internet.address.UNIXAddress.html
Class
Class
PUBLIC
Object representing a UNIX socket endpoint.
-
twisted.internet.address.UNIXAddress.name
twisted.internet.address.UNIXAddress.html#name
Attribute
Instance Variable
PUBLIC
The filename associated with this socket.
-
twisted.internet.address.UNIXAddress.__eq__
twisted.internet.address.UNIXAddress.html#__eq__
Function
Method
PUBLIC
Overriding attrs to ensure the os level samefile check is done if the name attributes do not match.
-
twisted.internet.address.UNIXAddress.__repr__
twisted.internet.address.UNIXAddress.html#__repr__
Function
Method
PUBLIC
Undocumented
-
twisted.internet.address.UNIXAddress.__hash__
twisted.internet.address.UNIXAddress.html#__hash__
Function
Method
PUBLIC
Undocumented
-
twisted.internet.address._ServerFactoryIPv4Address
twisted.internet.address._ServerFactoryIPv4Address.html
Class
Class
PRIVATE
Backwards compatibility hack. Just like IPv4Address in practice.
-
twisted.internet.address._ServerFactoryIPv4Address.__eq__
twisted.internet.address._ServerFactoryIPv4Address.html#__eq__
Function
Method
PUBLIC
Undocumented
-
twisted.python.lockfile.unique
twisted.python.lockfile.html#unique
Function
Function
PUBLIC
Undocumented
-
twisted.python.lockfile._windows
twisted.python.lockfile.html#_windows
Attribute
Variable
PRIVATE
Undocumented
-
twisted.python.lockfile.FilesystemLock
twisted.python.lockfile.FilesystemLock.html
Class
Class
PUBLIC
A mutex.
-
twisted.python.lockfile.FilesystemLock.name
twisted.python.lockfile.FilesystemLock.html#name
Attribute
Instance Variable
PUBLIC
The name of the file associated with this lock.
-
twisted.python.lockfile.FilesystemLock.clean
twisted.python.lockfile.FilesystemLock.html#clean
Attribute
Instance Variable
PUBLIC
Indicates whether this lock was released cleanly by its last owner. Only meaningful after lock has been called and returns True.
-
twisted.python.lockfile.FilesystemLock.locked
twisted.python.lockfile.FilesystemLock.html#locked
Attribute
Instance Variable
PUBLIC
Indicates whether the lock is currently held by this object.
-
twisted.python.lockfile.FilesystemLock.__init__
twisted.python.lockfile.FilesystemLock.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted.python.lockfile.FilesystemLock.lock
twisted.python.lockfile.FilesystemLock.html#lock
Function
Method
PUBLIC
Acquire this lock.
-
twisted.python.lockfile.FilesystemLock.unlock
twisted.python.lockfile.FilesystemLock.html#unlock
Function
Method
PUBLIC
Release this lock.
-
twisted.python.lockfile.isLocked
twisted.python.lockfile.html#isLocked
Function
Function
PUBLIC
Determine if the lock of the given name is held or not.
-
twisted.internet.defer.log
twisted.internet.defer.html#log
Attribute
Variable
PUBLIC
Undocumented
-
twisted.internet.defer._T
twisted.internet.defer.html#_T
Attribute
Type Variable
PRIVATE
Undocumented
-
twisted.internet.defer.AlreadyCalledError
twisted.internet.defer.AlreadyCalledError.html
Class
Exception
PUBLIC
-
twisted.internet.defer.CancelledError
twisted.internet.defer.CancelledError.html
Class
Exception
PUBLIC
This error is raised by default when a
Deferred is cancelled.
-
twisted.internet.defer.TimeoutError
twisted.internet.defer.TimeoutError.html
Class
Exception
PUBLIC
This error is raised by default when a
Deferred times out.
-
twisted.internet.defer.NotACoroutineError
twisted.internet.defer.NotACoroutineError.html
Class
Exception
PUBLIC
This error is raised when a coroutine is expected and something else is encountered.
-
twisted.internet.defer.logError
twisted.internet.defer.html#logError
Function
Function
PUBLIC
Log and return failure.
-
twisted.internet.defer.succeed
twisted.internet.defer.html#succeed
Function
Function
PUBLIC
Return a
Deferred that has already had
.callback(result) called.
-
twisted.internet.defer.fail
twisted.internet.defer.html#fail
Function
Function
PUBLIC
Return a
Deferred that has already had
.errback(result) called.
-
twisted.internet.defer.execute
twisted.internet.defer.html#execute
Function
Function
PUBLIC
Create a
Deferred from a callable and arguments.
-
twisted.internet.defer.maybeDeferred
twisted.internet.defer.html#maybeDeferred
Function
Function
PUBLIC
Invoke a function that may or may not return a
Deferred.
-
twisted.internet.defer.timeout
twisted.internet.defer.html#timeout
Function
Function
PUBLIC
Undocumented
-
twisted.internet.defer.passthru
twisted.internet.defer.html#passthru
Function
Function
PUBLIC
Undocumented
-
twisted.internet.defer._failthru
twisted.internet.defer.html#_failthru
Function
Function
PRIVATE
Undocumented
-
twisted.internet.defer.setDebugging
twisted.internet.defer.html#setDebugging
Function
Function
PUBLIC
-
twisted.internet.defer.getDebugging
twisted.internet.defer.html#getDebugging
Function
Function
PUBLIC
Determine whether
Deferred debugging is enabled.
-
twisted.internet.defer._cancelledToTimedOutError
twisted.internet.defer.html#_cancelledToTimedOutError
Function
Function
PRIVATE
-
twisted.internet.defer._Sentinel
twisted.internet.defer._Sentinel.html
Class
Class
PRIVATE
No summary
-
twisted.internet.defer._Sentinel._NO_RESULT
twisted.internet.defer._Sentinel.html#_NO_RESULT
Attribute
Constant
PRIVATE
The result used to represent the fact that there is no result. Never ever ever use this as an actual result for a Deferred. You have been warned.
-
twisted.internet.defer._Sentinel._CONTINUE
twisted.internet.defer._Sentinel.html#_CONTINUE
Attribute
Constant
PRIVATE
A marker left in
Deferred.callbacks to indicate a Deferred chain. Always accompanied by a Deferred instance in the args tuple pointing at the Deferred which is chained to the Deferred which has this marker.
-
twisted.internet.defer.DeferredCallback
twisted.internet.defer.html#DeferredCallback
Attribute
Type Alias
PUBLIC
Undocumented
-
twisted.internet.defer.DeferredErrback
twisted.internet.defer.html#DeferredErrback
Attribute
Type Alias
PUBLIC
Undocumented
-
twisted.internet.defer._CallbackOrderedArguments
twisted.internet.defer.html#_CallbackOrderedArguments
Attribute
Type Alias
PRIVATE
Undocumented
-
twisted.internet.defer._CallbackKeywordArguments
twisted.internet.defer.html#_CallbackKeywordArguments
Attribute
Type Alias
PRIVATE
Undocumented
-
twisted.internet.defer._CallbackChain
twisted.internet.defer.html#_CallbackChain
Attribute
Type Alias
PRIVATE
Undocumented
-
twisted.internet.defer._NONE_KWARGS
twisted.internet.defer.html#_NONE_KWARGS
Attribute
Constant
PRIVATE
Undocumented
-
twisted.internet.defer._DeferredResultT
twisted.internet.defer.html#_DeferredResultT
Attribute
Type Variable
PRIVATE
Undocumented
-
twisted.internet.defer._NextDeferredResultT
twisted.internet.defer.html#_NextDeferredResultT
Attribute
Type Variable
PRIVATE
Undocumented
-
twisted.internet.defer.DebugInfo
twisted.internet.defer.DebugInfo.html
Class
Class
PUBLIC
Deferred debug helper.
-
twisted.internet.defer.DebugInfo.failResult
twisted.internet.defer.DebugInfo.html#failResult
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.defer.DebugInfo.creator
twisted.internet.defer.DebugInfo.html#creator
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.defer.DebugInfo.invoker
twisted.internet.defer.DebugInfo.html#invoker
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.defer.DebugInfo._getDebugTracebacks
twisted.internet.defer.DebugInfo.html#_getDebugTracebacks
Function
Method
PRIVATE
Undocumented
-
twisted.internet.defer.DebugInfo.__del__
twisted.internet.defer.DebugInfo.html#__del__
Function
Method
PUBLIC
Print tracebacks and die.
-
twisted.internet.defer.Deferred
twisted.internet.defer.Deferred.html
Class
Class
PUBLIC
This is a callback which will be put off until later.
-
twisted.internet.defer.Deferred.called
twisted.internet.defer.Deferred.html#called
Attribute
Instance Variable
PUBLIC
A flag which is False until either callback or errback is called and afterwards always True.
-
twisted.internet.defer.Deferred.paused
twisted.internet.defer.Deferred.html#paused
Attribute
Instance Variable
PUBLIC
A counter of how many unmatched pause calls have been made on this instance.
-
twisted.internet.defer.Deferred._suppressAlreadyCalled
twisted.internet.defer.Deferred.html#_suppressAlreadyCalled
Attribute
Instance Variable
PRIVATE
A flag used by the cancellation mechanism which is True if the Deferred has no canceller and has been cancelled, False otherwise. If True, it can be expected that callback or errback will eventually be called and the result should be silently discarded.
-
twisted.internet.defer.Deferred._runningCallbacks
twisted.internet.defer.Deferred.html#_runningCallbacks
Attribute
Instance Variable
PRIVATE
A flag which is
True while this instance is executing its callback chain, used to stop recursive execution of
_runCallbacks
-
twisted.internet.defer.Deferred._chainedTo
twisted.internet.defer.Deferred.html#_chainedTo
Attribute
Instance Variable
PRIVATE
If this
Deferred is waiting for the result of another
Deferred, this is a reference to the other Deferred. Otherwise,
None.
-
twisted.internet.defer.Deferred._debugInfo
twisted.internet.defer.Deferred.html#_debugInfo
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.internet.defer.Deferred.debug
twisted.internet.defer.Deferred.html#debug
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.defer.Deferred.__init__
twisted.internet.defer.Deferred.html#__init__
Function
Method
PUBLIC
-
twisted.internet.defer.Deferred.callbacks
twisted.internet.defer.Deferred.html#callbacks
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.defer.Deferred._canceller
twisted.internet.defer.Deferred.html#_canceller
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.internet.defer.Deferred.addCallbacks
twisted.internet.defer.Deferred.html#addCallbacks
Function
Method
PUBLIC
Add a pair of callbacks (success and error) to this
Deferred.
-
twisted.internet.defer.Deferred.addCallback
twisted.internet.defer.Deferred.html#addCallback
Function
Method
PUBLIC
Convenience method for adding just a callback.
-
twisted.internet.defer.Deferred.addErrback
twisted.internet.defer.Deferred.html#addErrback
Function
Method
PUBLIC
Convenience method for adding just an errback.
-
twisted.internet.defer.Deferred.addBoth
twisted.internet.defer.Deferred.html#addBoth
Function
Method
PUBLIC
Convenience method for adding a single callable as both a callback and an errback.
-
twisted.internet.defer.Deferred.addTimeout
twisted.internet.defer.Deferred.html#addTimeout
Function
Method
PUBLIC
Time out this
Deferred by scheduling it to be cancelled after
timeout seconds.
-
twisted.internet.defer.Deferred.chainDeferred
twisted.internet.defer.Deferred.html#chainDeferred
Function
Method
PUBLIC
-
twisted.internet.defer.Deferred.callback
twisted.internet.defer.Deferred.html#callback
Function
Method
PUBLIC
Run all success callbacks that have been added to this
Deferred.
-
twisted.internet.defer.Deferred.errback
twisted.internet.defer.Deferred.html#errback
Function
Method
PUBLIC
Run all error callbacks that have been added to this
Deferred.
-
twisted.internet.defer.Deferred.pause
twisted.internet.defer.Deferred.html#pause
Function
Method
PUBLIC
-
twisted.internet.defer.Deferred.unpause
twisted.internet.defer.Deferred.html#unpause
Function
Method
PUBLIC
Process all callbacks made since
pause() was called.
-
twisted.internet.defer.Deferred.cancel
twisted.internet.defer.Deferred.html#cancel
Function
Method
PUBLIC
-
twisted.internet.defer.Deferred._startRunCallbacks
twisted.internet.defer.Deferred.html#_startRunCallbacks
Function
Method
PRIVATE
Undocumented
-
twisted.internet.defer.Deferred.result
twisted.internet.defer.Deferred.html#result
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.defer.Deferred._continuation
twisted.internet.defer.Deferred.html#_continuation
Function
Method
PRIVATE
-
twisted.internet.defer.Deferred._runCallbacks
twisted.internet.defer.Deferred.html#_runCallbacks
Function
Method
PRIVATE
Run the chain of callbacks once a result is available.
-
twisted.internet.defer.Deferred.__str__
twisted.internet.defer.Deferred.html#__str__
Function
Method
PUBLIC
Return a string representation of this
Deferred.
-
twisted.internet.defer.Deferred.__iter__
twisted.internet.defer.Deferred.html#__iter__
Function
Method
PUBLIC
Undocumented
-
twisted.internet.defer.Deferred.send
twisted.internet.defer.Deferred.html#send
Function
Method
PUBLIC
Undocumented
-
twisted.internet.defer.Deferred.__await__
twisted.internet.defer.Deferred.html#__await__
Function
Method
PUBLIC
Undocumented
-
twisted.internet.defer.Deferred.asFuture
twisted.internet.defer.Deferred.html#asFuture
Function
Method
PUBLIC
Adapt this
Deferred into a
Future which is bound to
loop.
-
twisted.internet.defer.Deferred.fromFuture
twisted.internet.defer.Deferred.html#fromFuture
Function
Class Method
PUBLIC
-
twisted.internet.defer.Deferred.fromCoroutine
twisted.internet.defer.Deferred.html#fromCoroutine
Function
Class Method
PUBLIC
Schedule the execution of a coroutine that awaits on
Deferreds, wrapping it in a
Deferred that will fire on success/failure of the coroutine.
-
twisted.internet.defer.ensureDeferred
twisted.internet.defer.html#ensureDeferred
Function
Function
PUBLIC
Schedule the execution of a coroutine that awaits/yields from
Deferreds, wrapping it in a
Deferred that will fire on success/failure of the coroutine. If a Deferred is passed to this function, it will be returned directly (mimicing the ...
-
twisted.internet.defer.FirstError
twisted.internet.defer.FirstError.html
Class
Exception
PUBLIC
First error to occur in a
DeferredList if
fireOnOneErrback is set.
-
twisted.internet.defer.FirstError.subFailure
twisted.internet.defer.FirstError.html#subFailure
Attribute
Instance Variable
PUBLIC
-
twisted.internet.defer.FirstError.index
twisted.internet.defer.FirstError.html#index
Attribute
Instance Variable
PUBLIC
-
twisted.internet.defer.FirstError.__init__
twisted.internet.defer.FirstError.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted.internet.defer.FirstError.__repr__
twisted.internet.defer.FirstError.html#__repr__
Function
Method
PUBLIC
The
repr of
FirstError instances includes the repr of the wrapped failure's exception and the index of the
FirstError.
-
twisted.internet.defer.FirstError.__str__
twisted.internet.defer.FirstError.html#__str__
Function
Method
PUBLIC
The
str of
FirstError instances includes the
str of the entire wrapped failure (including its traceback and exception) and the index of the
FirstError.
-
twisted.internet.defer.FirstError.__cmp__
twisted.internet.defer.FirstError.html#__cmp__
Function
Method
PUBLIC
Comparison between
FirstError and other
FirstError instances is defined as the comparison of the index and sub-failure of each instance.
FirstError instances don't compare equal to anything that isn't a ...
-
twisted.internet.defer._DeferredListSingleResultT
twisted.internet.defer.html#_DeferredListSingleResultT
Attribute
Type Alias
PRIVATE
Undocumented
-
twisted.internet.defer._DeferredListResultItemT
twisted.internet.defer.html#_DeferredListResultItemT
Attribute
Type Alias
PRIVATE
Undocumented
-
twisted.internet.defer._DeferredListResultListT
twisted.internet.defer.html#_DeferredListResultListT
Attribute
Type Alias
PRIVATE
Undocumented
-
twisted.internet.defer._DeferredList 0
twisted.internet.defer.html#_DeferredList%200
Function
Function
PRIVATE
Undocumented
-
twisted.internet.defer._DeferredList 1
twisted.internet.defer.html#_DeferredList%201
Function
Function
PRIVATE
Undocumented
-
twisted.internet.defer._DeferredList
twisted.internet.defer.html#_DeferredList
Function
Function
PRIVATE
Undocumented
-
twisted.internet.defer.DeferredList
twisted.internet.defer.DeferredList.html
Class
Class
PUBLIC
DeferredList is a tool for collecting the results of several Deferreds.
-
twisted.internet.defer.DeferredList._deferredList
twisted.internet.defer.DeferredList.html#_deferredList
Attribute
Instance Variable
PRIVATE
-
twisted.internet.defer.DeferredList.fireOnOneCallback
twisted.internet.defer.DeferredList.html#fireOnOneCallback
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.defer.DeferredList.fireOnOneErrback
twisted.internet.defer.DeferredList.html#fireOnOneErrback
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.defer.DeferredList.__init__
twisted.internet.defer.DeferredList.html#__init__
Function
Method
PUBLIC
Initialize a DeferredList.
-
twisted.internet.defer.DeferredList.resultList
twisted.internet.defer.DeferredList.html#resultList
Attribute
Instance Variable
PUBLIC
The final result, in progress. Each item in the list corresponds to the
Deferred at the same position in
_deferredList. It will be
None if the
Deferred did not complete yet, or a
(success, result) pair if it did.
-
twisted.internet.defer.DeferredList.consumeErrors
twisted.internet.defer.DeferredList.html#consumeErrors
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.defer.DeferredList.finishedCount
twisted.internet.defer.DeferredList.html#finishedCount
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.defer.DeferredList._cbDeferred
twisted.internet.defer.DeferredList.html#_cbDeferred
Function
Method
PRIVATE
(internal) Callback for when one of my deferreds fires.
-
twisted.internet.defer.DeferredList.cancel
twisted.internet.defer.DeferredList.html#cancel
Function
Method
PUBLIC
-
twisted.internet.defer._parseDeferredListResult
twisted.internet.defer.html#_parseDeferredListResult
Function
Function
PRIVATE
Undocumented
-
twisted.internet.defer.gatherResults
twisted.internet.defer.html#gatherResults
Function
Function
PUBLIC
Returns, via a
Deferred, a list with the results of the given
Deferreds - in effect, a "join" of multiple deferred operations.
-
twisted.internet.defer.SUCCESS
twisted.internet.defer.html#SUCCESS
Attribute
Constant
PUBLIC
Undocumented
-
twisted.internet.defer.FAILURE
twisted.internet.defer.html#FAILURE
Attribute
Constant
PUBLIC
Undocumented
-
twisted.internet.defer.waitForDeferred
twisted.internet.defer.waitForDeferred.html
Class
Class
PUBLIC
-
twisted.internet.defer.waitForDeferred.__init__
twisted.internet.defer.waitForDeferred.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted.internet.defer.waitForDeferred.d
twisted.internet.defer.waitForDeferred.html#d
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.defer.waitForDeferred.getResult
twisted.internet.defer.waitForDeferred.html#getResult
Function
Method
PUBLIC
Undocumented
-
twisted.internet.defer._DeferableGenerator
twisted.internet.defer.html#_DeferableGenerator
Attribute
Type Alias
PRIVATE
Undocumented
-
twisted.internet.defer._deferGenerator
twisted.internet.defer.html#_deferGenerator
Function
Function
PRIVATE
-
twisted.internet.defer.deferredGenerator
twisted.internet.defer.html#deferredGenerator
Function
Function
PUBLIC
-
twisted.internet.defer._DefGen_Return
twisted.internet.defer._DefGen_Return.html
Class
Exception
PRIVATE
Undocumented
-
twisted.internet.defer._DefGen_Return.__init__
twisted.internet.defer._DefGen_Return.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted.internet.defer._DefGen_Return.value
twisted.internet.defer._DefGen_Return.html#value
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.defer.returnValue
twisted.internet.defer.html#returnValue
Function
Function
PUBLIC
-
twisted.internet.defer._CancellationStatus
twisted.internet.defer._CancellationStatus.html
Class
Class
PRIVATE
-
twisted.internet.defer._CancellationStatus.deferred
twisted.internet.defer._CancellationStatus.html#deferred
Attribute
Instance Variable
PUBLIC
the
Deferred to callback or errback when the generator invocation has finished.
-
twisted.internet.defer._CancellationStatus.waitingOn
twisted.internet.defer._CancellationStatus.html#waitingOn
Attribute
Instance Variable
PUBLIC
-
twisted.internet.defer._inlineCallbacks
twisted.internet.defer.html#_inlineCallbacks
Function
Function
PRIVATE
-
twisted.internet.defer._cancellableInlineCallbacks
twisted.internet.defer.html#_cancellableInlineCallbacks
Function
Function
PRIVATE
-
twisted.internet.defer._InternalInlineCallbacksCancelledError
twisted.internet.defer._InternalInlineCallbacksCancelledError.html
Class
Exception
PRIVATE
-
twisted.internet.defer.inlineCallbacks
twisted.internet.defer.html#inlineCallbacks
Function
Function
PUBLIC
-
twisted.internet.defer._ConcurrencyPrimitiveT
twisted.internet.defer.html#_ConcurrencyPrimitiveT
Attribute
Type Variable
PRIVATE
Undocumented
-
twisted.internet.defer._ConcurrencyPrimitive
twisted.internet.defer._ConcurrencyPrimitive.html
Class
Class
PRIVATE
No class docstring; 0/1 instance variable, 2/7 methods documented
-
twisted.internet.defer._ConcurrencyPrimitive.__init__
twisted.internet.defer._ConcurrencyPrimitive.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted.internet.defer._ConcurrencyPrimitive.waiting
twisted.internet.defer._ConcurrencyPrimitive.html#waiting
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.defer._ConcurrencyPrimitive._releaseAndReturn
twisted.internet.defer._ConcurrencyPrimitive.html#_releaseAndReturn
Function
Method
PRIVATE
Undocumented
-
twisted.internet.defer._ConcurrencyPrimitive.run
twisted.internet.defer._ConcurrencyPrimitive.html#run
Function
Method
PUBLIC
Acquire, run, release.
-
twisted.internet.defer._ConcurrencyPrimitive.__aenter__
twisted.internet.defer._ConcurrencyPrimitive.html#__aenter__
Function
Method
PUBLIC
We can be used as an asynchronous context manager.
-
twisted.internet.defer._ConcurrencyPrimitive.__aexit__
twisted.internet.defer._ConcurrencyPrimitive.html#__aexit__
Function
Method
PUBLIC
Undocumented
-
twisted.internet.defer._ConcurrencyPrimitive.acquire
twisted.internet.defer._ConcurrencyPrimitive.html#acquire
Function
Method
PUBLIC
Undocumented
-
twisted.internet.defer._ConcurrencyPrimitive.release
twisted.internet.defer._ConcurrencyPrimitive.html#release
Function
Method
PUBLIC
Undocumented
-
twisted.internet.defer._DeferredLockT
twisted.internet.defer.html#_DeferredLockT
Attribute
Type Variable
PRIVATE
Undocumented
-
twisted.internet.defer.DeferredLock
twisted.internet.defer.DeferredLock.html
Class
Class
PUBLIC
A lock for event driven systems.
-
twisted.internet.defer.DeferredLock.locked
twisted.internet.defer.DeferredLock.html#locked
Attribute
Instance Variable
PUBLIC
True when this Lock has been acquired, false at all other times. Do not change this value, but it is useful to examine for the equivalent of a "non-blocking" acquisition.
-
twisted.internet.defer.DeferredLock._cancelAcquire
twisted.internet.defer.DeferredLock.html#_cancelAcquire
Function
Method
PRIVATE
Remove a deferred d from our waiting list, as the deferred has been canceled.
-
twisted.internet.defer.DeferredLock.acquire
twisted.internet.defer.DeferredLock.html#acquire
Function
Method
PUBLIC
Attempt to acquire the lock. Returns a
Deferred that fires on lock acquisition with the
DeferredLock as the value. If the lock is locked, then the Deferred is placed at the end of a waiting list.
-
twisted.internet.defer.DeferredLock.release
twisted.internet.defer.DeferredLock.html#release
Function
Method
PUBLIC
Release the lock. If there is a waiting list, then the first
Deferred in that waiting list will be called back.
-
twisted.internet.defer._DeferredSemaphoreT
twisted.internet.defer.html#_DeferredSemaphoreT
Attribute
Type Variable
PRIVATE
Undocumented
-
twisted.internet.defer.DeferredSemaphore
twisted.internet.defer.DeferredSemaphore.html
Class
Class
PUBLIC
A semaphore for event driven systems.
-
twisted.internet.defer.DeferredSemaphore.limit
twisted.internet.defer.DeferredSemaphore.html#limit
Attribute
Instance Variable
PUBLIC
At most this many users may acquire this semaphore at once.
-
twisted.internet.defer.DeferredSemaphore.tokens
twisted.internet.defer.DeferredSemaphore.html#tokens
Attribute
Instance Variable
PUBLIC
The difference between limit and the number of users which have currently acquired this semaphore.
-
twisted.internet.defer.DeferredSemaphore.__init__
twisted.internet.defer.DeferredSemaphore.html#__init__
Function
Method
PUBLIC
No summary
-
twisted.internet.defer.DeferredSemaphore._cancelAcquire
twisted.internet.defer.DeferredSemaphore.html#_cancelAcquire
Function
Method
PRIVATE
Remove a deferred d from our waiting list, as the deferred has been canceled.
-
twisted.internet.defer.DeferredSemaphore.acquire
twisted.internet.defer.DeferredSemaphore.html#acquire
Function
Method
PUBLIC
Attempt to acquire the token.
-
twisted.internet.defer.DeferredSemaphore.release
twisted.internet.defer.DeferredSemaphore.html#release
Function
Method
PUBLIC
Release the token.
-
twisted.internet.defer.QueueOverflow
twisted.internet.defer.QueueOverflow.html
Class
Exception
PUBLIC
Undocumented
-
twisted.internet.defer.QueueUnderflow
twisted.internet.defer.QueueUnderflow.html
Class
Exception
PUBLIC
Undocumented
-
twisted.internet.defer.DeferredQueue
twisted.internet.defer.DeferredQueue.html
Class
Class
PUBLIC
An event driven queue.
-
twisted.internet.defer.DeferredQueue.size
twisted.internet.defer.DeferredQueue.html#size
Attribute
Instance Variable
PUBLIC
The maximum number of objects to allow into the queue at a time. When an attempt to add a new object would exceed this limit,
QueueOverflow is raised synchronously.
None for no limit.
-
twisted.internet.defer.DeferredQueue.backlog
twisted.internet.defer.DeferredQueue.html#backlog
Attribute
Instance Variable
PUBLIC
The maximum number of
Deferred gets to allow at one time. When an attempt is made to get an object which would exceed this limit,
QueueUnderflow is raised synchronously.
None for no limit.
-
twisted.internet.defer.DeferredQueue.__init__
twisted.internet.defer.DeferredQueue.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted.internet.defer.DeferredQueue.waiting
twisted.internet.defer.DeferredQueue.html#waiting
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.defer.DeferredQueue.pending
twisted.internet.defer.DeferredQueue.html#pending
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.defer.DeferredQueue._cancelGet
twisted.internet.defer.DeferredQueue.html#_cancelGet
Function
Method
PRIVATE
Remove a deferred d from our waiting list, as the deferred has been canceled.
-
twisted.internet.defer.DeferredQueue.put
twisted.internet.defer.DeferredQueue.html#put
Function
Method
PUBLIC
Add an object to this queue.
-
twisted.internet.defer.DeferredQueue.get
twisted.internet.defer.DeferredQueue.html#get
Function
Method
PUBLIC
Attempt to retrieve and remove an object from the queue.
-
twisted.internet.defer.AlreadyTryingToLockError
twisted.internet.defer.AlreadyTryingToLockError.html
Class
Exception
PUBLIC
-
twisted.internet.defer.DeferredFilesystemLock
twisted.internet.defer.DeferredFilesystemLock.html
Class
Class
PUBLIC
-
twisted.internet.defer.DeferredFilesystemLock._scheduler
twisted.internet.defer.DeferredFilesystemLock.html#_scheduler
Attribute
Instance Variable
PRIVATE
The object in charge of scheduling retries. In this implementation this is parameterized for testing.
-
twisted.internet.defer.DeferredFilesystemLock._interval
twisted.internet.defer.DeferredFilesystemLock.html#_interval
Attribute
Instance Variable
PRIVATE
-
twisted.internet.defer.DeferredFilesystemLock._tryLockCall
twisted.internet.defer.DeferredFilesystemLock.html#_tryLockCall
Attribute
Instance Variable
PRIVATE
An
IDelayedCall based on
_interval that will manage the next retry for acquiring the lock.
-
twisted.internet.defer.DeferredFilesystemLock._timeoutCall
twisted.internet.defer.DeferredFilesystemLock.html#_timeoutCall
Attribute
Instance Variable
PRIVATE
An
IDelayedCall based on
deferUntilLocked's timeout argument. This is in charge of timing out our attempt to acquire the lock.
-
twisted.internet.defer.DeferredFilesystemLock.__init__
twisted.internet.defer.DeferredFilesystemLock.html#__init__
Function
Method
PUBLIC
No summary
-
twisted.internet.defer.DeferredFilesystemLock.deferUntilLocked
twisted.internet.defer.DeferredFilesystemLock.html#deferUntilLocked
Function
Method
PUBLIC
Wait until we acquire this lock. This method is not safe for concurrent use.
-
twisted.internet.protocol.Factory
twisted.internet.protocol.Factory.html
Class
Class
PUBLIC
This is a factory which produces protocols.
-
twisted.internet.protocol.Factory.protocol
twisted.internet.protocol.Factory.html#protocol
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.protocol.Factory.numPorts
twisted.internet.protocol.Factory.html#numPorts
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.protocol.Factory.noisy
twisted.internet.protocol.Factory.html#noisy
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.protocol.Factory.forProtocol
twisted.internet.protocol.Factory.html#forProtocol
Function
Class Method
PUBLIC
Create a factory for the given protocol.
-
twisted.internet.protocol.Factory.logPrefix
twisted.internet.protocol.Factory.html#logPrefix
Function
Method
PUBLIC
Describe this factory for log messages.
-
twisted.internet.protocol.Factory.doStart
twisted.internet.protocol.Factory.html#doStart
Function
Method
PUBLIC
Make sure startFactory is called.
-
twisted.internet.protocol.Factory.doStop
twisted.internet.protocol.Factory.html#doStop
Function
Method
PUBLIC
Make sure stopFactory is called.
-
twisted.internet.protocol.Factory.startFactory
twisted.internet.protocol.Factory.html#startFactory
Function
Method
PUBLIC
This will be called before I begin listening on a Port or Connector.
-
twisted.internet.protocol.Factory.stopFactory
twisted.internet.protocol.Factory.html#stopFactory
Function
Method
PUBLIC
This will be called before I stop listening on all Ports/Connectors.
-
twisted.internet.protocol.Factory.buildProtocol
twisted.internet.protocol.Factory.html#buildProtocol
Function
Method
PUBLIC
Create an instance of a subclass of Protocol.
-
twisted.internet.protocol.ClientFactory
twisted.internet.protocol.ClientFactory.html
Class
Class
PUBLIC
A Protocol factory for clients.
-
twisted.internet.protocol.ClientFactory.startedConnecting
twisted.internet.protocol.ClientFactory.html#startedConnecting
Function
Method
PUBLIC
Called when a connection has been started.
-
twisted.internet.protocol.ClientFactory.clientConnectionFailed
twisted.internet.protocol.ClientFactory.html#clientConnectionFailed
Function
Method
PUBLIC
Called when a connection has failed to connect.
-
twisted.internet.protocol.ClientFactory.clientConnectionLost
twisted.internet.protocol.ClientFactory.html#clientConnectionLost
Function
Method
PUBLIC
Called when an established connection is lost.
-
twisted.internet.protocol._InstanceFactory
twisted.internet.protocol._InstanceFactory.html
Class
Class
PRIVATE
Factory used by ClientCreator.
-
twisted.internet.protocol._InstanceFactory.deferred
twisted.internet.protocol._InstanceFactory.html#deferred
Attribute
Instance Variable
PUBLIC
The
Deferred which represents this connection attempt and which will be fired when it succeeds or fails.
-
twisted.internet.protocol._InstanceFactory.pending
twisted.internet.protocol._InstanceFactory.html#pending
Attribute
Instance Variable
PUBLIC
After a connection attempt succeeds or fails, a delayed call which will fire the
Deferred representing this connection attempt.
-
twisted.internet.protocol._InstanceFactory.noisy
twisted.internet.protocol._InstanceFactory.html#noisy
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.protocol._InstanceFactory.__init__
twisted.internet.protocol._InstanceFactory.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted.internet.protocol._InstanceFactory.reactor
twisted.internet.protocol._InstanceFactory.html#reactor
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.protocol._InstanceFactory.instance
twisted.internet.protocol._InstanceFactory.html#instance
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.protocol._InstanceFactory.__repr__
twisted.internet.protocol._InstanceFactory.html#__repr__
Function
Method
PUBLIC
Undocumented
-
twisted.internet.protocol._InstanceFactory.buildProtocol
twisted.internet.protocol._InstanceFactory.html#buildProtocol
Function
Method
PUBLIC
Return the pre-constructed protocol instance and arrange to fire the waiting
Deferred to indicate success establishing the connection.
-
twisted.internet.protocol._InstanceFactory.clientConnectionFailed
twisted.internet.protocol._InstanceFactory.html#clientConnectionFailed
Function
Method
PUBLIC
Arrange to fire the waiting
Deferred with the given failure to indicate the connection could not be established.
-
twisted.internet.protocol._InstanceFactory.fire
twisted.internet.protocol._InstanceFactory.html#fire
Function
Method
PUBLIC
Clear self.pending to avoid a reference cycle and then invoke func with the value.
-
twisted.internet.protocol.ClientCreator
twisted.internet.protocol.ClientCreator.html
Class
Class
PUBLIC
Client connections that do not require a factory.
-
twisted.internet.protocol.ClientCreator.__init__
twisted.internet.protocol.ClientCreator.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted.internet.protocol.ClientCreator.reactor
twisted.internet.protocol.ClientCreator.html#reactor
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.protocol.ClientCreator.protocolClass
twisted.internet.protocol.ClientCreator.html#protocolClass
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.protocol.ClientCreator.args
twisted.internet.protocol.ClientCreator.html#args
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.protocol.ClientCreator.kwargs
twisted.internet.protocol.ClientCreator.html#kwargs
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.protocol.ClientCreator._connect
twisted.internet.protocol.ClientCreator.html#_connect
Function
Method
PRIVATE
Initiate a connection attempt.
-
twisted.internet.protocol.ClientCreator.connectTCP
twisted.internet.protocol.ClientCreator.html#connectTCP
Function
Method
PUBLIC
Connect to a TCP server.
-
twisted.internet.protocol.ClientCreator.connectUNIX
twisted.internet.protocol.ClientCreator.html#connectUNIX
Function
Method
PUBLIC
Connect to a Unix socket.
-
twisted.internet.protocol.ClientCreator.connectSSL
twisted.internet.protocol.ClientCreator.html#connectSSL
Function
Method
PUBLIC
Connect to an SSL server.
-
twisted.internet.protocol.ReconnectingClientFactory
twisted.internet.protocol.ReconnectingClientFactory.html
Class
Class
PUBLIC
Factory which auto-reconnects clients with an exponential back-off.
-
twisted.internet.protocol.ReconnectingClientFactory.maxDelay
twisted.internet.protocol.ReconnectingClientFactory.html#maxDelay
Attribute
Instance Variable
PUBLIC
Maximum number of seconds between connection attempts.
-
twisted.internet.protocol.ReconnectingClientFactory.initialDelay
twisted.internet.protocol.ReconnectingClientFactory.html#initialDelay
Attribute
Instance Variable
PUBLIC
Delay for the first reconnection attempt.
-
twisted.internet.protocol.ReconnectingClientFactory.factor
twisted.internet.protocol.ReconnectingClientFactory.html#factor
Attribute
Instance Variable
PUBLIC
A multiplicitive factor by which the delay grows
-
twisted.internet.protocol.ReconnectingClientFactory.jitter
twisted.internet.protocol.ReconnectingClientFactory.html#jitter
Attribute
Instance Variable
PUBLIC
Percentage of randomness to introduce into the delay length to prevent stampeding.
-
twisted.internet.protocol.ReconnectingClientFactory.clock
twisted.internet.protocol.ReconnectingClientFactory.html#clock
Attribute
Instance Variable
PUBLIC
The clock used to schedule reconnection. It's mainly useful to be parametrized in tests. If the factory is serialized, this attribute will not be serialized, and the default value (the reactor) will be restored when deserialized.
-
twisted.internet.protocol.ReconnectingClientFactory.maxRetries
twisted.internet.protocol.ReconnectingClientFactory.html#maxRetries
Attribute
Instance Variable
PUBLIC
Maximum number of consecutive unsuccessful connection attempts, after which no further connection attempts will be made. If this is not explicitly set, no maximum is applied.
-
twisted.internet.protocol.ReconnectingClientFactory.retries
twisted.internet.protocol.ReconnectingClientFactory.html#retries
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.protocol.ReconnectingClientFactory._callID
twisted.internet.protocol.ReconnectingClientFactory.html#_callID
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.internet.protocol.ReconnectingClientFactory.connector
twisted.internet.protocol.ReconnectingClientFactory.html#connector
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.protocol.ReconnectingClientFactory.continueTrying
twisted.internet.protocol.ReconnectingClientFactory.html#continueTrying
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.protocol.ReconnectingClientFactory.clientConnectionFailed
twisted.internet.protocol.ReconnectingClientFactory.html#clientConnectionFailed
Function
Method
PUBLIC
Called when a connection has failed to connect.
-
twisted.internet.protocol.ReconnectingClientFactory.clientConnectionLost
twisted.internet.protocol.ReconnectingClientFactory.html#clientConnectionLost
Function
Method
PUBLIC
Called when an established connection is lost.
-
twisted.internet.protocol.ReconnectingClientFactory.retry
twisted.internet.protocol.ReconnectingClientFactory.html#retry
Function
Method
PUBLIC
Have this connector connect again, after a suitable delay.
-
twisted.internet.protocol.ReconnectingClientFactory.delay
twisted.internet.protocol.ReconnectingClientFactory.html#delay
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.protocol.ReconnectingClientFactory.stopTrying
twisted.internet.protocol.ReconnectingClientFactory.html#stopTrying
Function
Method
PUBLIC
Put a stop to any attempt to reconnect in progress.
-
twisted.internet.protocol.ReconnectingClientFactory.resetDelay
twisted.internet.protocol.ReconnectingClientFactory.html#resetDelay
Function
Method
PUBLIC
Call this method after a successful connection: it resets the delay and the retry counter.
-
twisted.internet.protocol.ReconnectingClientFactory.__getstate__
twisted.internet.protocol.ReconnectingClientFactory.html#__getstate__
Function
Method
PUBLIC
Remove all of the state which is mutated by connection attempts and failures, returning just the state which describes how reconnections should be attempted. This will make the unserialized instance behave just as this one did when it was first instantiated.
-
twisted.internet.protocol.ServerFactory
twisted.internet.protocol.ServerFactory.html
Class
Class
PUBLIC
Subclass this to indicate that your protocol.Factory is only usable for servers.
-
twisted.internet.protocol.BaseProtocol
twisted.internet.protocol.BaseProtocol.html
Class
Class
PUBLIC
This is the abstract superclass of all protocols.
-
twisted.internet.protocol.BaseProtocol.connected
twisted.internet.protocol.BaseProtocol.html#connected
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.protocol.BaseProtocol.transport
twisted.internet.protocol.BaseProtocol.html#transport
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.protocol.BaseProtocol.makeConnection
twisted.internet.protocol.BaseProtocol.html#makeConnection
Function
Method
PUBLIC
Make a connection to a transport and a server.
-
twisted.internet.protocol.BaseProtocol.connectionMade
twisted.internet.protocol.BaseProtocol.html#connectionMade
Function
Method
PUBLIC
Called when a connection is made.
-
twisted.internet.protocol.connectionDone
twisted.internet.protocol.html#connectionDone
Attribute
Variable
PUBLIC
Undocumented
-
twisted.internet.protocol.Protocol
twisted.internet.protocol.Protocol.html
Class
Class
PUBLIC
This is the base class for streaming connection-oriented protocols.
-
twisted.internet.protocol.Protocol.factory
twisted.internet.protocol.Protocol.html#factory
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.protocol.Protocol.logPrefix
twisted.internet.protocol.Protocol.html#logPrefix
Function
Method
PUBLIC
Return a prefix matching the class name, to identify log messages related to this protocol instance.
-
twisted.internet.protocol.Protocol.dataReceived
twisted.internet.protocol.Protocol.html#dataReceived
Function
Method
PUBLIC
Called whenever data is received.
-
twisted.internet.protocol.Protocol.connectionLost
twisted.internet.protocol.Protocol.html#connectionLost
Function
Method
PUBLIC
Called when the connection is shut down.
-
twisted.internet.protocol.ProtocolToConsumerAdapter
twisted.internet.protocol.ProtocolToConsumerAdapter.html
Class
Class
PUBLIC
Undocumented
-
twisted.internet.protocol.ProtocolToConsumerAdapter.write
twisted.internet.protocol.ProtocolToConsumerAdapter.html#write
Function
Method
PUBLIC
The producer will write data by calling this method.
-
twisted.internet.protocol.ProtocolToConsumerAdapter.registerProducer
twisted.internet.protocol.ProtocolToConsumerAdapter.html#registerProducer
Function
Method
PUBLIC
Register to receive data from a producer.
-
twisted.internet.protocol.ProtocolToConsumerAdapter.unregisterProducer
twisted.internet.protocol.ProtocolToConsumerAdapter.html#unregisterProducer
Function
Method
PUBLIC
Stop consuming data from a producer, without disconnecting.
-
twisted.internet.protocol.ConsumerToProtocolAdapter
twisted.internet.protocol.ConsumerToProtocolAdapter.html
Class
Class
PUBLIC
Undocumented
-
twisted.internet.protocol.ConsumerToProtocolAdapter.dataReceived
twisted.internet.protocol.ConsumerToProtocolAdapter.html#dataReceived
Function
Method
PUBLIC
Called whenever data is received.
-
twisted.internet.protocol.ConsumerToProtocolAdapter.connectionLost
twisted.internet.protocol.ConsumerToProtocolAdapter.html#connectionLost
Function
Method
PUBLIC
Called when the connection is shut down.
-
twisted.internet.protocol.ConsumerToProtocolAdapter.makeConnection
twisted.internet.protocol.ConsumerToProtocolAdapter.html#makeConnection
Function
Method
PUBLIC
Make a connection to a transport and a server.
-
twisted.internet.protocol.ConsumerToProtocolAdapter.connectionMade
twisted.internet.protocol.ConsumerToProtocolAdapter.html#connectionMade
Function
Method
PUBLIC
Called when a connection is made.
-
twisted.internet.protocol.ProcessProtocol
twisted.internet.protocol.ProcessProtocol.html
Class
Class
PUBLIC
Base process protocol implementation which does simple dispatching for stdin, stdout, and stderr file descriptors.
-
twisted.internet.protocol.ProcessProtocol.childDataReceived
twisted.internet.protocol.ProcessProtocol.html#childDataReceived
Function
Method
PUBLIC
Called when data arrives from the child process.
-
twisted.internet.protocol.ProcessProtocol.outReceived
twisted.internet.protocol.ProcessProtocol.html#outReceived
Function
Method
PUBLIC
Some data was received from stdout.
-
twisted.internet.protocol.ProcessProtocol.errReceived
twisted.internet.protocol.ProcessProtocol.html#errReceived
Function
Method
PUBLIC
Some data was received from stderr.
-
twisted.internet.protocol.ProcessProtocol.childConnectionLost
twisted.internet.protocol.ProcessProtocol.html#childConnectionLost
Function
Method
PUBLIC
Called when a file descriptor associated with the child process is closed.
-
twisted.internet.protocol.ProcessProtocol.inConnectionLost
twisted.internet.protocol.ProcessProtocol.html#inConnectionLost
Function
Method
PUBLIC
This will be called when stdin is closed.
-
twisted.internet.protocol.ProcessProtocol.outConnectionLost
twisted.internet.protocol.ProcessProtocol.html#outConnectionLost
Function
Method
PUBLIC
This will be called when stdout is closed.
-
twisted.internet.protocol.ProcessProtocol.errConnectionLost
twisted.internet.protocol.ProcessProtocol.html#errConnectionLost
Function
Method
PUBLIC
This will be called when stderr is closed.
-
twisted.internet.protocol.ProcessProtocol.processExited
twisted.internet.protocol.ProcessProtocol.html#processExited
Function
Method
PUBLIC
This will be called when the subprocess exits.
-
twisted.internet.protocol.ProcessProtocol.processEnded
twisted.internet.protocol.ProcessProtocol.html#processEnded
Function
Method
PUBLIC
Called when the child process exits and all file descriptors associated with it have been closed.
-
twisted.internet.protocol.AbstractDatagramProtocol
twisted.internet.protocol.AbstractDatagramProtocol.html
Class
Class
PUBLIC
Abstract protocol for datagram-oriented transports, e.g. IP, ICMP, ARP, UDP.
-
twisted.internet.protocol.AbstractDatagramProtocol.transport
twisted.internet.protocol.AbstractDatagramProtocol.html#transport
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.protocol.AbstractDatagramProtocol.numPorts
twisted.internet.protocol.AbstractDatagramProtocol.html#numPorts
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.protocol.AbstractDatagramProtocol.noisy
twisted.internet.protocol.AbstractDatagramProtocol.html#noisy
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.protocol.AbstractDatagramProtocol.__getstate__
twisted.internet.protocol.AbstractDatagramProtocol.html#__getstate__
Function
Method
PUBLIC
Undocumented
-
twisted.internet.protocol.AbstractDatagramProtocol.doStart
twisted.internet.protocol.AbstractDatagramProtocol.html#doStart
Function
Method
PUBLIC
Make sure startProtocol is called.
-
twisted.internet.protocol.AbstractDatagramProtocol.doStop
twisted.internet.protocol.AbstractDatagramProtocol.html#doStop
Function
Method
PUBLIC
Make sure stopProtocol is called.
-
twisted.internet.protocol.AbstractDatagramProtocol.startProtocol
twisted.internet.protocol.AbstractDatagramProtocol.html#startProtocol
Function
Method
PUBLIC
Called when a transport is connected to this protocol.
-
twisted.internet.protocol.AbstractDatagramProtocol.stopProtocol
twisted.internet.protocol.AbstractDatagramProtocol.html#stopProtocol
Function
Method
PUBLIC
Called when the transport is disconnected.
-
twisted.internet.protocol.AbstractDatagramProtocol.makeConnection
twisted.internet.protocol.AbstractDatagramProtocol.html#makeConnection
Function
Method
PUBLIC
Make a connection to a transport and a server.
-
twisted.internet.protocol.AbstractDatagramProtocol.datagramReceived
twisted.internet.protocol.AbstractDatagramProtocol.html#datagramReceived
Function
Method
PUBLIC
Called when a datagram is received.
-
twisted.internet.protocol.DatagramProtocol
twisted.internet.protocol.DatagramProtocol.html
Class
Class
PUBLIC
Protocol for datagram-oriented transport, e.g. UDP.
-
twisted.internet.protocol.DatagramProtocol.transport
twisted.internet.protocol.DatagramProtocol.html#transport
Attribute
Instance Variable
PUBLIC
The transport with which this protocol is associated, if it is associated with one.
-
twisted.internet.protocol.DatagramProtocol.logPrefix
twisted.internet.protocol.DatagramProtocol.html#logPrefix
Function
Method
PUBLIC
Return a prefix matching the class name, to identify log messages related to this protocol instance.
-
twisted.internet.protocol.DatagramProtocol.connectionRefused
twisted.internet.protocol.DatagramProtocol.html#connectionRefused
Function
Method
PUBLIC
Called due to error from write in connected mode.
-
twisted.internet.protocol.ConnectedDatagramProtocol
twisted.internet.protocol.ConnectedDatagramProtocol.html
Class
Class
PUBLIC
Protocol for connected datagram-oriented transport.
-
twisted.internet.protocol.ConnectedDatagramProtocol.datagramReceived
twisted.internet.protocol.ConnectedDatagramProtocol.html#datagramReceived
Function
Method
PUBLIC
Called when a datagram is received.
-
twisted.internet.protocol.ConnectedDatagramProtocol.connectionFailed
twisted.internet.protocol.ConnectedDatagramProtocol.html#connectionFailed
Function
Method
PUBLIC
Called if connecting failed.
-
twisted.internet.protocol.FileWrapper
twisted.internet.protocol.FileWrapper.html
Class
Class
PUBLIC
A wrapper around a file-like object to make it behave as a Transport.
-
twisted.internet.protocol.FileWrapper.closed
twisted.internet.protocol.FileWrapper.html#closed
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.protocol.FileWrapper.disconnecting
twisted.internet.protocol.FileWrapper.html#disconnecting
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.protocol.FileWrapper.producer
twisted.internet.protocol.FileWrapper.html#producer
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.protocol.FileWrapper.streamingProducer
twisted.internet.protocol.FileWrapper.html#streamingProducer
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.protocol.FileWrapper.__init__
twisted.internet.protocol.FileWrapper.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted.internet.protocol.FileWrapper.file
twisted.internet.protocol.FileWrapper.html#file
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.protocol.FileWrapper.write
twisted.internet.protocol.FileWrapper.html#write
Function
Method
PUBLIC
Write some data to the physical connection, in sequence, in a non-blocking fashion.
-
twisted.internet.protocol.FileWrapper._checkProducer
twisted.internet.protocol.FileWrapper.html#_checkProducer
Function
Method
PRIVATE
Undocumented
-
twisted.internet.protocol.FileWrapper.registerProducer
twisted.internet.protocol.FileWrapper.html#registerProducer
Function
Method
PUBLIC
From abstract.FileDescriptor
-
twisted.internet.protocol.FileWrapper.unregisterProducer
twisted.internet.protocol.FileWrapper.html#unregisterProducer
Function
Method
PUBLIC
Undocumented
-
twisted.internet.protocol.FileWrapper.stopConsuming
twisted.internet.protocol.FileWrapper.html#stopConsuming
Function
Method
PUBLIC
Undocumented
-
twisted.internet.protocol.FileWrapper.writeSequence
twisted.internet.protocol.FileWrapper.html#writeSequence
Function
Method
PUBLIC
Write an iterable of byte strings to the physical connection.
-
twisted.internet.protocol.FileWrapper.loseConnection
twisted.internet.protocol.FileWrapper.html#loseConnection
Function
Method
PUBLIC
Close my connection, after writing all pending data.
-
twisted.internet.protocol.FileWrapper.getPeer
twisted.internet.protocol.FileWrapper.html#getPeer
Function
Method
PUBLIC
Get the remote address of this connection.
-
twisted.internet.protocol.FileWrapper.getHost
twisted.internet.protocol.FileWrapper.html#getHost
Function
Method
PUBLIC
Similar to getPeer, but returns an address describing this side of the connection.
-
twisted.internet.protocol.FileWrapper.handleException
twisted.internet.protocol.FileWrapper.html#handleException
Function
Method
PUBLIC
Undocumented
-
twisted.internet.protocol.FileWrapper.resumeProducing
twisted.internet.protocol.FileWrapper.html#resumeProducing
Function
Method
PUBLIC
Undocumented
-
twisted.internet.protocol.FileWrapper.pauseProducing
twisted.internet.protocol.FileWrapper.html#pauseProducing
Function
Method
PUBLIC
Undocumented
-
twisted.internet.protocol.FileWrapper.stopProducing
twisted.internet.protocol.FileWrapper.html#stopProducing
Function
Method
PUBLIC
Undocumented
-
twisted.internet.fdesc.setNonBlocking
twisted.internet.fdesc.html#setNonBlocking
Function
Function
PUBLIC
Set the file description of the given file descriptor to non-blocking.
-
twisted.internet.fdesc.setBlocking
twisted.internet.fdesc.html#setBlocking
Function
Function
PUBLIC
Set the file description of the given file descriptor to blocking.
-
twisted.internet.fdesc._setCloseOnExec
twisted.internet.fdesc.html#_setCloseOnExec
Attribute
Variable
PRIVATE
Undocumented
-
twisted.internet.fdesc._unsetCloseOnExec
twisted.internet.fdesc.html#_unsetCloseOnExec
Attribute
Variable
PRIVATE
Undocumented
-
twisted.internet.fdesc.readFromFD
twisted.internet.fdesc.html#readFromFD
Function
Function
PUBLIC
Read from file descriptor, calling callback with resulting data.
-
twisted.internet.fdesc.writeToFD
twisted.internet.fdesc.html#writeToFD
Function
Function
PUBLIC
Write data to file descriptor.
-
twisted.internet.threads.deferToThreadPool
twisted.internet.threads.html#deferToThreadPool
Function
Function
PUBLIC
Call the function f using a thread from the given threadpool and return the result as a Deferred.
-
twisted.internet.threads.deferToThread
twisted.internet.threads.html#deferToThread
Function
Function
PUBLIC
Run a function in a thread and return the result as a Deferred.
-
twisted.internet.threads._runMultiple
twisted.internet.threads.html#_runMultiple
Function
Function
PRIVATE
Run a list of functions.
-
twisted.internet.threads.callMultipleInThread
twisted.internet.threads.html#callMultipleInThread
Function
Function
PUBLIC
Run a list of functions in the same thread.
-
twisted.internet.threads.blockingCallFromThread
twisted.internet.threads.html#blockingCallFromThread
Function
Function
PUBLIC
Run a function in the reactor from a thread, and wait for the result synchronously. If the function returns a
Deferred, wait for its result and return that.
-
twisted.internet._idna._idnaBytes
twisted.internet._idna.html#_idnaBytes
Function
Function
PRIVATE
Convert some text typed by a human into some ASCII bytes.
-
twisted.internet._idna._idnaText
twisted.internet._idna.html#_idnaText
Function
Function
PRIVATE
Convert some IDNA-encoded octets into some human-readable text.
-
twisted.internet._resolver.HostResolution
twisted.internet._resolver.HostResolution.html
Class
Class
PUBLIC
The in-progress resolution of a given hostname.
-
twisted.internet._resolver.HostResolution.__init__
twisted.internet._resolver.HostResolution.html#__init__
Function
Method
PUBLIC
-
twisted.internet._resolver.HostResolution.name
twisted.internet._resolver.HostResolution.html#name
Attribute
Instance Variable
PUBLIC
unicode; the name of the host being resolved.
-
twisted.internet._resolver.HostResolution.cancel
twisted.internet._resolver.HostResolution.html#cancel
Function
Method
PUBLIC
Stop the hostname resolution in progress.
-
twisted.internet._resolver._any
twisted.internet._resolver.html#_any
Attribute
Variable
PRIVATE
Undocumented
-
twisted.internet._resolver._typesToAF
twisted.internet._resolver.html#_typesToAF
Attribute
Variable
PRIVATE
Undocumented
-
twisted.internet._resolver._afToType
twisted.internet._resolver.html#_afToType
Attribute
Variable
PRIVATE
Undocumented
-
twisted.internet._resolver._transportToSocket
twisted.internet._resolver.html#_transportToSocket
Attribute
Variable
PRIVATE
Undocumented
-
twisted.internet._resolver._socktypeToType
twisted.internet._resolver.html#_socktypeToType
Attribute
Variable
PRIVATE
Undocumented
-
twisted.internet._resolver.GAIResolver
twisted.internet._resolver.GAIResolver.html
Class
Class
PUBLIC
IHostnameResolver implementation that resolves hostnames by calling
getaddrinfo in a thread.
-
twisted.internet._resolver.GAIResolver.__init__
twisted.internet._resolver.GAIResolver.html#__init__
Function
Method
PUBLIC
-
twisted.internet._resolver.GAIResolver._reactor
twisted.internet._resolver.GAIResolver.html#_reactor
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.internet._resolver.GAIResolver._getThreadPool
twisted.internet._resolver.GAIResolver.html#_getThreadPool
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.internet._resolver.GAIResolver._getaddrinfo
twisted.internet._resolver.GAIResolver.html#_getaddrinfo
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.internet._resolver.GAIResolver.resolveHostName
twisted.internet._resolver.GAIResolver.html#resolveHostName
Function
Method
PUBLIC
-
twisted.internet._resolver.SimpleResolverComplexifier
twisted.internet._resolver.SimpleResolverComplexifier.html
Class
Class
PUBLIC
-
twisted.internet._resolver.SimpleResolverComplexifier._log
twisted.internet._resolver.SimpleResolverComplexifier.html#_log
Attribute
Class Variable
PRIVATE
Undocumented
-
twisted.internet._resolver.SimpleResolverComplexifier.__init__
twisted.internet._resolver.SimpleResolverComplexifier.html#__init__
Function
Method
PUBLIC
-
twisted.internet._resolver.SimpleResolverComplexifier._simpleResolver
twisted.internet._resolver.SimpleResolverComplexifier.html#_simpleResolver
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.internet._resolver.SimpleResolverComplexifier.resolveHostName
twisted.internet._resolver.SimpleResolverComplexifier.html#resolveHostName
Function
Method
PUBLIC
-
twisted.internet._resolver.FirstOneWins
twisted.internet._resolver.FirstOneWins.html
Class
Class
PUBLIC
-
twisted.internet._resolver.FirstOneWins.__init__
twisted.internet._resolver.FirstOneWins.html#__init__
Function
Method
PUBLIC
No summary
-
twisted.internet._resolver.FirstOneWins._deferred
twisted.internet._resolver.FirstOneWins.html#_deferred
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.internet._resolver.FirstOneWins._resolved
twisted.internet._resolver.FirstOneWins.html#_resolved
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.internet._resolver.FirstOneWins.resolutionBegan
twisted.internet._resolver.FirstOneWins.html#resolutionBegan
Function
Method
PUBLIC
-
twisted.internet._resolver.FirstOneWins._resolution
twisted.internet._resolver.FirstOneWins.html#_resolution
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.internet._resolver.FirstOneWins.addressResolved
twisted.internet._resolver.FirstOneWins.html#addressResolved
Function
Method
PUBLIC
-
twisted.internet._resolver.FirstOneWins.resolutionComplete
twisted.internet._resolver.FirstOneWins.html#resolutionComplete
Function
Method
PUBLIC
-
twisted.internet._resolver.ComplexResolverSimplifier
twisted.internet._resolver.ComplexResolverSimplifier.html
Class
Class
PUBLIC
-
twisted.internet._resolver.ComplexResolverSimplifier.__init__
twisted.internet._resolver.ComplexResolverSimplifier.html#__init__
Function
Method
PUBLIC
-
twisted.internet._resolver.ComplexResolverSimplifier._nameResolver
twisted.internet._resolver.ComplexResolverSimplifier.html#_nameResolver
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.internet._resolver.ComplexResolverSimplifier.getHostByName
twisted.internet._resolver.ComplexResolverSimplifier.html#getHostByName
Function
Method
PUBLIC
-
twisted.python.threadpool.WorkerStop
twisted.python.threadpool.html#WorkerStop
Attribute
Variable
PUBLIC
Undocumented
-
twisted.python.threadpool.ThreadPool
twisted.python.threadpool.ThreadPool.html
Class
Class
PUBLIC
This class (hopefully) generalizes the functionality of a pool of threads to which work can be dispatched.
-
twisted.python.threadpool.ThreadPool.started
twisted.python.threadpool.ThreadPool.html#started
Attribute
Instance Variable
PUBLIC
Whether or not the thread pool is currently running.
-
twisted.python.threadpool.ThreadPool.threads
twisted.python.threadpool.ThreadPool.html#threads
Attribute
Instance Variable
PUBLIC
List of workers currently running in this thread pool.
-
twisted.python.threadpool.ThreadPool._pool
twisted.python.threadpool.ThreadPool.html#_pool
Attribute
Instance Variable
PRIVATE
A hook for testing.
-
twisted.python.threadpool.ThreadPool.min
twisted.python.threadpool.ThreadPool.html#min
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.threadpool.ThreadPool.max
twisted.python.threadpool.ThreadPool.html#max
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.threadpool.ThreadPool.joined
twisted.python.threadpool.ThreadPool.html#joined
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.threadpool.ThreadPool.name
twisted.python.threadpool.ThreadPool.html#name
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.python.threadpool.ThreadPool.currentThread
twisted.python.threadpool.ThreadPool.html#currentThread
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.python.threadpool.ThreadPool.__init__
twisted.python.threadpool.ThreadPool.html#__init__
Function
Method
PUBLIC
Create a new threadpool.
-
twisted.python.threadpool.ThreadPool._team
twisted.python.threadpool.ThreadPool.html#_team
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.python.threadpool.ThreadPool.workers
twisted.python.threadpool.ThreadPool.html#workers
Attribute
Property
PUBLIC
For legacy compatibility purposes, return a total number of workers.
-
twisted.python.threadpool.ThreadPool.working
twisted.python.threadpool.ThreadPool.html#working
Attribute
Property
PUBLIC
For legacy compatibility purposes, return the number of busy workers as expressed by a list the length of that number.
-
twisted.python.threadpool.ThreadPool.waiters
twisted.python.threadpool.ThreadPool.html#waiters
Attribute
Property
PUBLIC
For legacy compatibility purposes, return the number of idle workers as expressed by a list the length of that number.
-
twisted.python.threadpool.ThreadPool._queue
twisted.python.threadpool.ThreadPool.html#_queue
Attribute
Property
PRIVATE
For legacy compatibility purposes, return an object with a qsize method that indicates the amount of work not yet allocated to a worker.
-
twisted.python.threadpool.ThreadPool.start
twisted.python.threadpool.ThreadPool.html#start
Function
Method
PUBLIC
Start the threadpool.
-
twisted.python.threadpool.ThreadPool.startAWorker
twisted.python.threadpool.ThreadPool.html#startAWorker
Function
Method
PUBLIC
Increase the number of available workers for the thread pool by 1, up to the maximum allowed by
ThreadPool.max.
-
twisted.python.threadpool.ThreadPool._generateName
twisted.python.threadpool.ThreadPool.html#_generateName
Function
Method
PRIVATE
Generate a name for a new pool thread.
-
twisted.python.threadpool.ThreadPool.stopAWorker
twisted.python.threadpool.ThreadPool.html#stopAWorker
Function
Method
PUBLIC
Decrease the number of available workers by 1, by quitting one as soon as it's idle.
-
twisted.python.threadpool.ThreadPool.__setstate__
twisted.python.threadpool.ThreadPool.html#__setstate__
Function
Method
PUBLIC
Undocumented
-
twisted.python.threadpool.ThreadPool.__getstate__
twisted.python.threadpool.ThreadPool.html#__getstate__
Function
Method
PUBLIC
Undocumented
-
twisted.python.threadpool.ThreadPool.callInThread
twisted.python.threadpool.ThreadPool.html#callInThread
Function
Method
PUBLIC
Call a callable object in a separate thread.
-
twisted.python.threadpool.ThreadPool.callInThreadWithCallback
twisted.python.threadpool.ThreadPool.html#callInThreadWithCallback
Function
Method
PUBLIC
Call a callable object in a separate thread and call
onResult with the return value, or a
twisted.python.failure.Failure if the callable raises an exception.
-
twisted.python.threadpool.ThreadPool.stop
twisted.python.threadpool.ThreadPool.html#stop
Function
Method
PUBLIC
Shutdown the threads in the threadpool.
-
twisted.python.threadpool.ThreadPool.adjustPoolsize
twisted.python.threadpool.ThreadPool.html#adjustPoolsize
Function
Method
PUBLIC
Adjust the number of available threads by setting min and max to new values.
-
twisted.python.threadpool.ThreadPool.dumpStats
twisted.python.threadpool.ThreadPool.html#dumpStats
Function
Method
PUBLIC
Dump some plain-text informational messages to the log about the state of this
ThreadPool.
-
twisted.internet.base.DelayedCall
twisted.internet.base.DelayedCall.html
Class
Class
PUBLIC
No class docstring; 0/11 instance variable, 0/2 class variable, 9/10 methods documented
-
twisted.internet.base.DelayedCall.debug
twisted.internet.base.DelayedCall.html#debug
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.base.DelayedCall._repr
twisted.internet.base.DelayedCall.html#_repr
Attribute
Class Variable
PRIVATE
Undocumented
-
twisted.internet.base.DelayedCall.__init__
twisted.internet.base.DelayedCall.html#__init__
Function
Method
PUBLIC
No summary
-
twisted.internet.base.DelayedCall.time
twisted.internet.base.DelayedCall.html#time
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.base.DelayedCall.func
twisted.internet.base.DelayedCall.html#func
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.base.DelayedCall.args
twisted.internet.base.DelayedCall.html#args
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.base.DelayedCall.kw
twisted.internet.base.DelayedCall.html#kw
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.base.DelayedCall.resetter
twisted.internet.base.DelayedCall.html#resetter
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.base.DelayedCall.canceller
twisted.internet.base.DelayedCall.html#canceller
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.base.DelayedCall.seconds
twisted.internet.base.DelayedCall.html#seconds
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.base.DelayedCall.cancelled
twisted.internet.base.DelayedCall.html#cancelled
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.base.DelayedCall.called
twisted.internet.base.DelayedCall.html#called
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.base.DelayedCall.delayed_time
twisted.internet.base.DelayedCall.html#delayed_time
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.base.DelayedCall.creator
twisted.internet.base.DelayedCall.html#creator
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.base.DelayedCall.getTime
twisted.internet.base.DelayedCall.html#getTime
Function
Method
PUBLIC
Return the time at which this call will fire
-
twisted.internet.base.DelayedCall.cancel
twisted.internet.base.DelayedCall.html#cancel
Function
Method
PUBLIC
Unschedule this call
-
twisted.internet.base.DelayedCall.reset
twisted.internet.base.DelayedCall.html#reset
Function
Method
PUBLIC
Reschedule this call for a different time
-
twisted.internet.base.DelayedCall.delay
twisted.internet.base.DelayedCall.html#delay
Function
Method
PUBLIC
Reschedule this call for a later time
-
twisted.internet.base.DelayedCall.activate_delay
twisted.internet.base.DelayedCall.html#activate_delay
Function
Method
PUBLIC
Undocumented
-
twisted.internet.base.DelayedCall.active
twisted.internet.base.DelayedCall.html#active
Function
Method
PUBLIC
Determine whether this call is still pending
-
twisted.internet.base.DelayedCall.__le__
twisted.internet.base.DelayedCall.html#__le__
Function
Method
PUBLIC
Implement
<= operator between two
DelayedCall instances.
-
twisted.internet.base.DelayedCall.__lt__
twisted.internet.base.DelayedCall.html#__lt__
Function
Method
PUBLIC
Implement
< operator between two
DelayedCall instances.
-
twisted.internet.base.DelayedCall.__repr__
twisted.internet.base.DelayedCall.html#__repr__
Function
Method
PUBLIC
-
twisted.internet.base.ThreadedResolver
twisted.internet.base.ThreadedResolver.html
Class
Class
PUBLIC
ThreadedResolver uses a reactor, a threadpool, and
socket.gethostbyname to perform name lookups without blocking the reactor thread. It also supports timeouts indepedently from whatever timeout logic ...
-
twisted.internet.base.ThreadedResolver.reactor
twisted.internet.base.ThreadedResolver.html#reactor
Attribute
Instance Variable
PUBLIC
The reactor the threadpool of which will be used to call socket.gethostbyname and the I/O thread of which the result will be delivered.
-
twisted.internet.base.ThreadedResolver.__init__
twisted.internet.base.ThreadedResolver.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted.internet.base.ThreadedResolver._runningQueries
twisted.internet.base.ThreadedResolver.html#_runningQueries
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.internet.base.ThreadedResolver._fail
twisted.internet.base.ThreadedResolver.html#_fail
Function
Method
PRIVATE
Undocumented
-
twisted.internet.base.ThreadedResolver._cleanup
twisted.internet.base.ThreadedResolver.html#_cleanup
Function
Method
PRIVATE
Undocumented
-
twisted.internet.base.ThreadedResolver._checkTimeout
twisted.internet.base.ThreadedResolver.html#_checkTimeout
Function
Method
PRIVATE
Undocumented
-
twisted.internet.base.ThreadedResolver.getHostByName
twisted.internet.base.ThreadedResolver.html#getHostByName
Function
Method
PUBLIC
-
twisted.internet.base.BlockingResolver
twisted.internet.base.BlockingResolver.html
Class
Class
PUBLIC
Undocumented
-
twisted.internet.base.BlockingResolver.getHostByName
twisted.internet.base.BlockingResolver.html#getHostByName
Function
Method
PUBLIC
Resolve the domain name name into an IP address.
-
twisted.internet.base._ThreePhaseEventTriggerCallable
twisted.internet.base.html#_ThreePhaseEventTriggerCallable
Attribute
Type Alias
PRIVATE
Undocumented
-
twisted.internet.base._ThreePhaseEventTrigger
twisted.internet.base.html#_ThreePhaseEventTrigger
Attribute
Type Alias
PRIVATE
Undocumented
-
twisted.internet.base._ThreePhaseEventTriggerHandle
twisted.internet.base.html#_ThreePhaseEventTriggerHandle
Attribute
Variable
PRIVATE
Undocumented
-
twisted.internet.base._ThreePhaseEvent
twisted.internet.base._ThreePhaseEvent.html
Class
Class
PRIVATE
Collection of callables (with arguments) which can be invoked as a group in a particular order.
-
twisted.internet.base._ThreePhaseEvent.before
twisted.internet.base._ThreePhaseEvent.html#before
Attribute
Instance Variable
PUBLIC
A list of the before-phase triggers containing three-tuples of a callable, a tuple of positional arguments, and a dict of keyword arguments
-
twisted.internet.base._ThreePhaseEvent.finishedBefore
twisted.internet.base._ThreePhaseEvent.html#finishedBefore
Attribute
Instance Variable
PUBLIC
A list of the before-phase triggers which have already been executed. This is only populated in the 'BEFORE' state.
-
twisted.internet.base._ThreePhaseEvent.during
twisted.internet.base._ThreePhaseEvent.html#during
Attribute
Instance Variable
PUBLIC
A list of the during-phase triggers containing three-tuples of a callable, a tuple of positional arguments, and a dict of keyword arguments
-
twisted.internet.base._ThreePhaseEvent.after
twisted.internet.base._ThreePhaseEvent.html#after
Attribute
Instance Variable
PUBLIC
A list of the after-phase triggers containing three-tuples of a callable, a tuple of positional arguments, and a dict of keyword arguments
-
twisted.internet.base._ThreePhaseEvent.state
twisted.internet.base._ThreePhaseEvent.html#state
Attribute
Instance Variable
PUBLIC
A string indicating what is currently going on with this object. One of 'BASE' (for when nothing in particular is happening; this is the initial value), 'BEFORE' (when the before-phase triggers are in the process of being executed).
-
twisted.internet.base._ThreePhaseEvent.__init__
twisted.internet.base._ThreePhaseEvent.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted.internet.base._ThreePhaseEvent.addTrigger
twisted.internet.base._ThreePhaseEvent.html#addTrigger
Function
Method
PUBLIC
Add a trigger to the indicate phase.
-
twisted.internet.base._ThreePhaseEvent.removeTrigger
twisted.internet.base._ThreePhaseEvent.html#removeTrigger
Function
Method
PUBLIC
Remove a previously added trigger callable.
-
twisted.internet.base._ThreePhaseEvent.removeTrigger_BASE
twisted.internet.base._ThreePhaseEvent.html#removeTrigger_BASE
Function
Method
PUBLIC
Just try to remove the trigger.
-
twisted.internet.base._ThreePhaseEvent.removeTrigger_BEFORE
twisted.internet.base._ThreePhaseEvent.html#removeTrigger_BEFORE
Function
Method
PUBLIC
Remove the trigger if it has yet to be executed, otherwise emit a warning that in the future an exception will be raised when removing an already-executed trigger.
-
twisted.internet.base._ThreePhaseEvent.fireEvent
twisted.internet.base._ThreePhaseEvent.html#fireEvent
Function
Method
PUBLIC
Call the triggers added to this event.
-
twisted.internet.base._ThreePhaseEvent._continueFiring
twisted.internet.base._ThreePhaseEvent.html#_continueFiring
Function
Method
PRIVATE
Call the during and after phase triggers for this event.
-
twisted.internet.base.PluggableResolverMixin
twisted.internet.base.PluggableResolverMixin.html
Class
Class
PUBLIC
A mixin which implements the pluggable resolver reactor interfaces.
-
twisted.internet.base.PluggableResolverMixin.resolver
twisted.internet.base.PluggableResolverMixin.html#resolver
Attribute
Instance Variable
PUBLIC
-
twisted.internet.base.PluggableResolverMixin._nameResolver
twisted.internet.base.PluggableResolverMixin.html#_nameResolver
Attribute
Instance Variable
PRIVATE
-
twisted.internet.base.PluggableResolverMixin.installResolver
twisted.internet.base.PluggableResolverMixin.html#installResolver
Function
Method
PUBLIC
-
twisted.internet.base.PluggableResolverMixin.installNameResolver
twisted.internet.base.PluggableResolverMixin.html#installNameResolver
Function
Method
PUBLIC
-
twisted.internet.base.PluggableResolverMixin.nameResolver
twisted.internet.base.PluggableResolverMixin.html#nameResolver
Attribute
Property
PUBLIC
-
twisted.internet.base._SystemEventID
twisted.internet.base.html#_SystemEventID
Attribute
Variable
PRIVATE
Undocumented
-
twisted.internet.base._ThreadCall
twisted.internet.base.html#_ThreadCall
Attribute
Type Alias
PRIVATE
Undocumented
-
twisted.internet.base.ReactorBase
twisted.internet.base.ReactorBase.html
Class
Class
PUBLIC
Default base class for Reactors.
-
twisted.internet.base.ReactorBase._stopped
twisted.internet.base.ReactorBase.html#_stopped
Attribute
Instance Variable
PRIVATE
A flag which is true between paired calls to reactor.run and reactor.stop. This should be replaced with an explicit state machine.
-
twisted.internet.base.ReactorBase._justStopped
twisted.internet.base.ReactorBase.html#_justStopped
Attribute
Instance Variable
PRIVATE
A flag which is true between the time reactor.stop is called and the time the shutdown system event is fired. This is used to determine whether that event should be fired after each iteration through the mainloop...
-
twisted.internet.base.ReactorBase._started
twisted.internet.base.ReactorBase.html#_started
Attribute
Instance Variable
PRIVATE
A flag which is true from the time reactor.run is called until the time reactor.run returns. This is used to prevent calls to reactor.run on a running reactor. This should be replaced with an explicit state machine.
-
twisted.internet.base.ReactorBase.running
twisted.internet.base.ReactorBase.html#running
Attribute
Instance Variable
PUBLIC
-
twisted.internet.base.ReactorBase._registerAsIOThread
twisted.internet.base.ReactorBase.html#_registerAsIOThread
Attribute
Instance Variable
PRIVATE
A flag controlling whether the reactor will register the thread it is running in as the I/O thread when it starts. If True, registration will be done, otherwise it will not be.
-
twisted.internet.base.ReactorBase._exitSignal
twisted.internet.base.ReactorBase.html#_exitSignal
Attribute
Instance Variable
PRIVATE
-
twisted.internet.base.ReactorBase.installed
twisted.internet.base.ReactorBase.html#installed
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.base.ReactorBase.usingThreads
twisted.internet.base.ReactorBase.html#usingThreads
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.base.ReactorBase.__name__
twisted.internet.base.ReactorBase.html#__name__
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.base.ReactorBase.__init__
twisted.internet.base.ReactorBase.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted.internet.base.ReactorBase.threadCallQueue
twisted.internet.base.ReactorBase.html#threadCallQueue
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.base.ReactorBase._eventTriggers
twisted.internet.base.ReactorBase.html#_eventTriggers
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.internet.base.ReactorBase._pendingTimedCalls
twisted.internet.base.ReactorBase.html#_pendingTimedCalls
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.internet.base.ReactorBase._newTimedCalls
twisted.internet.base.ReactorBase.html#_newTimedCalls
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.internet.base.ReactorBase._cancellations
twisted.internet.base.ReactorBase.html#_cancellations
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.internet.base.ReactorBase._startedBefore
twisted.internet.base.ReactorBase.html#_startedBefore
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.internet.base.ReactorBase._internalReaders
twisted.internet.base.ReactorBase.html#_internalReaders
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.internet.base.ReactorBase.waker
twisted.internet.base.ReactorBase.html#waker
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.base.ReactorBase._lock
twisted.internet.base.ReactorBase.html#_lock
Attribute
Class Variable
PRIVATE
Undocumented
-
twisted.internet.base.ReactorBase.installWaker
twisted.internet.base.ReactorBase.html#installWaker
Function
Method
PUBLIC
Undocumented
-
twisted.internet.base.ReactorBase.wakeUp
twisted.internet.base.ReactorBase.html#wakeUp
Function
Method
PUBLIC
Wake up the event loop.
-
twisted.internet.base.ReactorBase.doIteration
twisted.internet.base.ReactorBase.html#doIteration
Function
Method
PUBLIC
Do one iteration over the readers and writers which have been added.
-
twisted.internet.base.ReactorBase.addReader
twisted.internet.base.ReactorBase.html#addReader
Function
Method
PUBLIC
Undocumented
-
twisted.internet.base.ReactorBase.addWriter
twisted.internet.base.ReactorBase.html#addWriter
Function
Method
PUBLIC
Undocumented
-
twisted.internet.base.ReactorBase.removeReader
twisted.internet.base.ReactorBase.html#removeReader
Function
Method
PUBLIC
Undocumented
-
twisted.internet.base.ReactorBase.removeWriter
twisted.internet.base.ReactorBase.html#removeWriter
Function
Method
PUBLIC
Undocumented
-
twisted.internet.base.ReactorBase.removeAll
twisted.internet.base.ReactorBase.html#removeAll
Function
Method
PUBLIC
Undocumented
-
twisted.internet.base.ReactorBase.getReaders
twisted.internet.base.ReactorBase.html#getReaders
Function
Method
PUBLIC
Undocumented
-
twisted.internet.base.ReactorBase.getWriters
twisted.internet.base.ReactorBase.html#getWriters
Function
Method
PUBLIC
Undocumented
-
twisted.internet.base.ReactorBase.resolve
twisted.internet.base.ReactorBase.html#resolve
Function
Method
PUBLIC
Return a Deferred that will resolve a hostname.
-
twisted.internet.base.ReactorBase.stop
twisted.internet.base.ReactorBase.html#stop
Function
Method
PUBLIC
See twisted.internet.interfaces.IReactorCore.stop.
-
twisted.internet.base.ReactorBase.crash
twisted.internet.base.ReactorBase.html#crash
Function
Method
PUBLIC
See twisted.internet.interfaces.IReactorCore.crash.
-
twisted.internet.base.ReactorBase.sigInt
twisted.internet.base.ReactorBase.html#sigInt
Function
Method
PUBLIC
Handle a SIGINT interrupt.
-
twisted.internet.base.ReactorBase.sigBreak
twisted.internet.base.ReactorBase.html#sigBreak
Function
Method
PUBLIC
Handle a SIGBREAK interrupt.
-
twisted.internet.base.ReactorBase.sigTerm
twisted.internet.base.ReactorBase.html#sigTerm
Function
Method
PUBLIC
Handle a SIGTERM interrupt.
-
twisted.internet.base.ReactorBase.disconnectAll
twisted.internet.base.ReactorBase.html#disconnectAll
Function
Method
PUBLIC
Disconnect every reader, and writer in the system.
-
twisted.internet.base.ReactorBase.iterate
twisted.internet.base.ReactorBase.html#iterate
Function
Method
PUBLIC
See twisted.internet.interfaces.IReactorCore.iterate.
-
twisted.internet.base.ReactorBase.fireSystemEvent
twisted.internet.base.ReactorBase.html#fireSystemEvent
Function
Method
PUBLIC
See twisted.internet.interfaces.IReactorCore.fireSystemEvent.
-
twisted.internet.base.ReactorBase.addSystemEventTrigger
twisted.internet.base.ReactorBase.html#addSystemEventTrigger
Function
Method
PUBLIC
See twisted.internet.interfaces.IReactorCore.addSystemEventTrigger.
-
twisted.internet.base.ReactorBase.removeSystemEventTrigger
twisted.internet.base.ReactorBase.html#removeSystemEventTrigger
Function
Method
PUBLIC
See twisted.internet.interfaces.IReactorCore.removeSystemEventTrigger.
-
twisted.internet.base.ReactorBase.callWhenRunning
twisted.internet.base.ReactorBase.html#callWhenRunning
Function
Method
PUBLIC
See twisted.internet.interfaces.IReactorCore.callWhenRunning.
-
twisted.internet.base.ReactorBase.startRunning
twisted.internet.base.ReactorBase.html#startRunning
Function
Method
PUBLIC
Method called when reactor starts: do some initialization and fire startup events.
-
twisted.internet.base.ReactorBase._reallyStartRunning
twisted.internet.base.ReactorBase.html#_reallyStartRunning
Function
Method
PRIVATE
Method called to transition to the running state. This should happen in the during startup event trigger phase.
-
twisted.internet.base.ReactorBase.run
twisted.internet.base.ReactorBase.html#run
Function
Method
PUBLIC
Fire 'startup' System Events, move the reactor to the 'running' state, then run the main loop until it is stopped with stop() or crash().
-
twisted.internet.base.ReactorBase.seconds
twisted.internet.base.ReactorBase.html#seconds
Attribute
Class Variable
PUBLIC
Get the current time in seconds.
-
twisted.internet.base.ReactorBase.callLater
twisted.internet.base.ReactorBase.html#callLater
Function
Method
PUBLIC
See twisted.internet.interfaces.IReactorTime.callLater.
-
twisted.internet.base.ReactorBase._moveCallLaterSooner
twisted.internet.base.ReactorBase.html#_moveCallLaterSooner
Function
Method
PRIVATE
Undocumented
-
twisted.internet.base.ReactorBase._cancelCallLater
twisted.internet.base.ReactorBase.html#_cancelCallLater
Function
Method
PRIVATE
Undocumented
-
twisted.internet.base.ReactorBase.getDelayedCalls
twisted.internet.base.ReactorBase.html#getDelayedCalls
Function
Method
PUBLIC
-
twisted.internet.base.ReactorBase._insertNewDelayedCalls
twisted.internet.base.ReactorBase.html#_insertNewDelayedCalls
Function
Method
PRIVATE
Undocumented
-
twisted.internet.base.ReactorBase.timeout
twisted.internet.base.ReactorBase.html#timeout
Function
Method
PUBLIC
Determine the longest time the reactor may sleep (waiting on I/O notification, perhaps) before it must wake up to service a time-related event.
-
twisted.internet.base.ReactorBase.runUntilCurrent
twisted.internet.base.ReactorBase.html#runUntilCurrent
Function
Method
PUBLIC
Run all pending timed calls.
-
twisted.internet.base.ReactorBase.threadpool
twisted.internet.base.ReactorBase.html#threadpool
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.base.ReactorBase._threadpoolStartupID
twisted.internet.base.ReactorBase.html#_threadpoolStartupID
Attribute
Instance Variable
PRIVATE
Undocumented
-
twisted.internet.base.ReactorBase.threadpoolShutdownID
twisted.internet.base.ReactorBase.html#threadpoolShutdownID
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.base.ReactorBase._initThreads
twisted.internet.base.ReactorBase.html#_initThreads
Function
Method
PRIVATE
Undocumented
-
twisted.internet.base.ReactorBase.callFromThread
twisted.internet.base.ReactorBase.html#callFromThread
Function
Method
PUBLIC
-
twisted.internet.base.ReactorBase._initThreadPool
twisted.internet.base.ReactorBase.html#_initThreadPool
Function
Method
PRIVATE
Create the threadpool accessible with callFromThread.
-
twisted.internet.base.ReactorBase._uninstallHandler
twisted.internet.base.ReactorBase.html#_uninstallHandler
Function
Method
PRIVATE
Undocumented
-
twisted.internet.base.ReactorBase._stopThreadPool
twisted.internet.base.ReactorBase.html#_stopThreadPool
Function
Method
PRIVATE
Stop the reactor threadpool. This method is only valid if there is currently a threadpool (created by
_initThreadPool). It is not intended to be called directly; instead, it will be called by a shutdown trigger created in ...
-
twisted.internet.base.ReactorBase.getThreadPool
twisted.internet.base.ReactorBase.html#getThreadPool
Function
Method
PUBLIC
-
twisted.internet.base.ReactorBase.callInThread
twisted.internet.base.ReactorBase.html#callInThread
Function
Method
PUBLIC
-
twisted.internet.base.ReactorBase.suggestThreadPoolSize
twisted.internet.base.ReactorBase.html#suggestThreadPoolSize
Function
Method
PUBLIC
-
twisted.internet.base.BaseConnector
twisted.internet.base.BaseConnector.html
Class
Class
PUBLIC
-
twisted.internet.base.BaseConnector.timeoutID
twisted.internet.base.BaseConnector.html#timeoutID
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.base.BaseConnector.factoryStarted
twisted.internet.base.BaseConnector.html#factoryStarted
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.base.BaseConnector.__init__
twisted.internet.base.BaseConnector.html#__init__
Function
Method
PUBLIC
Undocumented
-
twisted.internet.base.BaseConnector.state
twisted.internet.base.BaseConnector.html#state
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.base.BaseConnector.reactor
twisted.internet.base.BaseConnector.html#reactor
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.base.BaseConnector.factory
twisted.internet.base.BaseConnector.html#factory
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.base.BaseConnector.timeout
twisted.internet.base.BaseConnector.html#timeout
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.base.BaseConnector.disconnect
twisted.internet.base.BaseConnector.html#disconnect
Function
Method
PUBLIC
Disconnect whatever our state is.
-
twisted.internet.base.BaseConnector._makeTransport
twisted.internet.base.BaseConnector.html#_makeTransport
Function
Method
PRIVATE
Undocumented
-
twisted.internet.base.BaseConnector.connect
twisted.internet.base.BaseConnector.html#connect
Function
Method
PUBLIC
Start connection to remote server.
-
twisted.internet.base.BaseConnector.transport
twisted.internet.base.BaseConnector.html#transport
Attribute
Instance Variable
PUBLIC
Undocumented
-
twisted.internet.base.BaseConnector.stopConnecting
twisted.internet.base.BaseConnector.html#stopConnecting
Function
Method
PUBLIC
Stop attempting to connect.
-
twisted.internet.base.BaseConnector.cancelTimeout
twisted.internet.base.BaseConnector.html#cancelTimeout
Function
Method
PUBLIC
Undocumented
-
twisted.internet.base.BaseConnector.buildProtocol
twisted.internet.base.BaseConnector.html#buildProtocol
Function
Method
PUBLIC
Undocumented
-
twisted.internet.base.BaseConnector.connectionFailed
twisted.internet.base.BaseConnector.html#connectionFailed
Function
Method
PUBLIC
Undocumented
-
twisted.internet.base.BaseConnector.connectionLost
twisted.internet.base.BaseConnector.html#connectionLost
Function
Method
PUBLIC
Undocumented
-
twisted.internet.base.BaseConnector.getDestination
twisted.internet.base.BaseConnector.html#getDestination
Function
Method
PUBLIC
Return destination this will try to connect to.
-
twisted.internet.base.BaseConnector.__repr__
twisted.internet.base.BaseConnector.html#__repr__
Function
Method
PUBLIC
Undocumented
-
twisted.internet.base.BasePort
twisted.internet.base.BasePort.html
Class
Class
PUBLIC
Basic implementation of a ListeningPort.
-
twisted.internet.base.BasePort.addressFamily
twisted.internet.base.BasePort.html#addressFamily
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.base.BasePort.socketType
twisted.internet.base.BasePort.html#socketType
Attribute
Class Variable
PUBLIC
Undocumented
-
twisted.internet.base.BasePort.createInternetSocket
twisted.internet.base.BasePort.html#createInternetSocket
Function
Method
PUBLIC
Undocumented
-
twisted.internet.base.BasePort.doWrite
twisted.internet.base.BasePort.html#doWrite
Function
Method
PUBLIC
Raises a RuntimeError
-
twisted.internet.base._SignalReactorMixin
twisted.internet.base._SignalReactorMixin.html
Class
Class
PRIVATE
Private mmary.internet.protocol.FileWrapper.loseConnection">
twisted.internet.base.BaseConnector.ype">Funector.ype">Funector.ype"
isted.internet.ummary">PrirBase._moveCallLaterSooner">
twisvuwbr>BasePort
"url">twisted.internet.protocol.AbstractDatagramProtocol.html#noisy
/wbr>Path
.__hash__
twisted.python.filepath.Abstran.html
PrirBase._moveCallLaterSooner">
twisted.internet.base.BaseConnector.ype">Funector.ype">Funector.ype"
istriety of different names. You must match whatever the
sender does. Having both ends import the class from a separate file, using
twisted.internet.p
-
Fud">Package
PUBLIC
ullN">
/wbr>Path.__hash__
PUBLIC
PUBLIC
PUBLIC
PUBLIC
">PRIVATE
Undocumentedvacy">PUBLIC
.
File
Wrapper
PUBLIC
Function
"url">twisted.internet.protocacy">PRIVATE
twisted.internet.baseClass Variable
PUBLIC
vacy">PUBLIC
.
File
Wrapper
PUBLIC
Function
PrirBase._br
Function
Method