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
↓ 11 callers
Method
setComponent
Cache a provider of the given interface.
src/twisted/python/components.py:213
↓ 11 callers
Method
setResponseCode
Set the HTTP status response code, but takes care that this is called before any data is written.
src/twisted/web/test/requesthelper.py:359
↓ 11 callers
Method
statistics
Gather information on the current status of this L{Team}. @return: a L{Statistics} describing the current state of this L{Team}.
src/twisted/_threads/_team.py:109
↓ 11 callers
Method
stopReading
Compatibility only, don't use. Call pauseProducing.
src/twisted/internet/_posixstdio.py:168
↓ 11 callers
Method
toResponse
Construct error response stanza. The C{stanza} is transformed into an error response stanza by swapping the C{to} and C{from
src/twisted/words/protocols/jabber/error.py:203
↓ 11 callers
Function
toSegments
Normalize a path, as represented by a list of strings each representing one segment of the path.
src/twisted/protocols/ftp.py:204
↓ 11 callers
Method
touch
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 no
src/twisted/python/filepath.py:1447
↓ 11 callers
Method
verifyHostKey
(self, key, fp)
src/twisted/conch/test/test_ssh.py:445
↓ 11 callers
Function
w
(s)
src/twisted/web/microdom.py:84
↓ 11 callers
Method
wait
(self, request, tag)
docs/web/howto/listings/wait_for_it.py:23
↓ 11 callers
Method
walk
Yield myself, then each of my children, and each of those children's children in turn. The optional argument C{descend} is a
src/twisted/python/filepath.py:468
↓ 11 callers
Method
warn
Notify the user (non-interactively) of the provided text, by writing it to the console. @param text: Some information the us
src/twisted/conch/client/knownhosts.py:607
↓ 11 callers
Method
write
(self, *a, **kw)
src/twisted/trial/reporter.py:79
↓ 10 callers
Method
_assertBuffer
(self, lines)
src/twisted/conch/test/test_recvline.py:473
↓ 10 callers
Method
_path
(self, path)
src/twisted/protocols/ftp.py:2029
↓ 10 callers
Function
_prepareMailboxName
(name)
src/twisted/mail/imap4.py:4844
↓ 10 callers
Method
_removeAll
Remove all readers and writers, and list of removed L{IReadDescriptor}s and L{IWriteDescriptor}s. Meant for calling from sub
src/twisted/internet/posixbase.py:412
↓ 10 callers
Method
_serverTestImpl
(self, code, msg, func, **kw)
src/twisted/words/test/test_irc.py:1120
↓ 10 callers
Method
_simpleCommandTest
(self, cmdName)
src/twisted/conch/test/test_telnet.py:166
↓ 10 callers
Method
abortConnection
Aborts the connection immediately, dropping any buffered data. @since: 11.1
src/twisted/internet/tcp.py:197
↓ 10 callers
Method
addSkip
(self, test, skip)
src/twisted/trial/test/test_reporter.py:1399
↓ 10 callers
Method
append
()
src/twisted/mail/test/test_mail.py:471
↓ 10 callers
Method
assertNotIn
( # type: ignore[override] self, container: str, containee: str, *args: object, **kwargs: object
src/twisted/trial/test/test_output.py:62
↓ 10 callers
Method
beginLoggingTo
Begin logging to the given set of observers. This will: 1. Add all the observers given in C{observers} to the L{
src/twisted/logger/_global.py:114
↓ 10 callers
Method
buildProtocol
( self, addr: IAddress | None )
src/twisted/web/http.py:3429
↓ 10 callers
Method
callLater
Wrapper around L{reactor.callLater<twisted.internet.interfaces.IReactorTime.callLater>} for test purpose.
src/twisted/protocols/policies.py:638
↓ 10 callers
Method
cancel
Cancel this L{DeferredList}. If the L{DeferredList} hasn't fired yet, cancel every L{Deferred} in the list. If the
src/twisted/internet/defer.py:1566
↓ 10 callers
Method
chainDeferred
Chain another L{Deferred} to this L{Deferred}. This method adds callbacks to this L{Deferred} to call C{d}'s callback or err
src/twisted/internet/defer.py:831
↓ 10 callers
Method
check
Make sure that the internal buffer equals a specified value. @param s: the value to compare against buffer @type s: L{bytes}
src/twisted/words/test/test_irc.py:1513
↓ 10 callers
Method
check
Tell the server to perform a checkpoint This command is allowed in the Selected state. @rtype: L{Deferred} @return:
src/twisted/mail/imap4.py:3514
↓ 10 callers
Method
clearBuffer
Clear any buffered data received from stdout. Should be private.
src/twisted/conch/test/test_cftp.py:789
↓ 10 callers
Method
close
(self)
src/twisted/conch/ssh/filetransfer.py:905
↓ 10 callers
Method
close
Close the file.
src/twisted/web/http.py:3307
↓ 10 callers
Method
copyTo
Copy the contents of this dirdbm to the dirdbm at C{path}. @param path: The path of the dirdbm to copy to. If a dirdbm exis
src/twisted/persisted/dirdbm.py:266
↓ 10 callers
Method
create
Create and return a new L{SSHCommandClientEndpoint} to be tested. Override this to implement creation in an interesting way the endpo
src/twisted/conch/test/test_endpoints.py:305
↓ 10 callers
Method
currentLineBuffer
(self)
src/twisted/conch/recvline.py:400
↓ 10 callers
Method
dataReceived
Either parse incoming data as L{AmpBox}es or relay it to our nested protocol.
src/twisted/protocols/amp.py:2362
↓ 10 callers
Function
deprecated
Return a decorator that marks callables as deprecated. To deprecate a property, see L{deprecatedProperty}. @type version: L{incremental.
src/twisted/python/deprecate.py:273
↓ 10 callers
Method
do
(self, option)
src/twisted/conch/telnet.py:503
↓ 10 callers
Method
doStart
Make sure startFactory is called. Users should not call this function themselves!
src/twisted/internet/protocol.py:105
↓ 10 callers
Function
exit
Exit the python interpreter with the given status and an optional message. @param status: An exit status. An appropriate value from L{ExitSt
src/twisted/application/runner/_exit.py:84
↓ 10 callers
Method
finishConnection
Do any remaining work necessary to complete an in-memory connection attempted initiated using C{self.reactor}.
src/twisted/conch/test/test_endpoints.py:330
↓ 10 callers
Method
fromEnvironment
@param environ: A dictionary-like object to inspect to discover inherited descriptors. By default, L{None}, indicating that the
src/twisted/python/systemd.py:48
↓ 10 callers
Method
fromStr
Decode a byte string in the format described by RFC 1035 into this L{Message}. @param str: L{bytes}
src/twisted/names/dns.py:2883
↓ 10 callers
Method
fromStr
Fake fromStr method which raises the arguments it was passed. @param args: positional arguments @par
src/twisted/names/test/test_dns.py:4231
↓ 10 callers
Method
getAttrs
(self)
src/twisted/conch/test/test_cftp.py:369
↓ 10 callers
Method
getChild
(self, path: bytes, request: IRequest)
src/twisted/web/test/test_resource.py:139
↓ 10 callers
Method
getContent
(self)
src/twisted/internet/test/test_endpoints.py:4214
↓ 10 callers
Method
getDelayedCalls
See L{twisted.internet.interfaces.IReactorTime.getDelayedCalls}
src/twisted/internet/task.py:806
↓ 10 callers
Method
getErrors
Return a list of errors caught by this observer.
src/twisted/trial/_synctest.py:890
↓ 10 callers
Method
getSubject
Retrieve the subject of this certificate. @return: A copy of the subject of this certificate. @rtype: L{DistinguishedName}
src/twisted/internet/_sslverify.py:266
↓ 10 callers
Method
getTracebackObject
Get an object that represents this Failure's stack that can be passed to traceback.extract_tb. If the original traceback obj
src/twisted/python/failure.py:545
↓ 10 callers
Method
getpass
(prompt)
src/twisted/conch/test/test_default.py:212
↓ 10 callers
Method
hasChildNodes
(self)
src/twisted/web/microdom.py:211
↓ 10 callers
Method
hasHostKey
Check for an entry with matching hostname and key. @param hostname: A hostname or IP address literal to check for. @param k
src/twisted/conch/client/knownhosts.py:406
↓ 10 callers
Method
index
(self)
src/twisted/conch/insults/helper.py:249
↓ 10 callers
Method
inheritedDescriptors
@return: The configured descriptors.
src/twisted/python/systemd.py:93
↓ 10 callers
Method
install
()
src/twisted/test/test_application.py:750
↓ 10 callers
Method
legacyEvent
Return a basic old-style event as would be created by L{legacyLog.msg}. @param message: a message event value in the legacy event fo
src/twisted/logger/test/test_legacy.py:288
↓ 10 callers
Method
list
Send a LIST command to retrieve the size of a message or, if no message is specified, the sizes of all messages. @type i: L{
src/twisted/mail/pop3.py:1636
↓ 10 callers
Method
loadClass
Given a class which contains test cases, return a list of L{TestCase}s. @param klass: The class to load tests from.
src/twisted/trial/runner.py:529
↓ 10 callers
Method
lookupIPV6Address
Read any IPv6 addresses from C{self.file} and return them as L{Record_AAAA} instances.
src/twisted/names/hosts.py:139
↓ 10 callers
Function
loopbackAsync
Establish a connection between C{server} and C{client} then transfer data between them until the connection is closed. This is often useful f
src/twisted/protocols/loopback.py:139
↓ 10 callers
Method
makeFlattenerError
(self, roots: list[object] = [])
src/twisted/web/test/test_error.py:275
↓ 10 callers
Method
makeService
(self)
src/twisted/application/service.py:80
↓ 10 callers
Function
mktime
Call L{mktime_real}, and if it raises L{OverflowError}, catch it and raise SkipTest instead. @param t9: A time as a 9-item tuple. @t
src/twisted/python/test/test_tzhelper.py:31
↓ 10 callers
Function
passivemode_msg
Construct a passive mode message with the correct encoding @param protocol: the FTP protocol from which to base the encoding @param host
src/twisted/test/test_ftp.py:104
↓ 10 callers
Method
proxy
Return a new xmlrpc.Proxy for the test site created in setUp(), using the given factory as the queryFactory, or self.queryFac
src/twisted/web/test/test_xmlrpc.py:312
↓ 10 callers
Function
publishToNewObserver
Publish an old-style (L{twisted.python.log}) event to a new-style (L{twisted.logger}) observer. @note: It's possible that a new-style ev
src/twisted/logger/_legacy.py:95
↓ 10 callers
Method
raisesException
(self, exception=None)
src/twisted/trial/test/test_assertions.py:1218
↓ 10 callers
Method
registerChecker
(self, checker, *credentialInterfaces)
src/twisted/conch/checkers.py:321
↓ 10 callers
Method
registerProducer
From abstract.FileDescriptor
src/twisted/test/iosim.py:127
↓ 10 callers
Method
removeTrigger
Remove a trigger by its handle from the reactor and from C{self.triggers}.
src/twisted/test/test_internet.py:368
↓ 10 callers
Method
resolve
Map this alias to its ultimate destination. @type aliasmap: L{dict} mapping L{bytes} to L{AliasBase} @param aliasmap: A mapp
src/twisted/mail/alias.py:153
↓ 10 callers
Function
run
()
src/twisted/scripts/trial.py:668
↓ 10 callers
Method
run
()
src/twisted/internet/test/test_defer_await.py:48
↓ 10 callers
Method
runAsync
Spawn local worker processes and load tests. After that, run them. @param suite: A test or suite to be run. @param untilFai
src/twisted/trial/_dist/disttrial.py:369
↓ 10 callers
Method
runCommand
Run the given command with the cftp client. Return a C{Deferred} that fires when the command is complete. Payload is the server's out
src/twisted/conch/test/test_cftp.py:990
↓ 10 callers
Method
run_PASS
Test a login with PASS. If L{real_user} matches L{tried_user} and L{real_password} matches L{tried_password}, a successful l
src/twisted/mail/test/test_pop3.py:608
↓ 10 callers
Method
sendHello
(self, text)
src/twisted/test/test_amp.py:92
↓ 10 callers
Method
sendPacket
(self, kind, data)
src/twisted/conch/ssh/filetransfer.py:33
↓ 10 callers
Function
sendmsg
Send a message on a socket. @param socket: The socket to send the message on. @param data: Bytes to write to the socket. @param anci
src/twisted/python/sendmsg.py:19
↓ 10 callers
Method
setHandlerParent
Set the parent of the handler. @type parent: L{IXMPPHandlerCollection}
src/twisted/words/protocols/jabber/ijabber.py:67
↓ 10 callers
Method
setLastModified
Set the C{Last-Modified} time for the response to this request. If I am called more than once, I ignore attempts to set Last
src/twisted/web/http.py:1480
↓ 10 callers
Method
setupEnvironment
(self, chroot, rundir, nodaemon, umask, pidfile)
src/twisted/test/test_twistd.py:567
↓ 10 callers
Method
setupStreamingProducer
Create a new client-side protocol that is connected to a remote TLS server. @param serverMethod: The TLS method accepted by the serv
src/twisted/protocols/test/test_tls.py:1156
↓ 10 callers
Method
start
Start running function every interval seconds. @param interval: The number of seconds between calls. May be less than one.
src/twisted/internet/task.py:168
↓ 10 callers
Method
startListening
Create and bind my socket, and begin listening on it. This is called on unserialization, and must be called after creating a
src/twisted/internet/udp.py:178
↓ 10 callers
Method
startServer
(self, cgi)
src/twisted/web/test/test_cgi.py:103
↓ 10 callers
Method
startTLS
Initiates a 'STARTTLS' request and negotiates the TLS / SSL Handshake. @param contextFactory: The TLS / SSL Context Factory
src/twisted/mail/imap4.py:2816
↓ 10 callers
Function
textFromEventDict
Extract text from an event dict passed to a log observer. If it cannot handle the dict, it returns None. The possible keys of eventDict
src/twisted/python/log.py:402
↓ 10 callers
Method
unlink
Override C{os.unlink}. Save the action. @param filename: The file name to remove.
src/twisted/test/test_process.py:1596
↓ 10 callers
Method
unregisterProducer
(self)
src/twisted/web/test/requesthelper.py:139
↓ 10 callers
Method
write
Fake C{os.write}. Save action.
src/twisted/test/test_process.py:1389
↓ 10 callers
Method
writeSequence
(self, iovec)
src/twisted/test/iosim.py:143
↓ 9 callers
Function
MP
(number: int)
src/twisted/conch/ssh/common.py:44
↓ 9 callers
Method
__init__
(self, name, allowNone=1, shortDesc=None, longDesc=None, hints=None)
src/twisted/python/formmethod.py:324
↓ 9 callers
Method
_description
(self, optName)
src/twisted/python/usage.py:598
↓ 9 callers
Method
_download
Download file. @param command: command to run @param chainDeferred: L{Deferred} used to queue commands. @return: L{D
src/twisted/test/test_ftp.py:1108
↓ 9 callers
Function
_getFileActions
Get the C{file_actions} parameter for C{posix_spawn} based on the parameters describing the current process state. @param fdState: A lis
src/twisted/internet/process.py:637
← previous
next →
701–800 of 25,749, ranked by callers