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
handle_handshake_error
( exc: BaseException, stream: AnyByteStream )
tests/streams/test_tls.py:531
Function
handle_resource
(resource: Resource)
docs/snippets/why/anyio_cancel_before_start.py:22
Method
handler
(stream: SocketStream)
tests/test_sockets.py:1779
Method
handler
(stream: object)
tests/streams/test_tls.py:524
Method
handler_wrapper
(stream: AnyByteStream)
src/anyio/streams/tls.py:379
Method
has_pending_cancellation
(self)
src/anyio/_backends/_asyncio.py:2375
Method
has_pending_cancellation
(self)
src/anyio/_backends/_trio.py:1069
Method
in_loop
()
tests/test_from_thread.py:1011
Function
in_task_group
(task_status: TaskStatus[None])
tests/test_taskgroups.py:2003
Method
info
(self)
src/anyio/_core/_fileio.py:502
Function
insert_unreleased_changes
(app: Sphinx, docname: str, source: list[str])
docs/conf.py:59
Function
inspect
()
tests/test_debugging.py:77
Method
interrupt
()
tests/test_sockets.py:625
Method
interrupt
()
tests/test_sockets.py:1748
Method
interrupt
()
tests/test_sockets.py:2841
Method
is_even
(value: int)
tests/test_itertools.py:497
Method
is_running
(self)
src/anyio/_backends/_asyncio.py:2433
Method
is_running
(self)
src/anyio/_backends/_trio.py:986
Method
is_set
(self)
src/anyio/_core/_synchronization.py:145
Function
just_wait
( *, task_status: TaskStatus[str] = anyio.TASK_STATUS_IGNORED )
tests/test_taskgroups.py:1978
Method
kill
Kills the process. On Windows, this calls ``TerminateProcess()``. On POSIX systems, this sends ``SIGKILL`` to the process.
src/anyio/abc/_subprocesses.py:36
Function
killer
(scope: CancelScope)
tests/test_taskgroups.py:1225
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:349
Method
less_than_five
(value: int)
tests/test_itertools.py:899
Method
less_than_four
(value: int)
tests/test_itertools.py:466
Method
less_than_four
(value: int)
tests/test_itertools.py:915
Method
less_than_three
(value: int)
tests/test_itertools.py:451
Method
less_than_three
(value: int)
tests/test_itertools.py:903
Method
less_than_zero
(value: int)
tests/test_itertools.py:462
Method
less_than_zero
(value: int)
tests/test_itertools.py:919
Function
limiter
(request: FixtureRequest)
tests/test_fileio.py:26
Method
limiter
The capacity limiter used by this file object, if not the global limiter.
src/anyio/_core/_fileio.py:100
Method
limiter
The capacity limiter used by this path, if not the global limiter.
src/anyio/_core/_fileio.py:424
Function
listen
(tasknum: int, condition: Condition)
docs/snippets/synchronization/condition.py:4
Method
locked
Return True if the lock is currently held.
src/anyio/_core/_synchronization.py:259
Function
long_running_task
(index: int)
docs/snippets/threads/start_task_soon.py:7
Function
main
()
tests/test_eventloop.py:92
Function
main
()
tests/test_debugging.py:35
Function
main
()
tests/test_to_thread.py:157
Function
main
()
tests/test_taskgroups.py:1606
Function
main
()
docs/snippets/subinterpreters/run_sync.py:6
Function
main
()
docs/snippets/subprocesses/run_in_worker_process.py:11
Function
main
()
docs/snippets/subprocesses/open_process.py:5
Function
main
()
docs/snippets/subprocesses/run_process_shell.py:4
Function
main
()
docs/snippets/subprocesses/run_process.py:4
Function
main
()
docs/snippets/streams/file_streams.py:5
Function
main
()
docs/snippets/streams/memory_object_stream.py:11
Function
main
()
docs/snippets/streams/tls_server.py:13
Function
main
()
docs/snippets/streams/tls_client.py:6
Function
main
()
docs/snippets/streams/text_stream.py:5
Function
main
()
docs/snippets/streams/buffered_byte_stream.py:5
Function
main
()
docs/snippets/streams/memory_stream_cloning.py:17
Function
main
()
docs/snippets/basics/hello_world.py:4
Function
main
()
docs/snippets/basics/native_trio_run.py:7
Function
main
()
docs/snippets/tempfile/named_temporary_file.py:4
Function
main
()
docs/snippets/tempfile/spooled_temporary_file.py:4
Function
main
()
docs/snippets/tempfile/mkstemp_mkdtemp.py:6
Function
main
()
docs/snippets/tempfile/temporary_directory.py:4
Function
main
()
docs/snippets/tempfile/temporary_file.py:4
Function
main
()
docs/snippets/networking/unix_client.py:4
Function
main
()
docs/snippets/networking/tcp_client.py:4
Function
main
()
docs/snippets/networking/unix_datagram_client.py:4
Function
main
()
docs/snippets/networking/fds_server.py:14
Function
main
()
docs/snippets/networking/unix_datagram_server.py:4
Function
main
()
docs/snippets/networking/udp_client.py:4
Function
main
()
docs/snippets/networking/unix_server.py:11
Function
main
()
docs/snippets/networking/fds_client.py:6
Function
main
()
docs/snippets/networking/udp_server.py:6
Function
main
()
docs/snippets/networking/tcp_server.py:11
Function
main
()
docs/snippets/signals/handle_keyboard_interrupt.py:18
Function
main
()
docs/snippets/signals/receive_signals.py:6
Function
main
()
docs/snippets/threads/call_sync_from_thread.py:11
Function
main
()
docs/snippets/threads/blocking_portal.py:13
Function
main
()
docs/snippets/threads/run_sync.py:6
Function
main
()
docs/snippets/threads/event_loop_token.py:12
Function
main
()
docs/snippets/threads/blocking_portal_call_async.py:14
Function
main
()
docs/snippets/threads/call_async_from_thread.py:8
Function
main
()
docs/snippets/cancellation/shielding.py:10
Function
main
()
docs/snippets/cancellation/move_on_after.py:4
Function
main
()
docs/snippets/tasks/start_soon.py:9
Function
main
()
docs/snippets/tasks/start_task_handle.py:13
Function
main
()
docs/snippets/tasks/start.py:24
Function
main
()
docs/snippets/tasks/create_task.py:9
Function
main
()
docs/snippets/tasks/task_group.py:10
Function
main
()
docs/snippets/fileio/limit_concurrency.py:4
Function
main
()
docs/snippets/fileio/path_write_bytes.py:4
Function
main
()
docs/snippets/fileio/iterate_lines.py:4
Function
main
()
docs/snippets/fileio/path_iterdir.py:4
Function
main
()
docs/snippets/fileio/wrap_file.py:4
Function
main
()
docs/snippets/fileio/read_file.py:4
Function
main
()
docs/snippets/migration/instantiate_event.py:4
Function
main
()
docs/snippets/synchronization/future_exception.py:12
Function
main
()
docs/snippets/synchronization/future.py:8
Function
main
()
docs/snippets/synchronization/event.py:8
Function
main
()
docs/snippets/synchronization/condition.py:10
Function
main
()
docs/snippets/synchronization/lock.py:10
Function
main
()
docs/snippets/synchronization/capacity_limiter.py:10
Function
main
()
docs/snippets/synchronization/semaphore.py:10
Method
main
()
tests/test_eventloop.py:110
Method
main
()
tests/test_eventloop.py:161
← previous
next →
1,101–1,200 of 2,553, ranked by callers