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
↓ 61 callers
Method
blob
Return the public key blob for this key. The blob is the over-the-wire format for public keys. SECSH-TRANS RFC 4253 Section
src/twisted/conch/ssh/keys.py:1227
↓ 61 callers
Method
setTimeout
(self, seconds)
src/twisted/protocols/ftp.py:673
↓ 61 callers
Method
values
@return: a L{list} of file-contents (values).
src/twisted/persisted/dirdbm.py:182
↓ 60 callers
Method
copy
Return another AmpBox just like me.
src/twisted/protocols/amp.py:649
↓ 60 callers
Method
info
Emit a log event at log level L{LogLevel.info}. @param format: a message format using new-style (PEP 3101) formatting. T
src/twisted/logger/_logger.py:298
↓ 59 callers
Method
child
Create and return a new L{FilePath} representing a path contained by C{self}. @param path: The base name of the new L{FilePa
src/twisted/python/filepath.py:917
↓ 59 callers
Method
digest
Return a digest hash of this certificate using the specified hash algorithm. @param method: One of C{'md5'} or C{'sha'}.
src/twisted/internet/_sslverify.py:416
↓ 59 callers
Method
loseConnection
(self)
src/twisted/test/iosim.py:146
↓ 59 callers
Function
succeed
Return a L{Deferred} that has already had C{.callback(result)} called. This is useful when you're writing synchronous code to an asynchr
src/twisted/internet/defer.py:93
↓ 58 callers
Method
fail
Absolutely fail the test. Do not pass go, do not collect $200. @param msg: the message that will be displayed as the reason for the
src/twisted/trial/_synctest.py:360
↓ 58 callers
Method
fail
(self, failure)
src/twisted/web/distrib.py:104
↓ 58 callers
Method
sort
Sort the given things using L{sorter}. @param xs: A list of test cases, class or modules.
src/twisted/trial/runner.py:394
↓ 56 callers
Method
getContent
Retrieve the contents of the file at this path. @return: the contents of the file @rtype: L{bytes}
src/twisted/python/filepath.py:393
↓ 55 callers
Method
makeConnection
Emit a helpful log message when the connection is made.
src/twisted/protocols/amp.py:2587
↓ 54 callers
Method
append
Append given data to the value of an existing key. @param key: The key to modify. @type key: L{bytes} @param val: T
src/twisted/protocols/memcache.py:533
↓ 54 callers
Method
forProtocol
Create a factory for the given protocol. It sets the C{protocol} attribute and returns the constructed factory instance.
src/twisted/internet/protocol.py:75
↓ 54 callers
Method
sendLine
Send a line to data channel. @param line: The line to be sent. @type line: L{bytes}
src/twisted/protocols/ftp.py:466
↓ 53 callers
Method
callLater
Override callLater to use the deterministic clock.
src/twisted/test/test_policies.py:715
↓ 53 callers
Method
callWhenRunning
See twisted.internet.interfaces.IReactorCore.callWhenRunning.
src/twisted/internet/base.py:882
↓ 53 callers
Method
wasSuccessful
Do nothing. These tests don't care about wasSuccessful.
src/twisted/trial/test/test_runner.py:116
↓ 52 callers
Method
dataReceived
This hack is to support mIRC, which sends LF only, even though the RFC says CRLF. (Also, the flexibility of LineReceiver to turn "li
src/twisted/words/protocols/irc.py:412
↓ 52 callers
Method
decode
Create a credentials object from the given response. @type response: L{str} @param response: scheme specific response string
src/twisted/web/iweb.py:434
↓ 52 callers
Method
fail
Disconnect, and also give an error to any queued deferreds.
src/twisted/protocols/ftp.py:2918
↓ 52 callers
Method
getHost
(self)
src/twisted/internet/test/test_unix.py:474
↓ 52 callers
Method
makeConnection
(self, transport)
src/twisted/conch/test/test_telnet.py:36
↓ 51 callers
Method
stop
()
src/twisted/internet/test/test_time.py:52
↓ 50 callers
Method
loseConnection
Pass the loseConnection through to the underlying channel.
src/twisted/web/http.py:1739
↓ 50 callers
Method
makeConnection
(innerSelf, transport)
src/twisted/mail/test/test_smtp.py:995
↓ 49 callers
Method
append
(self, thing)
src/twisted/trial/test/skipping.py:250
↓ 49 callers
Function
getNS
get net string
src/twisted/conch/ssh/common.py:31
↓ 49 callers
Method
lineReceived
(self, line)
src/twisted/mail/test/test_imap.py:1861
↓ 49 callers
Method
value
Render the exception value as a child of C{tag}.
src/twisted/web/_template_util.py:750
↓ 48 callers
Method
failure
Log a failure and emit a traceback. For example:: try: frob(knob) except Exception:
src/twisted/logger/_logger.py:228
↓ 48 callers
Method
fromCoroutine
Schedule the execution of a coroutine that awaits on L{Deferred}s, wrapping it in a L{Deferred} that will fire on success/failure of
src/twisted/internet/defer.py:1273
↓ 48 callers
Method
get
Attempt to retrieve and remove an object from the queue. @return: a L{Deferred} which fires with the next object available in
src/twisted/internet/defer.py:2392
↓ 48 callers
Method
lineReceived
(self, line)
src/twisted/test/test_ftp.py:82
↓ 48 callers
Method
pop
Remove a stream from the memory. @param path: Path at which the stream is requested. @type path: L{str} @param path
src/twisted/conch/test/test_cftp.py:296
↓ 47 callers
Method
callRemote
(self, method, **kwargs)
src/twisted/trial/_dist/test/test_workertrial.py:43
↓ 46 callers
Method
exit
Cause the worker process to exit.
src/twisted/trial/_dist/worker.py:396
↓ 46 callers
Method
isWindows
Are we running in Windows? @return: C{True} if the current platform has been detected as Windows.
src/twisted/python/runtime.py:93
↓ 45 callers
Method
basename
(self)
src/twisted/python/zippath.py:190
↓ 45 callers
Method
callLater
Wrapper around reactor.callLater, mainly for test purpose.
src/twisted/names/dns.py:3275
↓ 45 callers
Method
dataReceived
(self, data)
src/twisted/conch/test/test_conch.py:107
↓ 45 callers
Method
dataReceived
(self, data)
src/twisted/protocols/test/test_tls.py:138
↓ 45 callers
Method
decode
Decode the given response and attempt to generate a L{DigestedCredentials} from it. @type response: L{bytes} @param
src/twisted/cred/credentials.py:370
↓ 45 callers
Function
msg
Publish a message to the global log publisher. @see: L{LogPublisher.msg} @param message: the log message @type mess
src/twisted/python/log.py:336
↓ 45 callers
Method
write
(self, data)
src/twisted/conch/insults/insults.py:852
↓ 44 callers
Method
append
()
src/twisted/mail/test/test_imap.py:2720
↓ 44 callers
Method
seconds
Pretend to be time.time(). This is used internally when an operation such as L{IDelayedCall.reset} needs to determine a time value
src/twisted/internet/task.py:771
↓ 44 callers
Method
unjelly
(self, obj)
src/twisted/spread/jelly.py:647
↓ 44 callers
Method
write
(counter)
src/twisted/conch/test/test_conch.py:447
↓ 43 callers
Method
addObserver
Add a new observer. @type other: Provider of L{ILogObserver} @param other: A callable object that will be called with each n
src/twisted/python/log.py:221
↓ 43 callers
Method
assertIn
( # type: ignore[override] self, container: str, containee: str, *args: object, **kwargs: object
src/twisted/trial/test/test_output.py:55
↓ 43 callers
Method
fail
(eventDict: log.EventDict)
src/twisted/test/test_log.py:283
↓ 43 callers
Method
loseConnection
(self)
src/twisted/protocols/loopback.py:309
↓ 43 callers
Method
registerChecker
( self, checker: ICredentialsChecker, *credentialInterfaces: type[Interface] )
src/twisted/cred/portal.py:98
↓ 42 callers
Method
callback
(ign)
src/twisted/web/test/test_http2.py:1377
↓ 42 callers
Method
read
Do nothing.
src/twisted/python/log.py:670
↓ 41 callers
Method
cancel
(d)
src/twisted/web/xmlrpc.py:587
↓ 41 callers
Method
spawnProcess
See L{IReactorProcess.spawnProcess}. @param workerProto: See L{IReactorProcess.spawnProcess}. @param args: See L{IReactorPro
src/twisted/trial/_dist/test/test_disttrial.py:100
↓ 41 callers
Method
startLogging
Start the L{twisted.logger} logging system.
src/twisted/application/runner/_runner.py:125
↓ 40 callers
Method
assertNormalEqualityImplementation
Assert that C{firstValueOne} is equal to C{secondValueOne} but not equal to C{valueOne} and that it defines equality cooperatively wi
src/twisted/test/testutils.py:130
↓ 40 callers
Function
gatherResults
Returns, via a L{Deferred}, a list with the results of the given L{Deferred}s - in effect, a "join" of multiple deferred operations. The
src/twisted/internet/defer.py:1597
↓ 40 callers
Method
makeConnection
Save the platform-specific socket handle for future introspection.
src/twisted/test/test_tcp.py:1124
↓ 40 callers
Method
request
Capture the given request for later inspection. @return: A L{Deferred} which this code will never fire.
src/twisted/web/test/test_agent.py:129
↓ 40 callers
Method
serialize
(self, elem, closeElement=1, defaultUri="")
src/twisted/words/xish/domish.py:64
↓ 40 callers
Method
stopListening
(self)
src/twisted/internet/udp.py:353
↓ 39 callers
Method
_testLogin
Test the login part.
src/twisted/test/test_ftp.py:2100
↓ 39 callers
Method
get
(self, key)
src/twisted/test/test_postfix.py:112
↓ 39 callers
Method
jelly
(self, obj)
src/twisted/spread/jelly.py:445
↓ 39 callers
Method
sendLine
(self, line)
src/twisted/mail/smtp.py:956
↓ 38 callers
Method
addElement
(self, name, defaultUri=None, content=None)
src/twisted/words/xish/domish.py:530
↓ 38 callers
Function
fail
Return a L{Deferred} that has already had C{.errback(result)} called. See L{succeed}'s docstring for rationale. @param result: The same
src/twisted/internet/defer.py:117
↓ 38 callers
Method
fileno
Return a fake file descriptor. If actually used, this will have no connection to this L{FakeSocket} and will probably cause surprisi
src/twisted/internet/test/test_fakes.py:85
↓ 38 callers
Method
toString
Serialize this header for use in a request or response.
src/twisted/protocols/sip.py:234
↓ 37 callers
Method
callRemote
Asynchronously invoke a remote method. @type _name: L{str} @param _name: the name of the remote method to invoke @p
src/twisted/spread/pb.py:346
↓ 37 callers
Method
cancel
Cancel this L{Deferred}. If the L{Deferred} has not yet had its C{errback} or C{callback} method invoked, call the canceller
src/twisted/internet/defer.py:938
↓ 37 callers
Method
getErrorMessage
Get a string of the exception which caused this Failure.
src/twisted/python/failure.py:562
↓ 36 callers
Method
_emptyBuffers
(self)
src/twisted/conch/test/test_filetransfer.py:147
↓ 36 callers
Method
callback
()
src/twisted/internet/test/test_time.py:106
↓ 36 callers
Method
clientConnectionPreface
(self)
src/twisted/web/test/test_http2.py:73
↓ 36 callers
Method
dataReceived
Called whenever a chunk of data is received from the transport. @param data: The data received from the transport. @type dat
src/twisted/web/_http2.py:168
↓ 36 callers
Method
getGETRequestHeaders
Return a copy of the standard GET request headers.
src/twisted/web/test/test_http2.py:414
↓ 36 callers
Method
sendPacket
Sends a packet. If it's been set up, compress the data, encrypt it, and authenticate it before sending. If key exchange is in progr
src/twisted/conch/ssh/transport.py:627
↓ 35 callers
Method
connect
Return a marker object for use in our assertion.
src/twisted/internet/test/test_endpoints.py:4618
↓ 35 callers
Function
connectedServerAndClient
Returns a 3-tuple: (client, server, pump)
src/twisted/test/test_amp.py:395
↓ 35 callers
Method
error
Emit a log event at log level L{LogLevel.error}. @param format: a message format using new-style (PEP 3101) formatting.
src/twisted/logger/_logger.py:328
↓ 35 callers
Method
gotLength
Called when HTTP channel got length of content in this request. This method is not intended for users. @param length: The l
src/twisted/web/http.py:996
↓ 35 callers
Function
maybeDeferred
( f: Callable[_P, Deferred[_T]], *args: _P.args, **kwargs: _P.kwargs )
src/twisted/internet/defer.py:152
↓ 35 callers
Function
requireModule
Try to import a module given its name, returning C{default} value if C{ImportError} is raised during import. @param name: Module name as
src/twisted/python/reflect.py:176
↓ 35 callers
Function
setUp
(greet=True)
src/twisted/mail/test/test_pop3client.py:47
↓ 35 callers
Method
toxml
( self, indent="", addindent="", newl="", strip=0, nsprefixes={}, namespace="" )
src/twisted/web/microdom.py:194
↓ 34 callers
Method
_anonymousLogin
(self)
src/twisted/test/test_ftp.py:234
↓ 34 callers
Method
add
(self, tagName, **kw)
src/twisted/web/microdom.py:1209
↓ 34 callers
Method
isdir
(self)
src/twisted/python/zippath.py:155
↓ 34 callers
Method
lookupAddress
Read any IPv4 addresses from C{self.file} and return them as L{Record_A} instances.
src/twisted/names/hosts.py:131
↓ 34 callers
Method
makeConnection
(self, xs)
src/twisted/words/test/test_jabberxmlstream.py:931
↓ 34 callers
Method
mktemp
Create a new path name which can be used for a new file or directory. The result is a relative path that is guaranteed to be unique
src/twisted/trial/_synctest.py:1312
↓ 33 callers
Method
assertFlattensImmediately
Assert that a root element, when flattened, is equal to a string, and performs no asynchronus Deferred anything. This versio
src/twisted/web/test/_util.py:53
↓ 33 callers
Method
assertIsNot
Fail the test if C{first} is C{second}. This is an obect-identity-equality test, not an object equality (i.e. C{__eq__}) tes
src/twisted/trial/_synctest.py:457
← previous
next →
101–200 of 25,749, ranked by callers