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
__init__
(self, file: IO[bytes])
src/anyio/streams/file.py:38
Method
__init__
( self, *, debug: bool | None = None, loop_factory: Callable[[
src/anyio/_backends/_asyncio.py:132
Method
__init__
(self, deadline: float = math.inf, shield: bool = False)
src/anyio/_backends/_asyncio.py:405
Method
__init__
(self, parent_id: int | None, cancel_scope: CancelScope | None)
src/anyio/_backends/_asyncio.py:758
Method
__init__
( self, future: asyncio.Future, parent_id: int, target_scope: CancelScope,
src/anyio/_backends/_asyncio.py:772
Method
__init__
(self)
src/anyio/_backends/_asyncio.py:808
Method
__init__
( self, root_task: asyncio.Task, workers: set[WorkerThread], idle_workers: deq
src/anyio/_backends/_asyncio.py:1071
Method
__init__
(self, transport: asyncio.Transport, protocol: StreamProtocol)
src/anyio/_backends/_asyncio.py:1408
Method
__init__
(self, raw_socket: socket.socket)
src/anyio/_backends/_asyncio.py:1508
Method
__init__
(self, raw_socket: socket.socket)
src/anyio/_backends/_asyncio.py:1674
Method
__init__
(self, raw_socket: socket.socket)
src/anyio/_backends/_asyncio.py:1733
Method
__init__
( self, transport: asyncio.DatagramTransport, protocol: DatagramProtocol )
src/anyio/_backends/_asyncio.py:1782
Method
__init__
( self, transport: asyncio.DatagramTransport, protocol: DatagramProtocol )
src/anyio/_backends/_asyncio.py:1845
Method
__init__
(self)
src/anyio/_backends/_asyncio.py:1996
Method
__init__
( self, initial_value: int, *, max_value: int | None = None, fast_acqu
src/anyio/_backends/_asyncio.py:2111
Method
__init__
(self, total_tokens: float)
src/anyio/_backends/_asyncio.py:2193
Method
__init__
(self, signals: tuple[Signals, ...])
src/anyio/_backends/_asyncio.py:2317
Method
__init__
(self, task: asyncio.Task)
src/anyio/_backends/_asyncio.py:2363
Method
__init__
( self, *, debug: bool | None = None, use_uvloop: bool = False, loop_f
src/anyio/_backends/_asyncio.py:2396
Method
__init__
(self)
src/anyio/_backends/_asyncio.py:2578
Method
__init__
(self, original: trio.CancelScope | None = None, **kwargs: Any)
src/anyio/_backends/_trio.py:155
Method
__init__
(self)
src/anyio/_backends/_trio.py:220
Method
__init__
(self, trio_socket: TrioSocketType)
src/anyio/_backends/_trio.py:451
Method
__init__
(self, trio_socket: TrioSocketType)
src/anyio/_backends/_trio.py:482
Method
__init__
(self, raw_socket: socket.socket)
src/anyio/_backends/_trio.py:581
Method
__init__
(self, raw_socket: socket.socket)
src/anyio/_backends/_trio.py:597
Method
__init__
(self, trio_socket: TrioSocketType)
src/anyio/_backends/_trio.py:612
Method
__init__
(self, trio_socket: TrioSocketType)
src/anyio/_backends/_trio.py:634
Method
__init__
(self, trio_socket: TrioSocketType)
src/anyio/_backends/_trio.py:655
Method
__init__
(self, trio_socket: TrioSocketType)
src/anyio/_backends/_trio.py:679
Method
__init__
(self)
src/anyio/_backends/_trio.py:710
Method
__init__
( self, initial_value: int, *, max_value: int | None = None, fast_acqu
src/anyio/_backends/_trio.py:797
Method
__init__
( self, total_tokens: float | None = None, *, original: trio.CapacityLimiter |
src/anyio/_backends/_trio.py:852
Method
__init__
(self, signals: tuple[Signals, ...])
src/anyio/_backends/_trio.py:936
Method
__init__
(self, **options: Any)
src/anyio/_backends/_trio.py:966
Method
__init__
(self, task: trio.lowlevel.Task)
src/anyio/_backends/_trio.py:1061
Method
__init__
(self, ignore_error: bool)
tests/test_from_thread.py:388
Method
__init__
(self, *args: P.args, **kwargs: P.kwargs)
tests/conftest.py:202
Method
__init__
(self, handle_exc: bool = False)
tests/test_contextmanagers.py:42
Method
__init__
(self, handle_exc: bool = False)
tests/test_contextmanagers.py:126
Method
__init__
(self, handle_exc: bool = False)
tests/test_contextmanagers.py:230
Method
__init__
(self, iterable: Iterable[T])
tests/test_itertools.py:51
Method
__init__
( self, connectable: ( ByteStreamConnectable | tuple[str, int] | str | bytes | Pat
docs/snippets/networking/connectables.py:11
Method
__init__
(self, async_obj: Any)
docs/snippets/threads/blocking_portal_provider.py:7
Method
__init__
(self)
docs/snippets/synchronization/resource_guard.py:5
Method
__init_subclass__
(cls)
src/anyio/_core/_typedattr.py:29
Method
__le__
(self, other: pathlib.PurePath | Path)
src/anyio/_core/_fileio.py:405
Method
__lt__
(self, other: pathlib.PurePath | Path)
src/anyio/_core/_fileio.py:401
Method
__new__
(cls)
src/anyio/_core/_synchronization.py:91
Method
__new__
(cls)
src/anyio/_core/_synchronization.py:123
Method
__new__
(cls, *, fast_acquire: bool = False)
src/anyio/_core/_synchronization.py:214
Method
__new__
( cls, initial_value: int, *, max_value: int | None = None, fast_acqui
src/anyio/_core/_synchronization.py:391
Method
__new__
( cls, initial_value: int, *, max_value: int | None = None, fast_acqui
src/anyio/_core/_synchronization.py:477
Method
__new__
(cls, total_tokens: float)
src/anyio/_core/_synchronization.py:539
Method
__new__
(cls, total_tokens: float)
src/anyio/_core/_synchronization.py:657
Method
__new__
( cls, *, deadline: float = math.inf, shield: bool = False )
src/anyio/_core/_tasks.py:55
Method
__new__
( # type: ignore[misc] cls, max_buffer_size: float = 0, item_type: object = None )
src/anyio/_core/_streams.py:36
Method
__new__
(cls, *, deadline: float = math.inf, shield: bool = False)
src/anyio/_backends/_asyncio.py:402
Method
__new__
(cls)
src/anyio/_backends/_asyncio.py:1993
Method
__new__
( cls, initial_value: int, *, max_value: int | None = None, fast_acqui
src/anyio/_backends/_asyncio.py:2102
Method
__new__
(cls, total_tokens: float)
src/anyio/_backends/_asyncio.py:2190
Method
__new__
( cls, original: trio.CancelScope | None = None, **kwargs: object )
src/anyio/_backends/_trio.py:150
Method
__new__
(cls)
src/anyio/_backends/_trio.py:707
Method
__new__
( cls, initial_value: int, *, max_value: int | None = None, fast_acqui
src/anyio/_backends/_trio.py:788
Method
__new__
( cls, total_tokens: float | None = None, *, original: trio.CapacityLimiter |
src/anyio/_backends/_trio.py:844
Method
__post_init__
(self)
src/anyio/_core/_sockets.py:943
Method
__post_init__
(self)
src/anyio/streams/stapled.py:130
Method
__post_init__
(self, encoding: str, errors: str)
src/anyio/streams/text.py:57
Method
__post_init__
(self, encoding: str)
src/anyio/streams/text.py:108
Method
__post_init__
(self, encoding: str, errors: str)
src/anyio/streams/text.py:149
Method
__post_init__
(self)
src/anyio/streams/memory.py:85
Method
__post_init__
(self)
src/anyio/streams/memory.py:221
Method
__post_init__
(self, data: bytes)
tests/streams/test_stapled.py:26
Method
__post_init__
(self, data: Iterable[T_Item])
tests/streams/test_stapled.py:115
Method
__repr__
(self)
src/anyio/lowlevel.py:227
Method
__repr__
(self)
src/anyio/_core/_futures.py:187
Method
__repr__
(self)
src/anyio/_core/_fileio.py:388
Method
__repr__
(self)
src/anyio/_core/_tasks.py:460
Method
__repr__
(self)
src/anyio/_core/_testing.py:45
Method
__repr__
(self)
src/anyio/streams/memory.py:48
Method
__rtruediv__
(self, other: str | PathLike[str])
src/anyio/_core/_fileio.py:420
Method
__str__
(self)
src/anyio/_core/_fileio.py:385
Method
__str__
(self)
src/anyio/_core/_exceptions.py:44
Method
__truediv__
(self, other: str | PathLike[str])
src/anyio/_core/_fileio.py:417
Method
__vfspath__
(self)
src/anyio/_core/_fileio.py:382
Method
_check_closed
(self)
src/anyio/_backends/_trio.py:455
Function
_check_main_importable
Helper that runs in the worker process to check main was imported correctly
tests/test_to_process.py:157
Method
_current_vars
(self)
src/anyio/lowlevel.py:152
Method
_deliver
(self, signum: Signals)
src/anyio/_backends/_asyncio.py:2324
Function
_do_shutdown
(future: asyncio.futures.Future)
src/anyio/_backends/_asyncio.py:283
Method
_effectively_cancelled
(self)
src/anyio/_backends/_asyncio.py:572
Method
_event
(self)
src/anyio/_core/_synchronization.py:131
Method
_exception_handler
( self, loop: asyncio.AbstractEventLoop, context: dict[str, Any] )
src/anyio/_backends/_asyncio.py:2440
Function
_flood_stderr
Helper that writes enough data to stderr to fill an undrained pipe buffer.
tests/test_to_process.py:61
Function
_forcibly_shutdown_process_pool_on_exit
Forcibly shuts down worker processes belonging to this event loop.
src/anyio/_backends/_asyncio.py:1286
Function
_interp_call
( func: Callable[..., Any], args: tuple[Any, ...] )
src/anyio/to_interpreter.py:28
Method
_limiter
(self)
src/anyio/_core/_synchronization.py:665
Method
_lock
(self)
src/anyio/_core/_synchronization.py:222
Method
_main_task_finished
(self, outcome: object)
src/anyio/_backends/_trio.py:1002
Method
_on_sigint
(self, signum, frame, main_task: asyncio.Task)
src/anyio/_backends/_asyncio.py:249
← previous
next →
701–800 of 2,553, ranked by callers