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
↓ 33 callers
Method
sibling
(self, path: OtherAnyStr)
src/twisted/python/zippath.py:143
↓ 32 callers
Method
dataReceived
(self, bytes)
src/twisted/test/test_amp.py:72
↓ 32 callers
Method
errback
(reason)
src/twisted/web/test/test_http2.py:1380
↓ 32 callers
Method
loseConnection
(self, _connDone=default)
src/twisted/internet/test/test_newtls.py:52
↓ 32 callers
Method
trap
(failure)
src/twisted/conch/test/test_recvline.py:635
↓ 32 callers
Method
update
'Encrypt' new data by doing nothing. @type data: L{bytes} @param data: The data to 'encrypt'. @rtype: L{bytes}
src/twisted/conch/ssh/transport.py:2270
↓ 31 callers
Method
addProcess
Add a new monitored process and start it immediately if the L{ProcessMonitor} service is running. Note that args are passed
src/twisted/runner/procmon.py:240
↓ 31 callers
Method
chmod
Changes the permissions on self, if possible. Propagates errors from L{os.chmod} up. @param mode: integer representing the
src/twisted/python/filepath.py:1118
↓ 31 callers
Method
dataReceived
(self, data)
src/twisted/conch/test/test_telnet.py:44
↓ 31 callers
Method
decode
Create a credentials object from the given response. @type response: C{str}
src/twisted/protocols/sip.py:1036
↓ 31 callers
Method
dispatch
Dispatch an event. When C{event} is L{None}, an XPath type event is triggered, and C{obj} is assumed to be an instance of
src/twisted/words/xish/utility.py:274
↓ 31 callers
Method
getAllRawHeaders
Return an iterator of key, value pairs of all headers contained in this object, as L{bytes}. The keys are capitalized in canonical
src/twisted/web/http_headers.py:191
↓ 31 callers
Method
makeReconnector
Create a L{ClientService} along with a L{ConnectInformation} indicating the connections in progress on its endpoint. @param
src/twisted/application/test/test_internet.py:515
↓ 31 callers
Function
namedAny
Retrieve a Python object by its fully qualified name from the global Python module namespace. The first part of the name, that describes a m
src/twisted/python/reflect.py:249
↓ 31 callers
Method
remove
(observer)
src/twisted/test/test_twistd.py:1567
↓ 30 callers
Method
addObserver
Register an observer for an event. Each observer will be registered with a certain priority. Higher priority observers get c
src/twisted/words/xish/utility.py:194
↓ 30 callers
Method
bind
Bind, possibly raising an error in the process. @see: L{SocketState.raiseOnBind}
src/twisted/internet/test/test_fakes.py:93
↓ 30 callers
Method
get
Look up a domain name in this dictionary. @type key: L{bytes} @param key: A domain name. @type default: L{IDomain}
src/twisted/mail/mail.py:185
↓ 30 callers
Method
loadPEM
Load a certificate from a PEM-format data string. @rtype: C{Class}
src/twisted/internet/_sslverify.py:361
↓ 30 callers
Method
loseConnection
No-op implementation of disconnection.
src/twisted/mail/test/test_mail.py:2074
↓ 30 callers
Method
request
Issue a request to the server indicated by the given C{uri}. An existing connection from the connection pool may be used or a new
src/twisted/web/client.py:1152
↓ 30 callers
Method
sendCommand
(self, cmd)
src/twisted/mail/imap4.py:2718
↓ 30 callers
Method
socket
Create and return a new socket object, also tracking it so it can be closed in the test tear down.
src/twisted/test/test_tcp_internals.py:82
↓ 29 callers
Method
clear
Discard all data written to this transport so far. This is not a transport method. It is intended for tests. Do not use it
src/twisted/internet/testing.py:239
↓ 29 callers
Method
createWithCleanup
Create an L{EventLoggingObserver} instance that observes the provided publisher and will be cleaned up with addCleanup(). @p
src/twisted/internet/testing.py:1068
↓ 29 callers
Method
getTraceback
(self, elideFrameworkCode: int = 0, detail: str = "default")
src/twisted/python/failure.py:575
↓ 29 callers
Method
msg
Send a message to a user or channel. The message will be split into multiple commands to the server if: - The message conta
src/twisted/words/protocols/irc.py:1782
↓ 29 callers
Method
parseOptions
(self, args)
src/twisted/trial/test/test_runner.py:319
↓ 29 callers
Method
setServiceParent
(self, parent)
src/twisted/application/service.py:178
↓ 29 callers
Method
stop
()
src/twisted/test/test_task.py:1233
↓ 29 callers
Method
stop
Stop scheduling steps. Errback the completion Deferreds of all iterators which have been added and forget about them.
src/twisted/internet/task.py:700
↓ 29 callers
Method
toXml
Serialize this Element and all children to a string.
src/twisted/words/xish/domish.py:577
↓ 28 callers
Method
close
(self)
src/twisted/internet/tcp.py:1011
↓ 28 callers
Method
close
Update L{SocketState.closed} on the associated L{SocketState}; no other behavior is affected.
src/twisted/internet/test/test_fakes.py:69
↓ 28 callers
Method
connect
(self, factory)
src/twisted/conch/test/test_endpoints.py:253
↓ 28 callers
Method
debug
Emit a log event at log level L{LogLevel.debug}. @param format: a message format using new-style (PEP 3101) formatting.
src/twisted/logger/_logger.py:283
↓ 28 callers
Method
decode
(self, s, errors="strict")
src/twisted/mail/imap4.py:6200
↓ 28 callers
Method
join
Send a join message. @type who: C{str} or C{unicode} @param who: The name of the user joining. Should be of the form
src/twisted/words/protocols/irc.py:765
↓ 28 callers
Method
queueStringCommand
Queues a string to be issued as an FTP command @param command: string of an FTP command to queue @param public: a flag inten
src/twisted/protocols/ftp.py:2741
↓ 28 callers
Method
setResponseCode
Set the HTTP response code. @type code: L{int} @type message: L{bytes}
src/twisted/web/http.py:1437
↓ 27 callers
Method
dataReceived
Override so that we know if any response has been received.
src/twisted/web/_newclient.py:374
↓ 27 callers
Method
environKeyEqual
(self, key, value)
src/twisted/web/test/test_wsgi.py:376
↓ 27 callers
Method
finish
Indicate that all response data has been written to this L{Request}.
src/twisted/web/http.py:1219
↓ 27 callers
Method
getpid
Return a fixed PID value. @return: A fixed value.
src/twisted/test/test_process.py:1612
↓ 27 callers
Function
proxyForInterface
Create a class which proxies all method calls which adhere to an interface to another provider of that interface. This function is inten
src/twisted/python/components.py:305
↓ 27 callers
Method
public
Returns a version of this key containing only the public key data. If this is a public key, this may or may not be the same object
src/twisted/conch/ssh/keys.py:985
↓ 27 callers
Method
sendBadResponse
(self, tag=None, message=b"")
src/twisted/mail/imap4.py:1070
↓ 27 callers
Method
sendPositiveResponse
(self, tag=None, message=b"")
src/twisted/mail/imap4.py:1073
↓ 27 callers
Method
set
(self, when: int)
src/twisted/test/test_htb.py:13
↓ 27 callers
Method
sign
Simulates signing data with a previously enrolled key. Args: alg: The signing algorithm. data: The data to b
src/twisted/conch/test/sk_dummy.py:125
↓ 27 callers
Method
toString
(*args: object, **kwargs: object)
src/twisted/conch/test/test_ckeygen.py:601
↓ 27 callers
Method
write
(self, bytes)
src/twisted/web/test/test_agent.py:144
↓ 26 callers
Function
_coerceToFilesystemEncoding
Return a C{newpath} that is suitable for joining to C{path}. @param path: The path that it should be suitable for joining to. @param new
src/twisted/python/filepath.py:734
↓ 26 callers
Method
addTrigger
Add a trigger to the reactor and remember it in C{self.triggers}.
src/twisted/test/test_internet.py:360
↓ 26 callers
Method
buildProtocol
(self, addr: Any)
src/twisted/protocols/haproxy/test/test_wrapper.py:23
↓ 26 callers
Method
check
(ignore)
src/twisted/test/test_ssl.py:412
↓ 26 callers
Method
collect
Fake gc.collect
src/twisted/trial/test/test_tests.py:770
↓ 26 callers
Method
id
(self)
src/twisted/trial/test/pyunitcases.py:49
↓ 26 callers
Method
isPublic
Check if this instance is a public key. @return: C{True} if this is a public key.
src/twisted/conch/ssh/keys.py:969
↓ 26 callers
Method
items
List of (key,value) pairs.
src/twisted/python/util.py:126
↓ 26 callers
Method
start
Send the data to consume.
src/twisted/test/test_ftp.py:4024
↓ 26 callers
Method
type
Return the type of the object we wrap. Currently this can only be 'RSA', 'DSA', 'EC', or 'Ed25519'. @rtype: L{str}
src/twisted/conch/ssh/keys.py:1039
↓ 26 callers
Method
write
(self, data)
src/twisted/protocols/ftp.py:540
↓ 25 callers
Method
addContent
Add some text data to this Element.
src/twisted/words/xish/domish.py:519
↓ 25 callers
Method
bytes
Bytes which are expected when encoding an instance constructed using C{kwargs} and which are expected to result in an identical insta
src/twisted/names/test/test_dns.py:3284
↓ 25 callers
Method
countTestCases
Return the number of tests in this test case. Usually 1.
src/twisted/trial/itrial.py:32
↓ 25 callers
Method
fileno
Get the underlying file descriptor from this inotify observer. Required by L{abstract.FileDescriptor} subclasses.
src/twisted/internet/inotify.py:235
↓ 25 callers
Method
fromBytes
Parse the given URI into a L{URI}. @type uri: C{bytes} @param uri: URI to parse. @type defaultPort: C{int} or L{Non
src/twisted/web/client.py:130
↓ 25 callers
Function
getResolver
Get a Resolver instance. Create twisted.names.client.theResolver if it is L{None}, and then return that value. @rtype: C{IResolver}
src/twisted/names/client.py:602
↓ 25 callers
Method
namesTest
Assert that the DNS response C{querying} will eventually fire with contains exactly a certain collection of records. @param
src/twisted/names/test/test_names.py:234
↓ 25 callers
Function
occurrences
(mock)
src/twisted/conch/test/test_insults.py:36
↓ 25 callers
Method
parent
(self)
src/twisted/python/zippath.py:112
↓ 25 callers
Method
protocol
(self, f, p)
src/twisted/test/test_policies.py:336
↓ 25 callers
Method
pump
Move data back and forth, while also triggering any currently pending scheduled calls (i.e. C{callLater(0, f)}). Returns whe
src/twisted/test/iosim.py:317
↓ 25 callers
Method
unhandledControlSequence
(self, buf)
src/twisted/conch/insults/insults.py:544
↓ 25 callers
Method
write
Write some data to the channel. If there is not enough remote window available, buffer until it is. Otherwise, split the data into
src/twisted/conch/ssh/channel.py:211
↓ 25 callers
Method
write
Send the given datagram.
src/twisted/names/test/test_util.py:60
↓ 25 callers
Method
write
(self, stuff)
src/twisted/words/test/test_service.py:149
↓ 24 callers
Method
_write
Safely write to the reporter's stream. @param format: A format string to write. @param args: The arguments for the format st
src/twisted/trial/reporter.py:492
↓ 24 callers
Method
active
Determine whether this call is still pending @return: True if this call has not yet been made or cancelled, False otherwise.
src/twisted/internet/base.py:197
↓ 24 callers
Method
assertCommandFailed
(self, command, expectedResponse=None, chainDeferred=None)
src/twisted/test/test_ftp.py:218
↓ 24 callers
Method
fail
(*args, **kwargs)
src/twisted/conch/test/test_checkers.py:871
↓ 24 callers
Method
getvalue
Get current data of file. Allow reading data event when file is closed.
src/twisted/conch/test/test_cftp.py:381
↓ 24 callers
Method
loseConnection
(self)
src/twisted/conch/ssh/session.py:259
↓ 24 callers
Method
requestReceived
Called by channel when all data has been received. This method is not intended for users. @type command: C{bytes} @
src/twisted/web/http.py:1037
↓ 24 callers
Method
setdefault
@type key: bytes @param key: The key to lookup @param value: The value to associate with key if key is not already a
src/twisted/persisted/dirdbm.py:215
↓ 23 callers
Method
_lookup
(self, name, cls, type, timeout)
src/twisted/names/common.py:83
↓ 23 callers
Function
_render
(resource: IResource, request: Request | DummyRequest)
src/twisted/web/test/_util.py:20
↓ 23 callers
Method
addSystemEventTrigger
See twisted.internet.interfaces.IReactorCore.addSystemEventTrigger.
src/twisted/internet/base.py:852
↓ 23 callers
Method
assertCall
( self, occurrence, methodName, expectedPositionalArgs=(), expectedKeywordArgs={} )
src/twisted/conch/test/test_insults.py:192
↓ 23 callers
Method
close
Fake C{os.close}, saving the closed fd in C{self.closed}.
src/twisted/test/test_process.py:1378
↓ 23 callers
Method
errback
(f: Failure)
src/twisted/test/test_defer.py:3361
↓ 23 callers
Method
expect
(self, expression, timeout=None, scheduler=reactor)
src/twisted/conch/insults/helper.py:546
↓ 23 callers
Method
flush
(self, kind)
src/twisted/conch/test/test_transport.py:244
↓ 23 callers
Method
get
Retrieve value associated with 'key' or return default value if 'key' doesn't exist.
src/twisted/python/util.py:132
↓ 23 callers
Method
stat
Retrieve information about the given path. This is like list, except it will never return results about child paths.
src/twisted/protocols/ftp.py:1838
↓ 22 callers
Method
_equalityTest
(self, firstValueOne, secondValueOne, valueTwo)
src/twisted/names/test/test_dns.py:1874
↓ 22 callers
Method
_fixerTest
A generic adapter fixer test. Creates a sentence from the C{sentenceData} and sends that to the adapter. If C{exceptionClass
src/twisted/positioning/test/test_nmea.py:577
↓ 22 callers
Method
assertRequestRejected
Execute a HTTP request and assert that it is rejected with a 400 Bad Response and disconnection. @param requestLines: Plain
src/twisted/web/test/test_http.py:1804
↓ 22 callers
Method
assertWarns
Fail if the given function doesn't generate the specified warning when called. It calls the function, checks the warning, and forward
src/twisted/trial/_synctest.py:593
← previous
next →
201–300 of 25,749, ranked by callers