Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/agronholm/anyio
/ functions
Functions
2,553 in github.com/agronholm/anyio
⨍
Functions
2,553
◇
Types & classes
300
↳
Endpoints
18
Method
main
()
tests/test_lowlevel.py:99
Method
main
()
tests/test_from_thread.py:202
Method
main
()
tests/test_taskgroups.py:2408
Method
max_value
The maximum value of the semaphore.
src/anyio/_core/_synchronization.py:461
Method
max_value
(self)
src/anyio/_core/_synchronization.py:526
Method
max_value
(self)
src/anyio/_backends/_asyncio.py:2180
Method
max_value
(self)
src/anyio/_backends/_trio.py:826
Method
middle_task
()
tests/test_taskgroups.py:1839
Method
multiply
(x: int, y: int)
tests/test_itertools.py:106
Method
multiply
(a: int, b: int)
tests/test_itertools.py:869
Method
my_background_func
(self, arg: int)
docs/snippets/contextmanagers/broken_context_manager.py:22
Method
my_background_func
(self, arg: int)
docs/snippets/contextmanagers/better_context_manager.py:16
Method
name
(self)
src/anyio/_core/_fileio.py:453
Method
name
The name of the task.
src/anyio/_core/_tasks.py:385
Function
nested
()
tests/test_taskgroups.py:1601
Function
non_main
(*, task_status: TaskStatus[str | None])
tests/test_debugging.py:67
Function
noop
()
tests/test_taskgroups.py:1524
Method
noop
()
tests/test_from_thread.py:752
Method
notifier
()
tests/test_synchronization.py:354
Function
notify
(event: Event)
docs/snippets/synchronization/event.py:4
Method
notify_closing
(cls, obj: FileDescriptorLike)
src/anyio/abc/_eventloop.py:373
Method
notify_closing
(cls, obj: FileDescriptorLike)
src/anyio/_backends/_asyncio.py:3162
Method
notify_source
(_: Future[T_Retval])
src/anyio/from_thread.py:409
Method
open_process
( cls, command: StrOrBytesPath | Sequence[StrOrBytesPath], *, stdin: int | IO[
src/anyio/abc/_eventloop.py:250
Method
open_process
( cls, command: StrOrBytesPath | Sequence[StrOrBytesPath], *, stdin: int | IO[
src/anyio/_backends/_asyncio.py:2874
Method
open_signal_receiver
( cls, *signals: Signals )
src/anyio/abc/_eventloop.py:420
Method
open_signal_receiver
( cls, *signals: Signals )
src/anyio/_backends/_asyncio.py:3262
Method
operate
()
tests/test_sockets.py:1780
Method
other_task
()
tests/test_synchronization.py:81
Method
other_task
()
tests/test_synchronization.py:577
Method
outer
()
tests/test_itertools.py:220
Method
outer
()
tests/test_itertools.py:873
Function
outer_task
()
tests/test_taskgroups.py:1040
Function
outside_task
()
tests/test_taskgroups.py:1976
Function
parent
(tg: TaskGroup)
tests/test_taskgroups.py:1187
Method
parent
(self)
src/anyio/_core/_fileio.py:449
Method
parents
(self)
src/anyio/_core/_fileio.py:445
Method
parity
(value: int)
tests/test_itertools.py:543
Method
parts
(self)
src/anyio/_core/_fileio.py:429
Method
pause_writing
(self)
src/anyio/_backends/_asyncio.py:1368
Method
pause_writing
(self)
src/anyio/_backends/_asyncio.py:1400
Method
peer
(self, peer_path: str)
tests/test_sockets.py:2706
Method
peer_path
(self, tmp_path: Path)
tests/test_sockets.py:2702
Method
peer_sock
(self, peer_socket_path: Path)
tests/test_sockets.py:3090
Method
peer_socket_path
(self)
tests/test_sockets.py:2877
Method
peer_socket_path
(self)
tests/test_sockets.py:3077
Method
peer_socket_path_or_str
( self, request: SubRequest, peer_socket_path: Path )
tests/test_sockets.py:3084
Method
pid
The process ID of the process.
src/anyio/abc/_subprocesses.py:58
Method
pid
(self)
src/anyio/_backends/_asyncio.py:1266
Method
pid
(self)
src/anyio/_backends/_trio.py:402
Method
populated_tmpdir
( self, tmp_path: pathlib.Path, limiter: CapacityLimiter | None )
tests/test_fileio.py:107
Method
power
(a: int, b: int)
tests/test_itertools.py:861
Method
predicate
(value: int)
tests/test_itertools.py:932
Method
process_exited
(self)
src/anyio/_backends/_asyncio.py:2583
Function
process_items
(receive_stream: MemoryObjectReceiveStream[str])
docs/snippets/streams/memory_object_stream.py:5
Function
producer
(name: str, send_stream: MemoryObjectSendStream[str])
docs/snippets/streams/memory_stream_cloning.py:5
Method
provider
( self, anyio_backend_name: str, anyio_backend_options: dict[str, Any] )
tests/test_to_thread.py:397
Function
put_cancelled_item
(item: tuple[Any, ...])
tests/test_to_thread.py:259
Function
pytest_addoption
(parser: pytest.Parser)
src/anyio/pytest_plugin.py:87
Function
pytest_collection_finish
(session: pytest.Session)
src/anyio/pytest_plugin.py:210
Function
pytest_configure
(config: pytest.Config)
src/anyio/pytest_plugin.py:112
Function
pytest_fixture_setup
(fixturedef: Any, request: Any)
src/anyio/pytest_plugin.py:132
Function
pytest_pycollect_makeitem
( collector: pytest.Module | pytest.Class, name: str, obj: object )
src/anyio/pytest_plugin.py:193
Function
pytest_pyfunc_call
(pyfuncitem: Any)
src/anyio/pytest_plugin.py:269
Method
raise_baseexception
()
tests/test_from_thread.py:1028
Method
raise_exception
()
tests/test_from_thread.py:422
Method
raise_oserror
(addr: tuple[str, int])
tests/test_sockets.py:1373
Function
raise_stopiteration
()
tests/test_to_thread.py:388
Method
read1
(self: AsyncFile[bytes], size: int = -1)
src/anyio/_core/_fileio.py:124
Method
read1
(self: SpooledTemporaryFile[bytes], size: int = -1)
src/anyio/_core/_tempfile.py:350
Method
read_var
()
tests/test_from_thread.py:437
Function
reader
()
tests/test_sockets.py:3470
Method
readinto
(self: SpooledTemporaryFile[bytes], b: WriteableBuffer)
src/anyio/_core/_tempfile.py:371
Method
readinto1
(self: SpooledTemporaryFile[bytes], b: WriteableBuffer)
src/anyio/_core/_tempfile.py:378
Method
readline
(self)
src/anyio/_core/_tempfile.py:357
Method
readlines
(self)
src/anyio/_core/_fileio.py:130
Method
readlines
(self)
src/anyio/_core/_tempfile.py:364
Function
receive
()
tests/streams/test_memory.py:390
Function
receive
(f: asyncio.Future[str])
docs/snippets/why/anyio_result_not_lost.py:6
Method
receive
(self)
src/anyio/streams/stapled.py:82
Method
receive
(self)
src/anyio/streams/memory.py:116
Method
receive
(self, max_bytes: int = 65536)
src/anyio/streams/file.py:86
Method
receive
(self, max_bytes: int = 65536)
src/anyio/_backends/_asyncio.py:1169
Method
receive
(self, max_bytes: int = 65536)
src/anyio/_backends/_asyncio.py:1419
Method
receive
(self, max_bytes: int = 65536)
src/anyio/_backends/_asyncio.py:1555
Method
receive
(self)
src/anyio/_backends/_asyncio.py:1800
Method
receive
(self)
src/anyio/_backends/_asyncio.py:1863
Method
receive
(self)
src/anyio/_backends/_asyncio.py:1910
Method
receive
(self)
src/anyio/_backends/_asyncio.py:1946
Method
receive
(self, max_bytes: int | None = None)
src/anyio/_backends/_trio.py:329
Method
receive
(self, max_bytes: int = 65536)
src/anyio/_backends/_trio.py:487
Method
receive
(self)
src/anyio/_backends/_trio.py:617
Method
receive
(self)
src/anyio/_backends/_trio.py:639
Method
receive
(self)
src/anyio/_backends/_trio.py:660
Method
receive
(self)
src/anyio/_backends/_trio.py:684
Method
receive
(self)
tests/streams/test_stapled.py:118
Method
receive_fds
(self, msglen: int, maxfds: int)
src/anyio/_backends/_asyncio.py:1596
Method
receive_fds
(self, msglen: int, maxfds: int)
src/anyio/_backends/_trio.py:518
Method
receive_stream
(self)
tests/streams/test_stapled.py:62
Method
receive_stream
(self)
tests/streams/test_stapled.py:160
← previous
next →
1,201–1,300 of 2,553, ranked by callers