Links tagged “asyncio”
20 links, newest first.
github.com
Pure-Python AMQP 0.9.1 client library for asyncio, talking to brokers such as RabbitMQ with async/await.
vorpus.org
Argues that go statements wreck control flow the way goto did, and proposes the nursery — a scope that cannot exit until its child tasks have finished.
pythonsheets.com
Cheat sheet on asynchronous Python, tracing the path from callbacks and generators to coroutines and async/await with runnable snippets at each step.
techspot.zzzeek.org
Benchmarked argument that asyncio slows database-bound Python code down, because interpreter overhead — not database I/O — dominates typical CRUD work.
aiohttp-wsgi.readthedocs.io
Documentation for aiohttp-wsgi, an adapter that runs WSGI applications such as Django or Flask on the asyncio-based aiohttp server.
github.com
A PostgreSQL client library for Python/asyncio, built for fast asynchronous database access.
glyph.twistedmatrix.com
An argument that asyncio does not make Twisted obsolete, since Twisted is a full application platform where asyncio is only an event-loop kernel.
uvloop.readthedocs.io
Documentation for uvloop, a fast drop-in replacement for the built-in asyncio event loop, written in Cython on top of libuv.
docs.python.org
Python's asyncio event loop reference — scheduling callbacks, network I/O, subprocesses, executors and the available loop implementations.
docs.python.org
Python 3.5's asyncio reference for coroutines, futures and tasks, covering gather(), wait(), wait_for(), shield() and ensure_future().
docs.python.org
Python's asyncio reference for coroutine-safe queues — Queue, PriorityQueue and LifoQueue — with put(), get(), join() and task_done().
snarky.ca
A walk through how async/await is built in Python 3.5, from generators and yield from to coroutines, ending with a minimal event loop written from scratch.
ntoll.org
An introduction to asyncio as it landed in Python 3.4 — event loop, coroutines, futures and tasks — with worked non-blocking network examples.
youtube.com
David Beazley builds Python concurrency up from primitives, live on stage at PyCon 2015, ending at asyncio.
github.com
Book chapter by A. Jesse Jiryu Davis and Guido van Rossum building a concurrent web crawler three ways — threads, then callbacks, then generator-based coroutines.
emptysqua.re
Resource page for A. Jesse Jiryu Davis's talk on coding a Python 3 async framework from scratch, linking the demo repository and the 500 Lines chapter.
python.org
The PEP that adds native coroutines to Python 3.5 with async def and await, along with async with and async for.


















