Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/agronholm/anyio
/ functions
Functions
2,163 in github.com/agronholm/anyio
⨍
Functions
2,163
◇
Types & classes
270
↳
Endpoints
11
Method
error_received
(self, exc: Exception)
src/anyio/_backends/_asyncio.py:1304
Function
event_loop_implementation_name
()
tests/conftest.py:191
Method
event_waiter
()
tests/test_from_thread.py:480
Function
exception_handler
(loop: object, context: Any = None)
tests/test_to_thread.py:232
Function
exception_handler
(*args: object, **kwargs: object)
tests/test_taskgroups.py:1395
Function
exit_scope
(scope: CancelScope)
tests/test_taskgroups.py:1488
Method
external_thread
()
tests/test_from_thread.py:283
Method
external_thread
()
tests/test_from_thread.py:376
Method
externalthread
()
tests/test_from_thread.py:182
Method
extra_attributes
(self)
src/anyio/abc/_sockets.py:142
Method
extra_attributes
A mapping of the extra attributes to callables that return the corresponding values. If the provider wraps another provider,
src/anyio/_core/_typedattr.py:40
Method
extra_attributes
(self)
src/anyio/streams/stapled.py:60
Method
extra_attributes
(self)
src/anyio/streams/stapled.py:96
Method
extra_attributes
(self)
src/anyio/streams/stapled.py:145
Method
extra_attributes
(self)
src/anyio/streams/text.py:72
Method
extra_attributes
(self)
src/anyio/streams/text.py:107
Method
extra_attributes
(self)
src/anyio/streams/text.py:158
Method
extra_attributes
(self)
src/anyio/streams/buffered.py:51
Method
extra_attributes
(self)
src/anyio/streams/tls.py:279
Method
extra_attributes
(self)
src/anyio/streams/tls.py:386
Method
extra_attributes
(self)
src/anyio/streams/file.py:43
Method
extra_attributes
(self)
tests/test_typedattr.py:16
Function
factory
( family: socket.AddressFamily, kind: socket.SocketKind, *, bound: bool = Fals
tests/test_sockets.py:175
Function
fail
(name: str)
tests/test_taskgroups.py:1186
Method
failing_func
()
tests/test_from_thread.py:614
Method
fake_bind
( self: socket.socket, addr: tuple[str, int] | tuple[str, int, int, int] )
tests/test_sockets.py:1109
Function
fake_getaddrinfo
(*args: Any, **kwargs: Any)
tests/test_sockets.py:122
Function
fake_localhost_dns
(monkeypatch: MonkeyPatch)
tests/test_sockets.py:121
Method
fake_rollover
()
tests/test_tempfile.py:64
Function
fake_sleep
()
tests/test_eventloop.py:23
Method
fake_wrap
( transport_stream: AnyByteStream, **kwargs: Any )
tests/test_sockets.py:701
Method
families
(cls)
tests/test_pytest_plugin.py:724
Function
family
(request: SubRequest)
tests/test_sockets.py:137
Method
file_path
(cls, tmp_path_factory: TempPathFactory)
tests/streams/test_file.py:17
Method
file_path
(self, tmp_path: Path)
tests/streams/test_file.py:81
Method
file_path_or_str
(self, request: SubRequest, file_path: Path)
tests/streams/test_file.py:23
Method
filter
(self, record: logging.LogRecord)
tests/conftest.py:97
Method
foo
()
tests/test_functools.py:423
Method
foo
()
tests/test_from_thread.py:297
Function
free_tcp_port
(free_tcp_port_factory: Callable[[], int])
src/anyio/pytest_plugin.py:369
Function
free_udp_port
(free_udp_port_factory: Callable[[], int])
src/anyio/pytest_plugin.py:374
Method
from_path
Create a file write stream by opening the given file for writing. :param path: path of the file to write to :param append: i
src/anyio/streams/file.py:136
Method
from_socket
Wrap an existing socket object or file descriptor as a socket stream. The newly created socket wrapper takes ownership of the socket
src/anyio/abc/_sockets.py:186
Method
from_socket
Wrap an existing socket object or file descriptor as a UNIX socket stream. The newly created socket wrapper takes ownership of the s
src/anyio/abc/_sockets.py:203
Method
from_socket
Wrap an existing socket object or file descriptor as a socket listener. The newly created listener takes ownership of the socket bei
src/anyio/abc/_sockets.py:248
Method
from_socket
Wrap an existing socket object or file descriptor as a connected UDP socket. The newly created socket wrapper takes ownership of the
src/anyio/abc/_sockets.py:322
Method
from_socket
Wrap an existing socket object or file descriptor as a UNIX datagram socket. The newly created socket wrapper takes ownershi
src/anyio/abc/_sockets.py:351
Method
from_socket
Wrap an existing socket object or file descriptor as a connected UNIX datagram socket. The newly created socket wrapper take
src/anyio/abc/_sockets.py:381
Function
func
(future: object)
tests/test_to_thread.py:216
Function
func
()
tests/test_itertools.py:90
Method
func
(x: int)
tests/test_functools.py:39
Method
func
(x: int)
tests/test_functools.py:72
Method
func
(x: int, y: int)
tests/test_functools.py:438
Method
func
()
tests/test_itertools.py:880
Function
g
()
tests/test_taskgroups.py:556
Function
generator_part
()
tests/test_taskgroups.py:1330
Method
get_current_task
(cls)
src/anyio/_backends/_asyncio.py:3108
Method
get_dummyattr
(self)
tests/test_typedattr.py:12
Method
get_next_value
()
src/anyio/_core/_fileio.py:909
Method
get_running_tasks
(cls)
src/anyio/abc/_eventloop.py:399
Method
get_running_tasks
(cls)
src/anyio/_backends/_asyncio.py:3112
Method
get_token
()
tests/test_from_thread.py:246
Method
get_token
()
tests/test_from_thread.py:308
Method
get_var
()
tests/test_from_thread.py:724
Method
getaddrinfo
( cls, host: bytes | str | None, port: str | int | None, *, family: in
src/anyio/_backends/_asyncio.py:2867
Method
getnameinfo
( cls, sockaddr: IPSockAddrType, flags: int = 0 )
src/anyio/_backends/_asyncio.py:2890
Function
handle
(stream: SocketStream)
tests/test_sockets.py:1690
Method
handle
(stream: SocketStream)
tests/test_sockets.py:949
Method
handle
(stream: SocketStream)
tests/test_sockets.py:1631
Method
handle_handshake_error
( exc: BaseException, stream: AnyByteStream )
tests/streams/test_tls.py:501
Method
handler
(stream: object)
tests/streams/test_tls.py:494
Method
handler_wrapper
(stream: AnyByteStream)
src/anyio/streams/tls.py:365
Method
has_pending_cancellation
(self)
src/anyio/_backends/_asyncio.py:2233
Method
has_pending_cancellation
(self)
src/anyio/_backends/_trio.py:1068
Method
in_loop
()
tests/test_from_thread.py:737
Function
in_task_group
(task_status: TaskStatus[None])
tests/test_taskgroups.py:1791
Method
info
(self)
src/anyio/_core/_fileio.py:500
Function
inspect
()
tests/test_debugging.py:75
Method
interrupt
()
tests/test_sockets.py:524
Method
interrupt
()
tests/test_sockets.py:1463
Method
is_even
(value: int)
tests/test_itertools.py:497
Method
is_running
(self)
src/anyio/_backends/_asyncio.py:2293
Method
is_running
(self)
src/anyio/_backends/_trio.py:985
Method
is_set
(self)
src/anyio/_core/_synchronization.py:139
Method
kill
Kills the process. On Windows, this calls ``TerminateProcess()``. On POSIX systems, this sends ``SIGKILL`` to the process.
src/anyio/abc/_subprocesses.py:33
Function
killer
(scope: CancelScope)
tests/test_taskgroups.py:1102
Method
kind
The type of socket connection (e.g., :data:`~socket.SOCK_STREAM` or :data:`~socket.SOCK_DGRAM`) used to bind for checking port availa
src/anyio/pytest_plugin.py:316
Method
less_than_five
(value: int)
tests/test_itertools.py:888
Method
less_than_four
(value: int)
tests/test_itertools.py:466
Method
less_than_four
(value: int)
tests/test_itertools.py:904
Method
less_than_three
(value: int)
tests/test_itertools.py:451
Method
less_than_three
(value: int)
tests/test_itertools.py:892
Method
less_than_zero
(value: int)
tests/test_itertools.py:462
Method
less_than_zero
(value: int)
tests/test_itertools.py:908
Function
limiter
(request: FixtureRequest)
tests/test_fileio.py:19
Method
limiter
The capacity limiter used by this file object, if not the global limiter.
src/anyio/_core/_fileio.py:99
Method
limiter
The capacity limiter used by this path, if not the global limiter.
src/anyio/_core/_fileio.py:422
Method
locked
Return True if the lock is currently held.
src/anyio/_core/_synchronization.py:253
Function
main
()
tests/test_eventloop.py:76
Function
main
()
tests/test_debugging.py:33
← previous
next →
901–1,000 of 2,163, ranked by callers