MCPcopy Create free account

hub / github.com/agronholm/anyio / functions

Functions2,553 in github.com/agronholm/anyio

Methodmain
()
tests/test_lowlevel.py:99
Methodmain
()
tests/test_from_thread.py:202
Methodmain
()
tests/test_taskgroups.py:2408
Methodmax_value
The maximum value of the semaphore.
src/anyio/_core/_synchronization.py:461
Methodmax_value
(self)
src/anyio/_core/_synchronization.py:526
Methodmax_value
(self)
src/anyio/_backends/_asyncio.py:2180
Methodmax_value
(self)
src/anyio/_backends/_trio.py:826
Methodmiddle_task
()
tests/test_taskgroups.py:1839
Methodmultiply
(x: int, y: int)
tests/test_itertools.py:106
Methodmultiply
(a: int, b: int)
tests/test_itertools.py:869
Methodmy_background_func
(self, arg: int)
docs/snippets/contextmanagers/broken_context_manager.py:22
Methodmy_background_func
(self, arg: int)
docs/snippets/contextmanagers/better_context_manager.py:16
Methodname
(self)
src/anyio/_core/_fileio.py:453
Methodname
The name of the task.
src/anyio/_core/_tasks.py:385
Functionnested
()
tests/test_taskgroups.py:1601
Functionnon_main
(*, task_status: TaskStatus[str | None])
tests/test_debugging.py:67
Functionnoop
()
tests/test_taskgroups.py:1524
Methodnoop
()
tests/test_from_thread.py:752
Methodnotifier
()
tests/test_synchronization.py:354
Functionnotify
(event: Event)
docs/snippets/synchronization/event.py:4
Methodnotify_closing
(cls, obj: FileDescriptorLike)
src/anyio/abc/_eventloop.py:373
Methodnotify_closing
(cls, obj: FileDescriptorLike)
src/anyio/_backends/_asyncio.py:3162
Methodnotify_source
(_: Future[T_Retval])
src/anyio/from_thread.py:409
Methodopen_process
( cls, command: StrOrBytesPath | Sequence[StrOrBytesPath], *, stdin: int | IO[
src/anyio/abc/_eventloop.py:250
Methodopen_process
( cls, command: StrOrBytesPath | Sequence[StrOrBytesPath], *, stdin: int | IO[
src/anyio/_backends/_asyncio.py:2874
Methodopen_signal_receiver
( cls, *signals: Signals )
src/anyio/abc/_eventloop.py:420
Methodopen_signal_receiver
( cls, *signals: Signals )
src/anyio/_backends/_asyncio.py:3262
Methodoperate
()
tests/test_sockets.py:1780
Methodother_task
()
tests/test_synchronization.py:81
Methodother_task
()
tests/test_synchronization.py:577
Methodouter
()
tests/test_itertools.py:220
Methodouter
()
tests/test_itertools.py:873
Functionouter_task
()
tests/test_taskgroups.py:1040
Functionoutside_task
()
tests/test_taskgroups.py:1976
Functionparent
(tg: TaskGroup)
tests/test_taskgroups.py:1187
Methodparent
(self)
src/anyio/_core/_fileio.py:449
Methodparents
(self)
src/anyio/_core/_fileio.py:445
Methodparity
(value: int)
tests/test_itertools.py:543
Methodparts
(self)
src/anyio/_core/_fileio.py:429
Methodpause_writing
(self)
src/anyio/_backends/_asyncio.py:1368
Methodpause_writing
(self)
src/anyio/_backends/_asyncio.py:1400
Methodpeer
(self, peer_path: str)
tests/test_sockets.py:2706
Methodpeer_path
(self, tmp_path: Path)
tests/test_sockets.py:2702
Methodpeer_sock
(self, peer_socket_path: Path)
tests/test_sockets.py:3090
Methodpeer_socket_path
(self)
tests/test_sockets.py:2877
Methodpeer_socket_path
(self)
tests/test_sockets.py:3077
Methodpeer_socket_path_or_str
( self, request: SubRequest, peer_socket_path: Path )
tests/test_sockets.py:3084
Methodpid
The process ID of the process.
src/anyio/abc/_subprocesses.py:58
Methodpid
(self)
src/anyio/_backends/_asyncio.py:1266
Methodpid
(self)
src/anyio/_backends/_trio.py:402
Methodpopulated_tmpdir
( self, tmp_path: pathlib.Path, limiter: CapacityLimiter | None )
tests/test_fileio.py:107
Methodpower
(a: int, b: int)
tests/test_itertools.py:861
Methodpredicate
(value: int)
tests/test_itertools.py:932
Methodprocess_exited
(self)
src/anyio/_backends/_asyncio.py:2583
Functionprocess_items
(receive_stream: MemoryObjectReceiveStream[str])
docs/snippets/streams/memory_object_stream.py:5
Functionproducer
(name: str, send_stream: MemoryObjectSendStream[str])
docs/snippets/streams/memory_stream_cloning.py:5
Methodprovider
( self, anyio_backend_name: str, anyio_backend_options: dict[str, Any] )
tests/test_to_thread.py:397
Functionput_cancelled_item
(item: tuple[Any, ...])
tests/test_to_thread.py:259
Functionpytest_addoption
(parser: pytest.Parser)
src/anyio/pytest_plugin.py:87
Functionpytest_collection_finish
(session: pytest.Session)
src/anyio/pytest_plugin.py:210
Functionpytest_configure
(config: pytest.Config)
src/anyio/pytest_plugin.py:112
Functionpytest_fixture_setup
(fixturedef: Any, request: Any)
src/anyio/pytest_plugin.py:132
Functionpytest_pycollect_makeitem
( collector: pytest.Module | pytest.Class, name: str, obj: object )
src/anyio/pytest_plugin.py:193
Functionpytest_pyfunc_call
(pyfuncitem: Any)
src/anyio/pytest_plugin.py:269
Methodraise_baseexception
()
tests/test_from_thread.py:1028
Methodraise_exception
()
tests/test_from_thread.py:422
Methodraise_oserror
(addr: tuple[str, int])
tests/test_sockets.py:1373
Functionraise_stopiteration
()
tests/test_to_thread.py:388
Methodread1
(self: AsyncFile[bytes], size: int = -1)
src/anyio/_core/_fileio.py:124
Methodread1
(self: SpooledTemporaryFile[bytes], size: int = -1)
src/anyio/_core/_tempfile.py:350
Methodread_var
()
tests/test_from_thread.py:437
Functionreader
()
tests/test_sockets.py:3470
Methodreadinto
(self: SpooledTemporaryFile[bytes], b: WriteableBuffer)
src/anyio/_core/_tempfile.py:371
Methodreadinto1
(self: SpooledTemporaryFile[bytes], b: WriteableBuffer)
src/anyio/_core/_tempfile.py:378
Methodreadline
(self)
src/anyio/_core/_tempfile.py:357
Methodreadlines
(self)
src/anyio/_core/_fileio.py:130
Methodreadlines
(self)
src/anyio/_core/_tempfile.py:364
Functionreceive
()
tests/streams/test_memory.py:390
Functionreceive
(f: asyncio.Future[str])
docs/snippets/why/anyio_result_not_lost.py:6
Methodreceive
(self)
src/anyio/streams/stapled.py:82
Methodreceive
(self)
src/anyio/streams/memory.py:116
Methodreceive
(self, max_bytes: int = 65536)
src/anyio/streams/file.py:86
Methodreceive
(self, max_bytes: int = 65536)
src/anyio/_backends/_asyncio.py:1169
Methodreceive
(self, max_bytes: int = 65536)
src/anyio/_backends/_asyncio.py:1419
Methodreceive
(self, max_bytes: int = 65536)
src/anyio/_backends/_asyncio.py:1555
Methodreceive
(self)
src/anyio/_backends/_asyncio.py:1800
Methodreceive
(self)
src/anyio/_backends/_asyncio.py:1863
Methodreceive
(self)
src/anyio/_backends/_asyncio.py:1910
Methodreceive
(self)
src/anyio/_backends/_asyncio.py:1946
Methodreceive
(self, max_bytes: int | None = None)
src/anyio/_backends/_trio.py:329
Methodreceive
(self, max_bytes: int = 65536)
src/anyio/_backends/_trio.py:487
Methodreceive
(self)
src/anyio/_backends/_trio.py:617
Methodreceive
(self)
src/anyio/_backends/_trio.py:639
Methodreceive
(self)
src/anyio/_backends/_trio.py:660
Methodreceive
(self)
src/anyio/_backends/_trio.py:684
Methodreceive
(self)
tests/streams/test_stapled.py:118
Methodreceive_fds
(self, msglen: int, maxfds: int)
src/anyio/_backends/_asyncio.py:1596
Methodreceive_fds
(self, msglen: int, maxfds: int)
src/anyio/_backends/_trio.py:518
Methodreceive_stream
(self)
tests/streams/test_stapled.py:62
Methodreceive_stream
(self)
tests/streams/test_stapled.py:160
← previousnext →1,201–1,300 of 2,553, ranked by callers