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
__init__
(self, max_bytes: int)
src/anyio/_core/_exceptions.py:100
Method
__init__
(self)
src/anyio/_core/_exceptions.py:153
Method
__init__
(self)
src/anyio/_core/_asyncio_selector_thread.py:18
Method
__init__
(self)
src/anyio/_core/_synchronization.py:120
Method
__init__
(self, *, fast_acquire: bool = False)
src/anyio/_core/_synchronization.py:211
Method
__init__
( self, initial_value: int, *, max_value: int | None = None, fast_acqu
src/anyio/_core/_synchronization.py:399
Method
__init__
( self, initial_value: int, *, max_value: int | None = None, fast_acqu
src/anyio/_core/_synchronization.py:480
Method
__init__
(self, total_tokens: float)
src/anyio/_core/_synchronization.py:652
Method
__init__
(self, action: str = "using")
src/anyio/_core/_synchronization.py:756
Method
__init__
(self, coro: Coroutine[Any, Any, T_co], name: object)
src/anyio/_core/_tasks.py:255
Method
__init__
( self, id: int, parent_id: int | None, name: str | None, coro: Genera
src/anyio/_core/_testing.py:22
Method
__init__
:param connectable: the bytestream endpoint to wrap
src/anyio/streams/text.py:166
Method
__init__
:param stream: the stream to be wrapped
src/anyio/streams/buffered.py:163
Method
__init__
:param connectable: the connectable to wrap
src/anyio/streams/buffered.py:191
Method
__init__
( self, connectable: AnyByteStreamConnectable, *, hostname: str | None = None,
src/anyio/streams/tls.py:404
Method
__init__
(self, file: IO[bytes])
src/anyio/streams/file.py:36
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:404
Method
__init__
(self, parent_id: int | None, cancel_scope: CancelScope | None)
src/anyio/_backends/_asyncio.py:714
Method
__init__
(self, future: asyncio.Future, parent_id: int)
src/anyio/_backends/_asyncio.py:728
Method
__init__
(self)
src/anyio/_backends/_asyncio.py:752
Method
__init__
( self, root_task: asyncio.Task, workers: set[WorkerThread], idle_workers: deq
src/anyio/_backends/_asyncio.py:984
Method
__init__
(self, transport: asyncio.Transport, protocol: StreamProtocol)
src/anyio/_backends/_asyncio.py:1315
Method
__init__
(self, raw_socket: socket.socket)
src/anyio/_backends/_asyncio.py:1407
Method
__init__
(self, raw_socket: socket.socket)
src/anyio/_backends/_asyncio.py:1571
Method
__init__
(self, raw_socket: socket.socket)
src/anyio/_backends/_asyncio.py:1628
Method
__init__
( self, transport: asyncio.DatagramTransport, protocol: DatagramProtocol )
src/anyio/_backends/_asyncio.py:1665
Method
__init__
( self, transport: asyncio.DatagramTransport, protocol: DatagramProtocol )
src/anyio/_backends/_asyncio.py:1715
Method
__init__
(self)
src/anyio/_backends/_asyncio.py:1853
Method
__init__
( self, initial_value: int, *, max_value: int | None = None, fast_acqu
src/anyio/_backends/_asyncio.py:1968
Method
__init__
(self, total_tokens: float)
src/anyio/_backends/_asyncio.py:2050
Method
__init__
(self, signals: tuple[Signals, ...])
src/anyio/_backends/_asyncio.py:2175
Method
__init__
(self, task: asyncio.Task)
src/anyio/_backends/_asyncio.py:2221
Method
__init__
( self, *, debug: bool | None = None, use_uvloop: bool = False, loop_f
src/anyio/_backends/_asyncio.py:2256
Method
__init__
(self)
src/anyio/_backends/_asyncio.py:2438
Method
__init__
(self, original: trio.CancelScope | None = None, **kwargs: Any)
src/anyio/_backends/_trio.py:151
Method
__init__
(self)
src/anyio/_backends/_trio.py:216
Method
__init__
(self, trio_socket: TrioSocketType)
src/anyio/_backends/_trio.py:446
Method
__init__
(self, trio_socket: TrioSocketType)
src/anyio/_backends/_trio.py:477
Method
__init__
(self, raw_socket: socket.socket)
src/anyio/_backends/_trio.py:580
Method
__init__
(self, raw_socket: socket.socket)
src/anyio/_backends/_trio.py:596
Method
__init__
(self, trio_socket: TrioSocketType)
src/anyio/_backends/_trio.py:611
Method
__init__
(self, trio_socket: TrioSocketType)
src/anyio/_backends/_trio.py:633
Method
__init__
(self, trio_socket: TrioSocketType)
src/anyio/_backends/_trio.py:654
Method
__init__
(self, trio_socket: TrioSocketType)
src/anyio/_backends/_trio.py:678
Method
__init__
(self)
src/anyio/_backends/_trio.py:709
Method
__init__
( self, initial_value: int, *, max_value: int | None = None, fast_acqu
src/anyio/_backends/_trio.py:796
Method
__init__
( self, total_tokens: float | None = None, *, original: trio.CapacityLimiter |
src/anyio/_backends/_trio.py:851
Method
__init__
(self, signals: tuple[Signals, ...])
src/anyio/_backends/_trio.py:935
Method
__init__
(self, **options: Any)
src/anyio/_backends/_trio.py:965
Method
__init__
(self, task: trio.lowlevel.Task)
src/anyio/_backends/_trio.py:1060
Method
__init__
(self, ignore_error: bool)
tests/test_from_thread.py:338
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:124
Method
__init__
(self, handle_exc: bool = False)
tests/test_contextmanagers.py:228
Method
__init__
(self, iterable: Iterable[T])
tests/test_itertools.py:51
Method
__init_subclass__
(cls)
src/anyio/_core/_typedattr.py:25
Method
__le__
(self, other: pathlib.PurePath | Path)
src/anyio/_core/_fileio.py:403
Method
__lt__
(self, other: pathlib.PurePath | Path)
src/anyio/_core/_fileio.py:399
Method
__new__
(cls)
src/anyio/_core/_synchronization.py:85
Method
__new__
(cls)
src/anyio/_core/_synchronization.py:117
Method
__new__
(cls, *, fast_acquire: bool = False)
src/anyio/_core/_synchronization.py:208
Method
__new__
( cls, initial_value: int, *, max_value: int | None = None, fast_acqui
src/anyio/_core/_synchronization.py:385
Method
__new__
( cls, initial_value: int, *, max_value: int | None = None, fast_acqui
src/anyio/_core/_synchronization.py:471
Method
__new__
(cls, total_tokens: float)
src/anyio/_core/_synchronization.py:531
Method
__new__
(cls, total_tokens: float)
src/anyio/_core/_synchronization.py:649
Method
__new__
( cls, *, deadline: float = math.inf, shield: bool = False )
src/anyio/_core/_tasks.py:57
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:399
Method
__new__
(cls)
src/anyio/_backends/_asyncio.py:1850
Method
__new__
( cls, initial_value: int, *, max_value: int | None = None, fast_acqui
src/anyio/_backends/_asyncio.py:1959
Method
__new__
(cls, total_tokens: float)
src/anyio/_backends/_asyncio.py:2047
Method
__new__
( cls, original: trio.CancelScope | None = None, **kwargs: object )
src/anyio/_backends/_trio.py:146
Method
__new__
(cls)
src/anyio/_backends/_trio.py:706
Method
__new__
( cls, initial_value: int, *, max_value: int | None = None, fast_acqui
src/anyio/_backends/_trio.py:787
Method
__new__
( cls, total_tokens: float | None = None, *, original: trio.CapacityLimiter |
src/anyio/_backends/_trio.py:843
Method
__post_init__
(self)
src/anyio/_core/_sockets.py:922
Method
__post_init__
(self)
src/anyio/streams/stapled.py:120
Method
__post_init__
(self, encoding: str, errors: str)
src/anyio/streams/text.py:56
Method
__post_init__
(self, encoding: str)
src/anyio/streams/text.py:96
Method
__post_init__
(self, encoding: str, errors: str)
src/anyio/streams/text.py:136
Method
__post_init__
(self)
src/anyio/streams/memory.py:84
Method
__post_init__
(self)
src/anyio/streams/memory.py:203
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/_fileio.py:386
Method
__repr__
(self)
src/anyio/_core/_tasks.py:408
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:418
Method
__str__
(self)
src/anyio/_core/_fileio.py:383
Method
__str__
(self)
src/anyio/_core/_exceptions.py:44
Method
__truediv__
(self, other: str | PathLike[str])
src/anyio/_core/_fileio.py:415
Method
__vfspath__
(self)
src/anyio/_core/_fileio.py:380
Method
_call_func
( self, func: Callable[[Unpack[PosArgsT]], Awaitable[T_Retval] | T_Retval], args: tupl
src/anyio/from_thread.py:240
Method
_check_closed
(self)
src/anyio/_backends/_trio.py:450
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
← previous
next →
601–700 of 2,163, ranked by callers