User Experience on mobile might not be great yet, but I'm working on it.

Your first time on this page? Allow me to give some explanations.

Awesome Asyncio

A curated list of awesome Python asyncio frameworks, libraries, software and resources

Here you can see meta information about this topic like the time we last updated this page, the original creator of the awesome list and a link to the original GitHub repository.

Last Update: Oct. 19, 2021, 6:03 a.m.

Thank you timofurrer & contributors
View Topic on GitHub:
timofurrer/awesome-asyncio

Search for resources by name or description.
Simply type in what you are looking for and the results will be filtered on the fly.

Further filter the resources on this page by type (repository/other resource), number of stars on GitHub and time of last commit in months.

Web Frameworks

Asynchronous HTTP client/server framework for asyncio and Python

10.86K
1.56K
8m
n/a

Async Python 3.6+ web server/framework | Build fast. Run fast.

14.6K
1.31K
7m
MIT

Fast, asynchronous and elegant Python web framework.

5.68K
313
2y 8m
MIT

cirrina is an opinionated asynchronous web framework based on aiohttp

30
5
8m
LGPL-3.0

WebSocket and WAMP in Python for Twisted and asyncio

2.25K
631
7m
MIT

Library for building WebSocket servers and clients in Python

3.2K
360
9m
BSD-3-Clause

Screaming-fast Python 3.5+ HTTP toolkit integrated with pipelining HTTP server based on uvloop and picohttpparser.

8.35K
573
1y 7m
MIT

The little ASGI framework that shines. ๐ŸŒŸ

5.18K
439
8m
BSD-3-Clause

The lightning-fast ASGI server. ๐Ÿฆ„

3.61K
289
8m
BSD-3-Clause

FastAPI framework, high performance, easy to learn, fast to code, ready for production

27.74K
1.89K
8m
MIT

An asyncio web microframework with the same API as Flask.

Performant web framework and asynchronous networking library.

Message Queues

AMQP implementation using asyncio

243
90
11m
n/a

PyZMQ: Python bindings for zeromq

2.7K
558
8m
n/a

Asyncio (pep 3156) integration with ZeroMQ

354
44
10m
BSD-2-Clause

Crossbar.io - WAMP application router

1.8K
260
8m
AGPL-3.0

Python3 client for NATS.io

377
72
10m
Apache-2.0

asyncio client for kafka

533
128
10m
Apache-2.0

Database Drivers

A fast PostgreSQL Database Client Library for Python/asyncio.

4.7K
264
8m
Apache-2.0

A wrapper around asyncpg for use with sqlalchemy

367
44
8m
Apache-2.0

aiopg is a library for accessing a PostgreSQL database from the asyncio

1.04K
135
1y 54d
BSD-2-Clause

aiomysql is a library for accessing a MySQL database from the asyncio

1.24K
201
10m
MIT

aioodbc - is a library for accessing a ODBC databases from the asyncio

203
34
8m
Apache-2.0

Motor - the async Python driver for MongoDB and Tornado or asyncio

1.64K
146
8m
Apache-2.0

asyncio (PEP 3156) Redis support

1.64K
238
8m
MIT

Redis client for Python asyncio (PEP 3156)

525
65
1y 4m
n/a

CouchDB client built on top of aiohttp (asyncio)

53
20
5y 38d
BSD-2-Clause

Asynchronous Python client for InfluxDB

140
21
1y 1d
MIT

asyncio compatible driver for elasticsearch

99
32
4y 59d
Apache-2.0

Asynchronous interface for peewee ORM powered by asyncio

605
86
1y 24d
MIT

GINO Is Not ORM - a Python asyncio ORM on SQLAlchemy core.

2K
123
8m
n/a

Familiar asyncio ORM for python, built with relations in mind

1.76K
157
8m
Apache-2.0

Async database support for Python. ๐Ÿ—„

2.01K
139
10m
BSD-3-Clause

Networking

AsyncSSH is a Python package which provides an asynchronous client and server implementation of the SSHv2 protocol on top of the Python asyncio framework. It requires Python 3.4 or later and the Python cryptography library for some cryptographic functions.

1.06K
104
10m
n/a

Simple DNS resolver for asyncio

366
50
1y 10m
MIT

A next generation HTTP client for Python. ๐Ÿฆ‹

6.49K
413
8m
BSD-3-Clause

GraphQL

Schema-first Python library for implementing GraphQL servers.

Schema-first Python 3.6+ GraphQL engine built on top of libgraphqlparser.

Testing

a version of pythons unittest.Mock with async methods

21
0
5y 29d
MIT

Enhance the standard unittest package with features for testing asyncio libraries

267
32
1y 50d
Apache-2.0

Pytest support for asyncio.

675
77
1y 5m
Apache-2.0

Asyncio http mocking. Similar to the responses library used for 'requests'

81
14
9m
MIT

Aioresponses is a helper for mock/fake web requests in python aiohttp package.

278
50
10m
MIT

Alternative Loops

Ultra fast asyncio event loop.

7.57K
448
8m
n/a

Misc

Asyncio cache manager for redis, memcached and memory

483
73
10m
BSD-3-Clause

File support for asyncio

1.29K
97
1y 95d
Apache-2.0

A tiny library for monitoring and testing asyncio programs

47
3
4y 7m
n/a

A "run" function for asyncio-based apps that does all the boilerplate.

214
15
9m
Apache-2.0

pyserial-asyncio for humans.

69
8
1y 13d
MPL-2.0

Distributed tracing instrumentation for asyncio with zipkin

162
24
9m
Apache-2.0

ASGI specification and utilities

792
113
8m
n/a

Async Python 3.6+ web scraping micro-framework based on asyncio

1.36K
143
8m
Apache-2.0

Writings

Python standard library) Asynchronous I/O, event loop, coroutines and tasks.

Generators, Coroutines, Native Coroutines and async/await.

A gentle introduction to asynchronous programming from basic examples working up to URL fetching.

A spiritual successor to WSGI, intended to provide a standard interface between async-capable Python web servers, frameworks, and applications.

A no-buzzword first principles introduction to the internal workings of asyncio.

This tutorial looks at how to develop and test an asynchronous API with FastAPI using Test-Driven Development (TDD).

Talks

screencast](https://youtu.be/lYe8W04ERnY) | slides - PyCon Brasil 2015 keynote (David Beazley).

blog post](http://pgbovine.net/python-async-io-walkthrough.htm) - 8-part code walkthrough (Philip Guo).

screencast](https://www.youtube.com/watch?v=Bm96RqNGbGo) - PyOhio 2016 keynote (David Beazley).

slides](https://speakerdeck.com/pycon2017/miguel-grinberg-asynchronous-python-for-the-complete-beginner) - PyCon 2017 (Miguel Grinberg).

Alternatives to asyncio

Curio - Dead Body Reported!

3.55K
229
9m
n/a

Trio โ€“ a friendly Python library for async concurrency and I/O

3.72K
223
7m
n/a

a re-implementation of the asyncio mainloop on top of Trio

132
31
8m
n/a