Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/twisted/twisted
/ types & classes
Types & classes
5,428 in github.com/twisted/twisted
⨍
Functions
25,749
◇
Types & classes
5,428
↳
Endpoints
28
↓ 344 callers
Class
Deferred
This is a callback which will be put off until later. Why do we want this? Well, in cases where a function in a threaded program would b
src/twisted/internet/defer.py:382
↓ 284 callers
Class
StringTransport
A transport implementation which buffers data in memory and keeps track of its other state without providing any behavior. L{StringTrans
src/twisted/internet/testing.py:167
↓ 259 callers
Class
FilePath
I am a path on the filesystem that only permits 'downwards' access. Instantiate me with a pathname (for example, FilePath('/home/myuser/
src/twisted/python/filepath.py:752
↓ 232 callers
Class
Failure
A basic abstraction for an error that has occurred. This is necessary because Python's built-in error mechanisms are inconvenient for as
src/twisted/python/failure.py:225
↓ 123 callers
Class
Clock
Provide a deterministic, easily-controlled implementation of L{IReactorTime.callLater}. This is commonly useful for writing deterministi
src/twisted/internet/task.py:759
↓ 105 callers
Class
DummyChannel
src/twisted/web/test/requesthelper.py:45
↓ 105 callers
Class
DummyRequest
Represents a dummy or fake request. See L{twisted.web.server.Request}. @ivar _finishedDeferreds: L{None} or a C{list} of L{Deferreds} which
src/twisted/web/test/requesthelper.py:186
↓ 92 callers
Class
Logger
A L{Logger} emits log messages to an observer. You should instantiate it as a class or module attribute, as documented in L{this module's
src/twisted/logger/_logger.py:102
↓ 84 callers
Class
Headers
Stores HTTP headers in a key and multiple value format. When passed L{str}, header names (e.g. 'Content-Type') are encoded using ISO-885
src/twisted/web/http_headers.py:40
↓ 74 callers
Class
MemoryReactor
A fake reactor to be used in tests. This reactor doesn't actually do much that's useful yet. It accepts TCP connection setup attempts, but
src/twisted/internet/testing.py:481
↓ 67 callers
Class
Request
A L{Request} instance describes an HTTP request to be sent to an HTTP server. @ivar method: See L{__init__}. @ivar uri: See L{__init
src/twisted/web/_newclient.py:660
↓ 54 callers
Class
H2Connection
A class representing a single HTTP/2 connection. This implementation of L{IProtocol} works hand in hand with L{H2Stream}. This is becaus
src/twisted/web/_http2.py:54
↓ 53 callers
Class
IPv4Address
An L{IPv4Address} represents the address of an IPv4 socket endpoint. @ivar type: A string describing the type of transport, either 'TCP' or
src/twisted/internet/address.py:23
↓ 49 callers
Class
Factory
This is a factory which produces protocols. By default, buildProtocol will create a protocol of the class given in self.protocol.
src/twisted/internet/protocol.py:61
↓ 44 callers
Class
SkipTest
src/twisted/trial/test/test_pyunitcompat.py:233
↓ 37 callers
Class
FakeyMessage
src/twisted/mail/test/test_imap.py:5534
↓ 37 callers
Class
FrameFactory
A class containing lots of helper methods and state to build frames. This allows test cases to easily build correct HTTP/2 frames to feed to
src/twisted/web/test/test_http2.py:60
↓ 35 callers
Class
MyServerFactory
Server factory which creates L{AccumulatingProtocol} instances.
src/twisted/test/test_tcp.py:147
↓ 34 callers
Class
StringTransportWithDisconnection
A L{StringTransport} which on disconnection will trigger the connection lost on the attached protocol.
src/twisted/internet/testing.py:326
↓ 34 callers
Class
TLSMemoryBIOFactory
L{TLSMemoryBIOFactory} adds TLS to connections. @ivar _creatorCallable: A callable for creating an L{OpenSSL.SSL.Connection} from a
src/twisted/protocols/tls.py:755
↓ 33 callers
Class
Protocol
This is the base class for streaming connection-oriented protocols. If you are going to write a new connection-oriented protocol for Twisted
src/twisted/internet/protocol.py:567
↓ 33 callers
Class
ServerFactory
Subclass this to indicate that your protocol.Factory is only usable for servers.
src/twisted/internet/protocol.py:520
↓ 32 callers
Class
HTTPClientParser
An HTTP parser which only handles HTTP responses. @ivar request: The request with which the expected response is associated. @type reque
src/twisted/web/_newclient.py:340
↓ 31 callers
Class
SerialNumber
An RFC1982 Serial Number. This class implements RFC1982 DNS Serial Number Arithmetic. SNA is used in DNS and specifically in DNSSEC as
src/twisted/names/_rfc1982.py:27
↓ 29 callers
Class
DeferredList
L{DeferredList} is a tool for collecting the results of several Deferreds. This tracks a list of L{Deferred}s for their results, and makes a
src/twisted/internet/defer.py:1442
↓ 28 callers
Class
Command
src/twisted/mail/imap4.py:507
↓ 27 callers
Class
MyClientFactory
Client factory which creates L{AccumulatingProtocol} instances.
src/twisted/test/test_tcp.py:153
↓ 26 callers
Class
TwistOptions
Command line options for C{twist}.
src/twisted/application/twist/_options.py:41
↓ 25 callers
Class
ClientFactory
A Protocol factory for clients. This can be used together with the various connectXXX methods in reactors.
src/twisted/internet/protocol.py:178
↓ 25 callers
Class
PIDFile
Concrete implementation of L{IPIDFile}. This implementation is presently not supported on non-POSIX platforms. Specifically, calling L{P
src/twisted/application/runner/_pidfile.py:88
↓ 25 callers
Class
TrivialProcessProtocol
Simple process protocol for tests purpose. @ivar outData: data received from stdin @ivar errData: data received from stderr
src/twisted/test/test_process.py:178
↓ 25 callers
Class
XPathQuery
src/twisted/words/xish/xpath.py:278
↓ 24 callers
Class
IPv6Address
An L{IPv6Address} represents the address of an IPv6 socket endpoint. @ivar type: A string describing the type of transport, either 'TCP' or
src/twisted/internet/address.py:45
↓ 24 callers
Class
UsernamePassword
A trivial implementation of L{IUsernamePassword}, containing a username and a password.
src/twisted/cred/credentials.py:479
↓ 23 callers
Class
Name
A name in the domain name system, made up of multiple labels. For example, I{twistedmatrix.com}. @ivar name: A byte string giving the n
src/twisted/names/dns.py:630
↓ 22 callers
Class
AlternateReactor
A context manager which temporarily installs a different object as the global reactor.
src/twisted/internet/test/modulehelpers.py:45
↓ 22 callers
Class
ConnectionDone
src/twisted/internet/error.py:216
↓ 22 callers
Class
LogPublisher
I{ILogObserver} that fans out events to other observers. Keeps track of a set of L{ILogObserver} objects and forwards events to each.
src/twisted/logger/_observer.py:25
↓ 22 callers
Class
Portal
A mediator between clients and a realm. A portal is associated with one Realm and zero or more credentials checkers. When a login is att
src/twisted/cred/portal.py:66
↓ 22 callers
Class
TestChannel
A mocked-up version of twisted.conch.ssh.channel.SSHChannel. @ivar gotOpen: True if channelOpen has been called. @type gotOpen: L{bool}
src/twisted/conch/test/test_connection.py:28
↓ 22 callers
Class
_FakeReactor
src/twisted/test/test_task.py:996
↓ 21 callers
Class
RRHeader
A resource record header. @cvar fmt: L{str} specifying the byte format of an RR. @ivar name: The name about which this reply contains i
src/twisted/names/dns.py:1070
↓ 21 callers
Class
XMLString
An L{ITemplateLoader} that loads and parses XML from a string.
src/twisted/web/_template_util.py:623
↓ 20 callers
Class
DatagramProtocol
Protocol for datagram-oriented transport, e.g. UDP. @type transport: L{None} or L{IUDPTransport<twisted.internet.interfaces.IUDPTran
src/twisted/internet/protocol.py:797
↓ 19 callers
Class
DummyChannel
A dummy HTTP channel, that does nothing but holds a transport and saves connection lost. @ivar transport: the transport used by the clie
src/twisted/web/test/test_proxy.py:105
↓ 19 callers
Class
HTTP11ClientProtocol
L{HTTP11ClientProtocol} is an implementation of the HTTP 1.1 client protocol. It supports as few features as possible. @ivar _parser: A
src/twisted/web/_newclient.py:1427
↓ 19 callers
Class
MemoryReactorClock
src/twisted/internet/testing.py:846
↓ 19 callers
Class
MessageSet
A set of message identifiers usable by both L{IMAP4Client} and L{IMAP4Server} via L{IMailboxIMAP.store} and L{IMailboxIMAP.fetch}. T
src/twisted/mail/imap4.py:130
↓ 18 callers
Class
Response
A L{Response} instance describes an HTTP response received from an HTTP server. L{Response} should not be subclassed or instantiated.
src/twisted/web/_newclient.py:1071
↓ 18 callers
Class
UnauthorizedLogin
The user was not authorized to log in.
src/twisted/cred/error.py:19
↓ 17 callers
Class
ConnectionLost
src/twisted/internet/error.py:191
↓ 17 callers
Class
GenericError
src/twisted/test/test_defer.py:66
↓ 17 callers
Class
UNIXAddress
Object representing a UNIX socket endpoint. @ivar name: The filename associated with this socket.
src/twisted/internet/address.py:97
↓ 17 callers
Class
URL
A SIP URL.
src/twisted/protocols/sip.py:302
↓ 16 callers
Class
MockTransportBase
A base class for the client and server protocols. Stores the messages it receives instead of ignoring them. @ivar errors: a list of tup
src/twisted/conch/test/test_transport.py:98
↓ 16 callers
Class
Platform
Gives us information about the platform we're running on.
src/twisted/python/runtime.py:36
↓ 15 callers
Class
AccumulatingProtocol
L{AccumulatingProtocol} is an L{IProtocol} implementation which collects the data delivered to it and can fire a Deferred when it is connecte
src/twisted/internet/testing.py:85
↓ 15 callers
Class
ArbitraryException
A unique, arbitrary exception type which L{twisted.web._newclient} knows nothing about.
src/twisted/web/test/test_newclient.py:67
↓ 15 callers
Class
FixedResponseUI
src/twisted/conch/test/test_endpoints.py:175
↓ 15 callers
Class
Options
Define the options accepted by the I{twistd web} plugin.
src/twisted/web/tap.py:22
↓ 15 callers
Class
Server
src/twisted/test/test_udp.py:88
↓ 15 callers
Class
ServerTLSContext
SSL Context Factory for server-side connections.
src/twisted/test/ssl_helpers.py:42
↓ 15 callers
Class
StubHTTPProtocol
A protocol like L{HTTP11ClientProtocol} but which does not actually know HTTP/1.1 and only collects requests in a list. @ivar requests:
src/twisted/web/test/test_agent.py:115
↓ 14 callers
Class
BadKeyError
Raised when a key isn't what we expected from it. XXX: we really need to check for bad keys
src/twisted/conch/ssh/keys.py:59
↓ 14 callers
Class
DummyProducer
Very uninteresting producer implementation used by tests to ensure the right methods are called by the consumer with which it is registered.
src/twisted/test/test_internet.py:1163
↓ 14 callers
Class
Element
Represents an XML element node. An Element contains a series of attributes (name/value pairs), content (character data), and other child Elem
src/twisted/words/xish/domish.py:323
↓ 14 callers
Class
FileNotFoundError
Raised when trying to access a non existent file or directory.
src/twisted/protocols/ftp.py:299
↓ 14 callers
Class
HAProxyWrappingFactory
The tests below make a bunch of type assumptions that gradually stricter typing has revealed to be unsupported, so let's ignore them for now.
src/twisted/protocols/haproxy/test/test_wrapper.py:17
↓ 14 callers
Class
IllegalClientResponse
src/twisted/mail/_except.py:15
↓ 14 callers
Class
MockCipher
A mocked-up version of twisted.conch.ssh.transport.SSHCiphers.
src/twisted/conch/test/test_transport.py:167
↓ 14 callers
Class
TagLoader
An L{ITemplateLoader} that loads an existing flattenable object.
src/twisted/web/_template_util.py:799
↓ 14 callers
Class
XMLFile
An L{ITemplateLoader} that loads and parses XML from a file.
src/twisted/web/_template_util.py:817
↓ 14 callers
Class
_ContinuousPolling
Schedule reads and writes based on the passage of time, rather than notification. This is useful for supporting polling filesystem files
src/twisted/internet/posixbase.py:509
↓ 13 callers
Class
DelayedCall
src/twisted/internet/base.py:77
↓ 13 callers
Class
EventDispatcher
Event dispatching service. The C{EventDispatcher} allows observers to be registered for certain events that are dispatched. There are tw
src/twisted/words/xish/utility.py:121
↓ 13 callers
Class
FileBodyProducer
L{FileBodyProducer} produces bytes from an input file object incrementally and writes them to a consumer. Since file-like objects cannot
src/twisted/web/client.py:516
↓ 13 callers
Class
KnownHostsFile
A structured representation of an OpenSSH-format ~/.ssh/known_hosts file. @ivar _added: A list of L{IKnownHostEntry} providers which have be
src/twisted/conch/client/knownhosts.py:337
↓ 13 callers
Class
LoggingFile
File-like object that turns C{write()} calls into logging events. Note that because event formats are L{str}, C{bytes} received via C{write(
src/twisted/logger/_io.py:24
↓ 13 callers
Class
NoResponseDNSServerFactory
A L{server.DNSServerFactory} subclass which does not attempt to reply to any received messages. Used for testing logged messages in C{me
src/twisted/names/test/test_server.py:36
↓ 13 callers
Class
NoopProtocol
A partial fake L{dns.DNSProtocolMixin} with a noop L{writeMessage} method.
src/twisted/names/test/test_server.py:122
↓ 13 callers
Class
Record_A
An IPv4 host address. @type address: L{bytes} @ivar address: The packed network-order representation of the IPv4 address associa
src/twisted/names/dns.py:1334
↓ 13 callers
Class
Resource
Define a web-accessible resource. This serves two main purposes: one is to provide a standard representation for what HTTP specification
src/twisted/web/resource.py:110
↓ 13 callers
Class
StringProducer
L{StringProducer} is a dummy body producer. @ivar stopped: A flag which indicates whether or not C{stopProducing} has been called.
src/twisted/web/test/test_newclient.py:1958
↓ 13 callers
Class
TCP4ClientEndpoint
TCP client endpoint with an IPv4 configuration.
src/twisted/internet/endpoints.py:614
↓ 12 callers
Class
Comparable
Objects that can be compared to each other, but not others.
src/twisted/test/test_compat.py:198
↓ 12 callers
Class
ConchOptions
src/twisted/conch/client/options.py:13
↓ 12 callers
Class
InMemoryUsernamePasswordDatabaseDontUse
An extremely simple credentials checker. This is only of use in one-off test programs or examples which don't want to focus too much on
src/twisted/cred/checkers.py:87
↓ 12 callers
Class
Server
A simple server factory using L{EchoProtocol}.
src/twisted/test/test_policies.py:64
↓ 12 callers
Class
UserDatabase
L{UserDatabase} holds a traditional POSIX user data in memory and makes it available via the same API as L{pwd}. @ivar _users: A C{list}
src/twisted/python/fakepwd.py:54
↓ 11 callers
Class
Accumulator
Accumulate data from a process.
src/twisted/test/test_process.py:952
↓ 11 callers
Class
CallbackTracker
Test helper for tracking callbacks. Increases a counter on each call to L{call} and stores the object passed in the call.
src/twisted/words/test/test_xishutil.py:17
↓ 11 callers
Class
CapturedError
A captured error for use in format tests.
src/twisted/logger/test/test_format.py:436
↓ 11 callers
Class
Data
This is a static, in-memory resource.
src/twisted/web/static.py:42
↓ 11 callers
Class
DummyXMPPHandler
Dummy XMPP subprotocol handler to count the methods are called on it.
src/twisted/words/test/test_jabberxmlstream.py:921
↓ 11 callers
Class
Element
Base for classes which can render part of a page. An Element is a renderer that can be embedded in a stan document and can hook its temp
src/twisted/web/_element.py:135
↓ 11 callers
Class
FakeDaemonizingReactor
A dummy reactor, providing C{beforeDaemonize} and C{afterDaemonize} methods, announcing this, and logging whether the methods have been calle
src/twisted/test/test_twistd.py:1093
↓ 11 callers
Class
ProcessDone
src/twisted/internet/error.py:270
↓ 11 callers
Class
Runner
Twisted application runner. @cvar _log: The logger attached to this class. @ivar _reactor: The reactor to start and run the application
src/twisted/application/runner/_runner.py:33
↓ 11 callers
Class
ServiceMaker
Utility class to simplify the definition of L{IServiceMaker} plugins.
src/twisted/application/service.py:64
↓ 11 callers
Class
Site
A web site: manage log, sessions, and resources. @ivar requestFactory: A factory which is called with (channel) and creates L{Reques
src/twisted/web/server.py:773
next →
1–100 of 5,428, ranked by callers