Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/twisted/twisted
/ functions
Functions
25,749 in github.com/twisted/twisted
⨍
Functions
25,749
◇
Types & classes
5,428
↳
Endpoints
28
↓ 17 callers
Method
__bytes__
Return a byte string representation of the channel
src/twisted/conch/ssh/channel.py:93
↓ 17 callers
Method
_fetchWork
(self, uid)
src/twisted/mail/test/test_imap.py:6017
↓ 17 callers
Method
appendChild
Make the given L{Node} the last child of this node. @param child: The L{Node} which will become a child of this node. @rais
src/twisted/web/microdom.py:217
↓ 17 callers
Method
callFromThread
See L{twisted.internet.interfaces.IReactorFromThreads.callFromThread}.
src/twisted/internet/base.py:1129
↓ 17 callers
Method
cancel
(d: Deferred[object])
src/twisted/test/test_defer.py:2330
↓ 17 callers
Method
cancel
(it)
src/twisted/internet/test/test_inlinecb.py:1503
↓ 17 callers
Method
check
Check that the input unparses into the output, raising an assertion error if it doesn't. @param input: an input in endpoint-
src/twisted/protocols/haproxy/test/test_parser.py:29
↓ 17 callers
Method
copy
(self)
src/twisted/python/util.py:202
↓ 17 callers
Method
count
Return the number of opened file descriptors. @return: The number of opened file descriptors; this will be zero if this
src/twisted/internet/test/test_tcp.py:1402
↓ 17 callers
Method
createDirectory
Create a directory in C{path}. @param path: the relative path of the directory to create, with one segment. @typ
src/twisted/test/test_ftp.py:3521
↓ 17 callers
Function
eventAsText
r""" Format an event as text. Optionally, attach timestamp, traceback, and system information. The full output format is: C{"{timeSt
src/twisted/logger/_format.py:357
↓ 17 callers
Method
expanduser
Mock C{os.path.expanduser}.
src/twisted/test/test_process.py:1569
↓ 17 callers
Method
get
(self)
src/twisted/protocols/loopback.py:48
↓ 17 callers
Method
getHeaders
Retrieve a group of message headers. @type names: L{tuple} of L{str} @param names: The names of the headers to retrieve or o
src/twisted/mail/interfaces.py:424
↓ 17 callers
Method
getListeningPort
Get a UDP port from a reactor. @param reactor: A reactor used to build the returned L{IListeningPort} provider.
src/twisted/internet/test/test_udp.py:404
↓ 17 callers
Method
getOptionState
(self, opt)
src/twisted/conch/telnet.py:458
↓ 17 callers
Function
isIPAddress
Determine whether the given string represents an IP address of the given family; by default, an IPv4 address. @param addr: A string whic
src/twisted/internet/abstract.py:533
↓ 17 callers
Method
keys
Return a list of all domain names in this dictionary. @rtype: L{list} of L{bytes} @return: The domain names in this dictiona
src/twisted/mail/mail.py:253
↓ 17 callers
Method
listenTCP
@see: twisted.internet.interfaces.IReactorTCP.listenTCP
src/twisted/internet/iocpreactor/reactor.py:148
↓ 17 callers
Method
makeConnection
Notify L{boxReceiver} that it is about to receive boxes from this protocol by invoking L{IBoxReceiver.startReceivingBoxes}.
src/twisted/protocols/amp.py:2353
↓ 17 callers
Method
makeRequest
Create a L{DummyRequest} (change me to create a L{twisted.web.http.Request} instead).
src/twisted/web/test/test_httpauth.py:122
↓ 17 callers
Method
makeResourceWithContent
Make a L{static.File} resource that has C{content} for its content. @param content: The L{bytes} to use as the contents of the resou
src/twisted/web/test/test_static.py:572
↓ 17 callers
Method
mktemp
Make our own directory.
src/twisted/python/test/test_release.py:57
↓ 17 callers
Method
pump
Move data back and forth. Returns whether any data was moved.
src/twisted/spread/test/test_pb.py:96
↓ 17 callers
Method
registerProducer
Register a producer.
src/twisted/web/http.py:1123
↓ 17 callers
Method
requestFactoryFactory
(self, requestClass=Request)
src/twisted/web/test/test_wsgi.py:294
↓ 17 callers
Method
resetTimeout
Reset the timeout count down. If the connection has already timed out, then do nothing. If the timeout has been cancelled (
src/twisted/protocols/policies.py:648
↓ 17 callers
Method
responder
Declare a method to be a responder for a particular command. This is a decorator. Use like so:: class MyComman
src/twisted/protocols/amp.py:1904
↓ 17 callers
Method
sendError
If an error occurs before a mail message is sent sendError will be called. This base class method sends a QUIT if the error is
src/twisted/mail/smtp.py:1147
↓ 17 callers
Method
signal
(self, sig, action)
src/twisted/test/test_process.py:1221
↓ 17 callers
Method
sshType
Get the type of the object we wrap as defined in the SSH protocol, defined in RFC 4253, Section 6.6 and RFC 8332, section 4 (this is
src/twisted/conch/ssh/keys.py:1062
↓ 17 callers
Method
ssh_USERAUTH_REQUEST
The client has requested authentication. Payload:: string user string next service string method
src/twisted/conch/ssh/userauth.py:169
↓ 17 callers
Method
startService
See L{twisted.application.service.IService}.
src/twisted/application/test/test_service.py:101
↓ 17 callers
Function
str2time
(s: str | bytes | int)
src/twisted/names/dns.py:409
↓ 17 callers
Method
successResponse
Send a response indicating success. @type message: stringifyable L{object} @param message: An object whose string representa
src/twisted/mail/pop3.py:493
↓ 17 callers
Method
touch
Mark the session as modified, which resets expiration timer.
src/twisted/web/server.py:760
↓ 17 callers
Method
write
(self, data)
src/twisted/protocols/test/test_tls.py:390
↓ 17 callers
Method
write
Some data was written to the consumer: stores it for later use. @param data: The data to write.
src/twisted/internet/test/test_testing.py:381
↓ 16 callers
Method
_getFilename
Parse line received as command line input and return first filename together with the remaining line. @param line: Arguments
src/twisted/conch/scripts/cftp.py:851
↓ 16 callers
Method
_openChannel
Open the channel with the default connection.
src/twisted/conch/test/test_connection.py:216
↓ 16 callers
Method
_testwrite
(self, data)
src/twisted/conch/test/test_recvline.py:540
↓ 16 callers
Method
closeStdin
Call this to close standard input on this process.
src/twisted/internet/process.py:1027
↓ 16 callers
Function
cmp
Compare two objects. Returns a negative number if C{a < b}, zero if they are equal, and a positive number if C{a > b}.
src/twisted/python/compat.py:218
↓ 16 callers
Function
deprecatedModuleAttribute
Declare a module-level attribute as being deprecated. @type version: L{incremental.Version} @param version: Version that the attribute w
src/twisted/python/deprecate.py:569
↓ 16 callers
Function
getDivisionFailure
Make a C{Failure} of a divide-by-zero error.
src/twisted/test/test_failure.py:36
↓ 16 callers
Method
getMX
Find the name of a host that acts as a mail exchange server for a domain. @type domain: L{bytes} @param domain: A do
src/twisted/mail/relaymanager.py:963
↓ 16 callers
Method
getProtocol
Return a new instance of C{self.protocol} connected to a new instance of L{proto_helpers.StringTransport}.
src/twisted/protocols/test/test_basic.py:560
↓ 16 callers
Method
getuid
Override C{os.getuid}. Return a dumb number.
src/twisted/test/test_process.py:1495
↓ 16 callers
Method
hasHeader
Check for the existence of a given header. @param name: The name of the HTTP header to check for. @return: C{True} if the h
src/twisted/web/http_headers.py:100
↓ 16 callers
Method
index
(self)
src/twisted/conch/recvline.py:154
↓ 16 callers
Function
installReactor
Install reactor C{reactor}. @param reactor: An object that provides one or more IReactor* interfaces.
src/twisted/internet/main.py:20
↓ 16 callers
Method
iterentries
Iterate over the host entries in this file. @return: An iterable the elements of which provide L{IKnownHostEntry}. There
src/twisted/conch/client/knownhosts.py:375
↓ 16 callers
Method
registerAuthenticator
Registers an Authenticator with the ESMTPClient. The ESMTPClient will attempt to login to the SMTP Server in the order the Authentica
src/twisted/mail/smtp.py:1388
↓ 16 callers
Method
removeObserver
Remove an observer.
src/twisted/python/log.py:233
↓ 16 callers
Method
requestAvatarId
( self, credentials: IUsernamePassword )
src/twisted/cred/checkers.py:311
↓ 16 callers
Method
textFromEventDict
(event: LogEvent)
src/twisted/logger/test/test_legacy.py:330
↓ 16 callers
Method
writeTo
Format this L{Request} as an HTTP/1.1 request and write it to the given transport. If bodyProducer is not None, it will be associate
src/twisted/web/_newclient.py:922
↓ 15 callers
Method
_enabledHelper
(self, o, eL=[], eR=[], dL=[], dR=[])
src/twisted/conch/test/test_telnet.py:395
↓ 15 callers
Method
_loggedInUser
(self, name)
src/twisted/words/test/test_service.py:203
↓ 15 callers
Method
_parseError
(self, message)
src/twisted/web/sux.py:103
↓ 15 callers
Method
_recordRoundtripTest
Assert that encoding C{record} and then decoding the resulting bytes creates a record which compares equal to C{record}. @ty
src/twisted/names/test/test_dns.py:541
↓ 15 callers
Method
add
A non thread-safe method.
src/twisted/test/test_threads.py:223
↓ 15 callers
Method
assertResponseEquals
(self, response, expectedResponse)
src/twisted/web/test/test_http.py:561
↓ 15 callers
Method
buildAgentForWrapperTest
Return an Agent suitable for use in tests that wrap the Agent and want both a fake reactor and StubHTTPProtocol.
src/twisted/web/test/test_agent.py:439
↓ 15 callers
Function
buildRequestBytes
Provides the byte sequence for a collection of HTTP/2 frames representing the provided request. @param headers: The HTTP/2 headers to se
src/twisted/web/test/test_http2.py:235
↓ 15 callers
Method
clear
Remove all items from this dictionary. @rtype: L{None} @return: None.
src/twisted/mail/mail.py:313
↓ 15 callers
Method
connect
(self)
docs/core/howto/listings/pb/chatclient.py:15
↓ 15 callers
Method
createDirectory
Create a directory in C{path}.
src/twisted/test/test_ftp.py:3949
↓ 15 callers
Method
dataReceived
(self, data)
src/twisted/web/test/test_newclient.py:2806
↓ 15 callers
Method
elements
Iterate across all children of this Element that are Elements. Returns a generator over the child elements. If both the C{uri} and
src/twisted/words/xish/domish.py:558
↓ 15 callers
Method
firstChild
(self)
src/twisted/web/microdom.py:295
↓ 15 callers
Method
getAttribute
(self, name, default=None)
src/twisted/web/microdom.py:628
↓ 15 callers
Method
getChildForRequest
Deprecated in favor of L{getChildForRequest}. @see: L{twisted.web.resource.getChildForRequest}.
src/twisted/web/resource.py:210
↓ 15 callers
Method
getPeer
Get information about the peer.
src/twisted/web/_http2.py:1198
↓ 15 callers
Method
getRunner
Create a runner for testing.
src/twisted/trial/_dist/test/test_disttrial.py:369
↓ 15 callers
Method
items
Return a list of all domain name/domain object pairs in this dictionary. @rtype: L{list} of 2-L{tuple} of (E{1}) L{bytes}, (
src/twisted/mail/mail.py:272
↓ 15 callers
Function
justTransportResponse
Helper function for creating a Response which uses the given transport. All of the other parameters to L{Response.__init__} are filled with
src/twisted/web/test/test_newclient.py:153
↓ 15 callers
Method
makeTestCaseClasses
Create a L{SynchronousTestCase} subclass which mixes in C{cls} for each known reactor and return a dict mapping their names to them.
src/twisted/internet/test/reactormixins.py:359
↓ 15 callers
Method
quit
Stop doing work and shut down all idle workers.
src/twisted/_threads/_team.py:222
↓ 15 callers
Method
runReactor
(reactor)
src/twisted/internet/test/test_tcp.py:1689
↓ 15 callers
Method
seconds
()
src/twisted/test/test_internet.py:837
↓ 15 callers
Method
sendRequest
Record the sent channel request.
src/twisted/conch/test/test_session.py:365
↓ 15 callers
Method
sendUntaggedResponse
(self, message, isAsync=None)
src/twisted/mail/imap4.py:1079
↓ 15 callers
Method
service
Create the application service. @param plugin: The name of the plugin that implements the service application to run.
src/twisted/application/twist/_twist.py:44
↓ 15 callers
Method
startService
(self)
src/twisted/test/test_twistd.py:1887
↓ 15 callers
Method
update
Copy (key,value) pairs from 'dict'.
src/twisted/python/util.py:151
↓ 15 callers
Method
whenConnected
Retrieve the currently-connected L{Protocol}, or the next one to connect. @param failAfterFailures: number of connection fai
src/twisted/application/_client_service.py:92
↓ 15 callers
Method
write
(self, data)
src/twisted/conch/insults/window.py:44
↓ 14 callers
Method
_examineOrSelect
Issue either an I{EXAMINE} or I{SELECT} command (depending on C{self.method}), assert that the correct bytes are written to the
src/twisted/mail/test/test_imap.py:4641
↓ 14 callers
Method
_response
Deliver the given (unterminated) response lines to C{self.client} and then deliver a tagged SELECT or EXAMINE completion line to fini
src/twisted/mail/test/test_imap.py:4654
↓ 14 callers
Function
_saveKey
Persist a SSH key on local filesystem. @param key: Key which is persisted on local filesystem. @param options: @param inputCollect
src/twisted/conch/scripts/ckeygen.py:319
↓ 14 callers
Method
addReader
(self, reader)
src/twisted/internet/test/test_tcp.py:219
↓ 14 callers
Method
beginFileTransfer
Begin transferring a file @type file: Any file-like object @param file: The file object to read data from @type con
src/twisted/protocols/basic.py:862
↓ 14 callers
Function
buildRequestFrames
Provides a sequence of HTTP/2 frames that encode a single HTTP request. This should be used when you want to control the serialization yourse
src/twisted/web/test/test_http2.py:202
↓ 14 callers
Method
callLater
( self, timeout: float, f: Callable[..., None], *a: object, **kw: object )
src/twisted/conch/test/test_helper.py:459
↓ 14 callers
Function
callback
(result: T)
src/twisted/web/_flatten.py:204
↓ 14 callers
Method
callback
(value: str)
src/twisted/test/test_defer.py:3474
↓ 14 callers
Method
connectTCP
@see: twisted.internet.interfaces.IReactorTCP.connectTCP
src/twisted/internet/iocpreactor/reactor.py:156
↓ 14 callers
Method
createGroup
(self, name)
src/twisted/words/service.py:1216
↓ 14 callers
Method
done
Do nothing. These tests don't care about done.
src/twisted/trial/test/test_runner.py:86
← previous
next →
401–500 of 25,749, ranked by callers