#concurrency
3 pages tagged concurrency.
3/3
anyio
Package-level reference for anyio on PyPI — install, version policy, task groups, cancel scopes, and the API that runs identically on asyncio and trio.
Asynchronous Programming
Non-blocking concurrency built on event loops, futures, promises, and coroutines that lets a single thread overlap many in-flight I/O operations.
asyncio
Write concurrent Python code with asyncio. Covers coroutines, asyncio.run, gather, create_task, timeouts, queues, and avoiding the blocking-call pitfall.