AssertionError
AttributeError
BaseException
CopiedFailure
is a pb.RemoteCopy
of
a failure.Failure
transferred via PB.flavors.RemoteCopy
and flavors.Copyable
version of twisted.python.failure.Failure
for serialization.code.InteractiveInterpreter
codecs.StreamReader
codecs.StreamWriter
collections.Sequence
collections.UserDict
constantly.Flags
ProtocolNegotiationSupport
defines flags which are used to indicate the level of NPN/ALPN support
provided by the TLS backend.TunnelFlags
defines more flags which are used to configure the behavior of a tunnel
device.constantly.Names
constantly.Values
cPickle.PicklingError
cPickle.PicklingError
and pickle.PicklingError
handlers.datetime.tzinfo
dict
twist
.distutils.command.build_ext.build_ext
Exception
_cancellableInlineCallbacks
to verify that an inlineCallbacks
is being cancelled as expected.DeferredFilesystemLock.deferUntilLocked
is called twice on a single DeferredFilesystemLock
.Deferred
is
cancelled.DeferredList
if fireOnOneErrback
is set.Deferred
times
out.Exception
that will be raised when an IStreamClientEndpoint
is cancelled before it connects.twisted.internet.interfaces.ITCPTransport.abortConnection
.IUNIXTransport.sendFileDescriptor
caused the connection to be closed.Exception
that will be raised when the factory given to
a IStreamClientEndpoint
returns None
from buildProtocol
.LogLevel
that is
unknown to the logging system.LineOnlyReceiver.MAX_LENGTH
).FilePath
is
invalid.twisted.trial.itrial.IReporter.addError
when the reactor is left in an unclean state after a test._WrapperException
is the base exception type for exceptions which include one or more other
exceptions as the low-level causes.ResponseFailed
indicates that all of the response to a request was not received for some
reason.ResponseFailed
that knows no response bytes at all have been received.Request
were in
some way invalid.IBodyProducer
for a request tried to write data after indicating it had finished writing
data.IBodyProducer
declared the number of bytes it was going to produce (via its
length
attribute) and then produced a different number of
bytes.ResponseDone
may be passed to IProtocol.connectionLost
on the protocol passed to Response.deliverBody
and indicates that the entire response has been delivered.ResponseFailed
if we got a redirect without a Location
header field.MissingTemplateLoader
is raised when trying to render an Element without a template loader, i.e.
a loader
attribute.io.BytesIO
IOError
IOError
to preserve backward compatibility with the previous error behavior of getProcessOutput
.KeyError
namedtuple('_TunnelDescription', 'fileno name')
NotImplementedError
object
IWorker
that
queues work for later performance.Team
's current
activity.IWorker
implemented based on a mutual-exclusion lock.IWorker
implementation.IExclusiveWorker
implemented based on a single thread and a queue.AppLogger
attaches the configured log observer specified on the commandline to a ServerOptions
object, a custom logger.ILogObserver
,
or a legacy custom {log.ILogObserver}._DisconnectFactory
is a proxy for IProtocolFactory
that catches connectionLost
notifications and relays them.ClientService
maintains a single outgoing connection to a client endpoint, reconnecting
after a configurable timeout when a connection fails, either before or
after connecting.StreamServerEndpointService
is an IService
which runs a server on a listening port described by an IStreamServerEndpoint
.EX_*
values off of as a substitute for posix
.IPIDFile
based on IFilePath
.ClientService
maintains a single outgoing connection to a client endpoint, reconnecting
after a configurable timeout when a connection fails, either before or
after connecting.service.IService
which starts and stops a twisted.internet.task.Cooperator
.StreamServerEndpointService
is an IService
which runs a server on a listening port described by an IStreamServerEndpoint
.IServiceMaker
plugins.twisted.conch.ssh.keys.Key
s.HashedEntry
is a representation of an entry in a known_hosts file where the hostname
has been hashed and salted.PlainEntry
is a representation of a plain-text entry in a known_hosts file.UnparsedEntry
is an entry in a KnownHostsFile
which can't actually be parsed; therefore it matches no keys and no
hosts._ExistingConnectionHelper
implements _ISSHConnectionCreator
by handing out an existing SSH connection which is supplied to its
initializer._NewConnectionHelper
implements _ISSHConnectionCreator
by establishing a brand new SSH connection, securing it, and
authenticating.KnownHostsFile
to respond in the negative to all prompts for decisions.SSHCommandAddress
instance represents the address of an SSH server, a username which was used
to authenticate with that server, and a command which was run there.SSHCommandClientEndpoint
exposes the command-executing functionality of SSH servers.TerminalProtocol
which adds line editing features.TerminalProtocol
which adds both basic line-editing features and input history.stdio.StandardIO
.ScrolledArea
contains another widget wrapped in a viewport and vertical and horizontal
scrollbars for moving the viewport around.ITerminalTransport
implementation which forwards calls to one or more other ITerminalTransport
s._BypassTLS
is used as the transport object for the TLS protocol object used to
implement startTLS
. Its methods skip any TLS logic which
startTLS
enables.twisted.internet.tcp.Client
which just marks it as a client for the purposes of the default TLS
handshake.twisted.internet.abstract.FileDescriptor
which adds an ITLSTransport
implementation.twisted.internet.tcp.Server
which just marks it as a server for the purposes of the default TLS
handshake.IHostnameResolver
to IResolverSimple
IResolutionReceiver
which fires a Deferred
with
its first result.IHostnameResolver
implementation that resolves hostnames by calling getaddrinfo
in a thread.IResolverSimple
to IHostnameResolver
.configureECDHCurve
method to set the
curve, when appropriate, on a new OpenSSL.SSL.Context
.OpenSSL.crypto.X509
objects.IConsumer
implementations can mix this in to get registerProducer
and
unregisterProducer
methods which take care of keeping track of
a producer's state.interfaces.ILoggingContext
for transports which have a protocol, the log prefix of which should also
appear in the transport's log prefix.interfaces.IAddress
provider for process transports.HostnameAddress
represents the address of a HostnameEndpoint
.IPv4Address
represents the address of an IPv4 socket endpoint.IPv6Address
represents the address of an IPv6 socket endpoint.asyncio.Handle
instances. Callbacks can close over this and use it as a mutable reference
to asyncio Handles
.asyncio.SelectorEventLoop
.asyncio.SelectorEventLoop
.inlineCallbacks
invocation.IHostnameResolver
provider that invokes a provided callable to resolve hostnames.wrapClientTLS
with HostnameEndpoint
._disconnectSelectable
method.asyncio.SelectorEventLoop
._SIGCHLDWaker
can wake up a reactor whenever SIGCHLD
is received.CertificateOptions
specifies the security properties for a client or server TLS connection
used with OpenSSL.CooperativeTask
is a task object inside a Cooperator
,
which can be paused, resumed, and stopped. It can also have its completion
(or termination) monitored.abortConnection
._IFileDescriptorReservation
implementation._IFileDescriptorReservation
.twisted.python.sendmsg
is not available, preventing IUNIXTransport
from being supported.IReactorWin32Events
for another reactor by running a Win32Reactor
in a separate thread and dispatching work to it.Win32Reactor
thread into a notification in the primary reactor thread.KeyFlattener
computes keys for the things within curly braces in PEP-3101-style format
strings as parsed by string.Formatter.parse
.()
-suffix in key names into
an invocation of the key rather than a lookup of the key.__str__()
in order to defer the
work of formatting until it's converted into a str
.ILogObserver
that wraps another ILogObserver
, but
filters out events based on applying a series of ILogFilterPredicate
s.ILogObserver
that wraps an twisted.python.log.ILogObserver
.ILogObserver
that stores events in a buffer of a fixed size:
Logger
emits log
messages to an observer. You should instantiate it as a class or module
attribute, as documented in this
module's documentation
.write()
calls into logging
events.ILogFilterPredicate
that filters out events with a log level lower than the log level for the
event's namespace.logging
module._MessageStructure
is a helper base class for message structure classes representing the
structure of particular kinds of messages, as defined by their MIME
type._MultipartMessageStructure
represents the message structure of a multipart/* message._SinglepartMessageStructure
represents the message structure of a non-multipart/* message._RFC822MessageStructure
represents the message structure of a message/rfc822 message._TextMessageStructure
represents the message structure of a text/* message.IMAP4Client
and
IMAP4Server
via IMailboxIMAP.store
and IMailboxIMAP.fetch
.MemoryIOSystem
.os
module.TuntapPort
relies on. This is most of an implementation of _IInputOutputSystem
.TunnelAddress
represents the tunnel to which a TuntapPort
is
bound.CachedPlugin
instances from a particular module in a plugin package.FilePasswordDB
.UNIXChecker
.NMEASentence
),
and delegates to a receiver._DescriptorExchanger
is a mixin for BinaryBoxProtocol
which adds support for receiving file descriptors, a feature offered by IUNIXTransport
.AmpBox
es -
key/value pairs - via length-prefixed strings. A box is composed of:AMP.locateResponder
method to do simple, string-based dispatch.IntNStringReceiver.recvd
attribute.IFTPShell
.Via
is a SIP
Via header, representing a segment of the path taken by the request.twisted.internet.interfaces.IOpenSSLContextFactory
into a IOpenSSLClientConnectionCreator
or IOpenSSLServerConnectionCreator
.TLSMemoryBIOProtocol
transport.main
._ProxyDescriptor.originalAttribute
of the object it is being accessed from._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._Traceback
via _Frame
._Traceback
.traceback
module._ShadowRecord
holds the shadow user data for a single user in ShadowDatabase
.
It corresponds to spwd.struct_spwd
. See that class for
attribute documentation._UserRecord
holds the user data for a single user in UserDatabase
.
It corresponds to pwd.struct_passwd
.
See that class for attribute documentation.ShadowDatabase
holds a shadow user database in memory and makes it available via the same
API as spwd
.UserDatabase
holds a traditional POSIX user data in memory and makes it available via
the same API as pwd
.IFilePath
;
must be completed by a subclass.FilePath
-like
object which can wrap a zip archive as if it were a directory.FilesystemLock
that allows for a Deferred
to be
fired when the lock is acquired.logging
module.secureRandom
and insecureRandom
methods.ListenFDs
provides access to file descriptors inherited from systemd.IConnector
that allows us to inspect if it has been told to stop connecting.IListeningPort
to be used in tests.IAddress
implementation meant to provide stub addresses for ITransport.getPeer
and ITransport.getHost
.AMP
over a ProcessProtocol
transport.AMP
protocol.assertRaises
. This is a context
manager and a helper method to support the non-context manager version of
assertRaises
.write
calls are wrapped
in untilConcludes
.twisted.trial.unittest.TestCase
s.AMP
protocol's callRemote
method.TestResult
with support for writing to a stream.TestCase
inside a reporter. As far as a TestResult
is concerned, this looks exactly like a unit test.TestSuite
or
a TestCase
).TestSuite
or
TestCase
.Agent
-type
classes.Agent
is a very
basic HTTP client. It supports HTTP and HTTPS scheme
URIs._ContextFactoryWithContext
is like a twisted.internet.ssl.ContextFactory
with a pre-created context.urllib2.Request
object for cookielib
to
work with.urllib2.Response
object for cookielib
to work with.HTTP11ClientProtocol
that automatically retries requests.Agent
wrapper to handle encoded content.CookieAgent
extends the basic Agent
to add
RFC-compliant handling of HTTP cookies. Cookies are written to and
extracted from a cookielib.CookieJar
instance.FileBodyProducer
produces bytes from an input file object incrementally and writes them to a
consumer.Agent
wrapper which handles HTTP redirects.Agent
wrapper which handles HTTP redirects in the same fashion as web
browsers.Agent
as-is, or if
you want to customize something, use BrowserLikePolicyForHTTPS
.digest.DigestCredentialFactory
that implements the ICredentialFactory
interface.interfaces.IPushProducer
,
used to abstract over the possibility that a HTTPChannel
transport does not provide IPushProducer
.IAddress
which represents the client IP to log for a request, as gleaned from an
X-Forwarded-For header.StaticProducer
that writes several chunks of a file to the request.StaticProducer
that writes the entire file to the request.StaticProducer
that writes a single chunk of a file to the request.Tag
objects; the
implementation of the tags
object.<![CDATA[]]>
block from a template. Given a
separate representation in the DOM so that they may be round-tripped
through rendering without losing information.<!-- -->
comment from a template. Given a separate
representation in the DOM so that they may be round-tripped through
rendering without losing information._FrameElement
is an IRenderable
which
can render details about one frame from a Failure
._SourceFragmentElement
is an IRenderable
which
can render several lines of source code near the line number of a
particular frame object._SourceLineElement
is an IRenderable
which
can render a single line of source code._StackElement
renders an IRenderable
which
can render a list of frames.FailureElement
is an IRenderable
which
can render detailed information about a Failure
.ITemplateLoader
that loads existing IRenderable
providers.ITemplateLoader
that loads and parses XML from a file.ITemplateLoader
that loads and parses XML from a string.OSError
pickle.PicklingError
cPickle.PicklingError
and pickle.PicklingError
handlers.proxyForInterface(_IProcessTransportWithConsumerAndProducer, '_process')
ITransport
,
IProcessTransport
,
IConsumer
,
and IPushProducer
provider for the IProtocol
instance passed to the process endpoint.proxyForInterface(IProtocol)
Protocol
implementation which wraps another one, transparently decompressing
received data.proxyForInterface(IProtocol, '_channel')
proxyForInterface(IReporter)
proxyForInterface(IRequest, '_request')
getClientIP
.proxyForInterface(IResource)
IResource
,
potentially applying an encoding to the response body generated.proxyForInterface(IResponse)
Response
instance
which handles gzip'ed body.proxyForInterface(itrial.IReporter, '_originalReporter')
util.DirtyReactorAggregateError
s
to warnings.proxyForInterface(itrial.ITestCase, '_originalTest')
TestCase
subclasses that have
undesirable id() methods. That is unittest.FunctionTestCase
and unittest.DocTestCase
.pydoctor.sphinx.SphinxInventory
pydoctor.zopeinterface.ZopeInterfaceASTBuilder
pydoctor.zopeinterface.ZopeInterfaceFunction
pydoctor.zopeinterface.ZopeInterfaceModuleVisitor
pydoctor.zopeinterface.ZopeInterfaceSystem
pyunit.TestSuite
TestSuite
with a consistently
overrideable run
method.TestResult
object.trial
run. Used
internally by Trial to set up things necessary for Trial tests to work,
regardless of what context they are run in.RuntimeError
setuptools.command.build_py.build_py
setuptools.Extension
TestCase
TestResult
twisted.trial.unittest.TestCase
s.AMP
protocol's callRemote
method.TestResult
with support for writing to a stream.Tkinter.Frame
tuple
_MACParams
represents the parameters necessary to compute SSH MAC (Message
Authenticate Codes).LOGINCredentials
generates challenges for LOGIN authentication.usage.Options
subclass that needs authentication.PublicKey
is a representation of the public part of a key pair.Connector
provides of twisted.internet.interfaces.IConnector
for all POSIX-style reactors.DeferredList
is a tool for collecting the results of several Deferreds.deferredGenerator
.Protocol
instance in a ProcessProtocol
instance.IProcessProtocol
and an ITransport
.IProcessProtocol
provider that wraps an IProtocol
.Deferred
._CommandTransport
is an SSH client transport which includes a host key verification
step before it will proceed to secure the connection.AmpBox
es -
key/value pairs - via length-prefixed strings. A box is composed of:SMTPSenderFactory
.NMEASentence
),
and delegates to a receiver.FTPClient
is a
client implementation of the FTP protocol which exposes FTP commands as
methods which return Deferred
s.HTTPParser
handles the parsing side of HTTP processing. With a suitable subclass, it
can parse either the client side or the server side of the connection.ThrottlingFactory
.Banana
implements the Banana s-expression protocol, client and server.AccumulatingProtocol
is an IProtocol
implementation which collects the data delivered to it and can fire a
Deferred when it is connected or disconnected.HTTP11ClientProtocol
is an implementation of the HTTP 1.1 client protocol. It supports as few
features as possible.SMTPManagedRelayer
.ESMTPManagedRelayer
.TLSMemoryBIOFactory
adds TLS to connections.DNSProtocol
connections. This class also provides records for responses to DNS
queries.IRCUser
protocol.HTTP11ClientProtocol
,
used by HTTPConnectionPool
.DefaultOpenSSLContextFactory
is a factory for server-side SSL context objects. These objects define
certain parameters related to SSL handshakes and the subsequent
connection.IReactorTime.callLater
.
This is commonly useful for writing deterministic unit tests for code which
schedules events using this API.DirDBM
database.DirDBM
database.SMTPSenderFactory
.ResolverBase
is a base class for implementations of interfaces.IResolver
which deals with a lot of the boilerplate of implementing all of the lookup
methods.IResolver
sResolver
implements recursive lookup starting from a specified list of root
servers.notifyModerators
method which will take care of
sending messages which require moderation to a list of moderators._Container
instead.Banana
implements the Banana s-expression protocol, client and server.ResourcePublisher
exposes a remote API which can be used to respond to request.datetime.datetime
instances.decimal.Decimal
instances.filepath.FilePath
instances as paths on the wire.BoxDispatcher
dispatches '_ask', '_answer', and '_error' AmpBox
es, both
incoming and outgoing, to their appropriate destinations.CommandLocator
is a collection of responders to AMP Command
s, with
the help of the Command.responder
decorator.AmpBox
es -
key/value pairs - via length-prefixed strings. A box is composed of:SMTPSenderFactory
.NMEASentence
),
and delegates to a receiver.FTPClient
is a
client implementation of the FTP protocol which exposes FTP commands as
methods which return Deferred
s.HTTPParser
handles the parsing side of HTTP processing. With a suitable subclass, it
can parse either the client side or the server side of the connection.AmpBox
es -
key/value pairs - via length-prefixed strings. A box is composed of:SystemFTPRealm
uses system user account information to decide what the home directory for
a particular avatarId is.Bucket
for each
host.Bucket
for each
service.Protocols
with traffic shaping on their
transports.Consumer
and shapes the rate at which it receives
data.Transport
and shapes the rate at which it receives
data.SMTPSenderFactory
.twisted.python.compat.unicode
ResourceSubscription
and sent via PB to a distributed node.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.TokenPrinter
,
formating tokens as HTML spans.logging
module._CommandChannel
executes a command in a session channel and connects its input and output
to an IProtocol
provider._ConnectionReady
is an SSHConnection
(an SSH service) which only propagates the serviceStarted event to a
Deferred
to
be handled elsewhere._UserAuth
implements the client part of SSH user authentication in the convenient way
a user might expect if they are familiar with the interactive ssh
command line client._SIGCHLDWaker
can wake up a reactor whenever SIGCHLD
is received.ReactorBase.runUntilCurrent
to get invoked.sys.path
and the modules list in sys.modules
.__eq__
and __ne__
.HashedEntry
is a representation of an entry in a known_hosts file where the hostname
has been hashed and salted.Message
contains all the information represented by a single DNS request or
response.TunnelAddress
represents the tunnel to which a TuntapPort
is
bound.__str__
.TunnelAddress
represents the tunnel to which a TuntapPort
is
bound.RemoteCache
.flavors.RemoteCopy
and flavors.Copyable
version of twisted.python.failure.Failure
for serialization.ResourceSubscription
and sent via PB to a distributed node.pb.Broker
s for a pb.PBClientFactory
or pb.PBServerFactory
.ResourcePublisher
exposes a remote API which can be used to respond to request.pb.IPerspective
.Cacheable
object.ViewPoint
when
passed to or returned from a remote method.setStateFor
convenience method.CopiedFailure
is a pb.RemoteCopy
of
a failure.Failure
transferred via PB.Cacheable
object.ResourceSubscription
and sent via PB to a distributed node.RemoteCache
.StringTransport
which on disconnection will trigger the connection lost on the attached
protocol.IConsumer
on top of HTTP11ClientProtocol
for streaming request bodies to the server.IConsumer
proxy which enforces an exact length requirement on the total data written
to it.Request
instance describes an HTTP request to be sent to an HTTP server.twisted.internet.interfaces.IPushProducer
implementation which wraps another such thing and proxies calls to it until
it is told to stop.Response
instance describes an HTTP response received from an HTTP server.ResourceSubscription
and sent via PB to a distributed node.ErrorPage
is a resource which responds with a particular (parameterized) status and a
body consisting of HTML containing some descriptive text. This is useful
for rendering simple error pages.ForbiddenResource
is a specialization of ErrorPage
which
returns the FORBIDDEN HTTP response code.NoResource
is
a specialization of ErrorPage
which
returns the HTTP response code NOT FOUND.CGIScript
is
a resource which runs child processes according to the CGI
specification.'wsgi.errors'
key in the environ
dictionary
passed to the application object.'wsgi.input'
key in the environ
dictionary passed
to the application object.WSGIResource
which drives the WSGI application using a threadpool and hooks it up to the
http.Request
.IResource
implementation which delegates responsibility for all resources
hierarchically inferior to it to a WSGI application.twisted.web.xmlrpc.Fault
type
urllib2.Request
ValueError
name,
class, type
triple.name, class, type
triple.twisted.names.dns.EFORMAT
.twisted.names.dns.ENAME
.twisted.names.dns.ENOTIMP
.twisted.names.dns.EREFUSED
.twisted.names.dns.ESERVER
.Warning
IReactorProcess.spawnProcess
is called in a way which may result in termination of the created child
process not being reported.wxPython.wx.wxTimer
xml.sax.handler.ContentHandler
xml.sax.handler.EntityResolver
zipfile.ZipFile
zipfile.ZipFile
object which, with readfile
,
also gives you access to a file-like object for each entry.zope.interface.Interface
IWorker
,
but with the additional guarantee that the callables passed to
do
will not be called exclusively with each other._ISSHConnectionCreator
knows how to create SSH connections somehow.IKnownHostEntry
is an entry in an OpenSSH-formatted known_hosts
file.openFile
()._IKexAlgorithm
describes a key exchange algorithm._IEllipticCurveExchangeKexAlgorithm
describes a key exchange algorithm that uses an elliptic curve exchange
between the client and server._IFixedGroupKexAlgorithm
describes a key exchange algorithm with a fixed prime / generator
group._IGroupExchangeKexAlgorithm
describes a key exchange algorithm that uses group exchange between the
client and server.ISSHPrivateKey
credentials encapsulate an SSH public key to be checked against a user's
private key.twisted.cred.checkers.ICredentialsChecker
.(host, port)
.IProtocol
to indicate that it would like to be notified when TLS handshakes complete
when run over a TLS-based transport.IHostnameResolver
can resolve a host name and port number into a series of IAddress
objects.IHostResolution
represents represents an in-progress recursive query for a DNS name.IFileDescriptor
that can read.IFileDescriptor
that can both read and write.IFileDescriptor
that can write.IFileDescriptor
that can both read and write.IOpenSSLClientConnectionCreator
can create OpenSSL.SSL.Connection
objects for TLS clients.IOpenSSLServerConnectionCreator
can create OpenSSL.SSL.Connection
objects for TLS servers.IBodyProducer
write bytes to an object which provides IConsumer
by calling its write
method repeatedly.IFileDescriptor
type resources.IReactorPluggableNameResolver
is a reactor whose name resolver can be set to a user-supplied object.IReactorPluggableResolver
is a reactor which can be customized with an IResolverSimple
.
This is a fairly limited interface, that supports only IPv4; you should use
IReactorPluggableNameResolver
instead.IResolutionReceiver
receives the results of a hostname resolution in progress, initiated by an
IHostnameResolver
.ClientFactory
can connect to. For example, a remote TCP host/port pair would be a TCP
client endpoint.IStreamClientEndpointStringParserWithReactor
is a parser which can convert a set of string *args
and
**kwargs
into an IStreamClientEndpoint
provider.Factory
can
listen for incoming connections.IMAPrev4
authorization challenge mechanism.listMailboxes
.twisted.pair.tuntap
-using
code).IArgumentType
can serialize a Python object into an AMP box and deserialize information
from an AMP box back into a Python object.AmpBox
objects
and dispatch them appropriately.AmpBox
objects.HTTPChannel
expects of Request
.IRequest.write
,
for example for compression purpose._IRequestEncoder
instances.IAgentEndpointFactory
provides a way of constructing an endpoint used for outgoing Agent
requests. This is useful in the case of needing to proxy outgoing
connections, or to otherwise vary the transport used.IRequest
objects
that does not take a ``queued`` parameter.IRenderable
is an
object that may be rendered by the twisted.web.template
templating system.twisted.web.template.Element
's
loader
attribute._IRequestEncoderFactory
.