awesome-asyncio

Asyncio framework collection

A curated list of Python asyncio frameworks and libraries.

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

GitHub

5k stars
125 watching
322 forks
last commit: over 1 year ago
Linked from 4 awesome lists

asyncioawesomeawesome-listclosembercoroutinespythonpython-asyncio

Awesome asyncio / Web Frameworks

FastAPI 78,258 about 24 hours ago A very high performance Python 3.6+ API framework based on type hints. Powered by Starlette and Pydantic
Django An established, high-level Python web framework with a huge community and ecosystem
Starlette 10,319 2 days ago A lightweight ASGI framework/toolkit for building high performance services
aiohttp 15,184 1 day ago Http client/server for asyncio (PEP-3156)
sanic 18,121 20 days ago Python 3.5+ web server that's written to go fast
Quart 3,038 11 days ago An asyncio web microframework with the same API as Flask
autobahn 2,483 4 months ago WebSocket and WAMP supporting asyncio and Twisted, for clients and servers
websockets 5,233 16 days ago A library for building WebSocket servers and clients in Python with a focus on correctness and simplicity
Tornado Performant web framework and asynchronous networking library
uvicorn 8,642 3 days ago The lightning-fast ASGI server

Awesome asyncio / Message Queues

aioamqp 278 over 1 year ago AMQP implementation using asyncio
pyzmq 3,734 29 days ago Python bindings for ZeroMQ
aiozmq 421 about 2 years ago Alternative Asyncio integration with ZeroMQ
crossbar 2,049 6 months ago Crossbar.io is a networking platform for distributed and microservice applications
asyncio-nats 909 about 2 months ago Client for the NATS messaging system
aiokafka 1,170 17 days ago Client for Apache Kafka

Awesome asyncio / Database Drivers

asyncpg 7,021 29 days ago Fast PostgreSQL Database Client Library for Python/asyncio
asyncpgsa 416 10 months ago Asyncpg with sqlalchemy core support
aiopg 1,399 6 months ago Library for accessing a PostgreSQL database
aiomysql 1,766 about 1 month ago Library for accessing a MySQL database
aioodbc 310 about 1 year ago Library for accessing a ODBC databases
motor 2,438 13 days ago The async Python driver for MongoDB
redis-py 12,692 5 days ago Redis Python Client (which includes now)
aiocouchdb 53 over 6 years ago CouchDB client built on top of aiohttp (asyncio)
aioinflux 159 over 1 year ago InfluxDB client built on top of aiohttp
aioes 97 over 5 years ago Asyncio compatible driver for elasticsearch
peewee-async 734 about 2 months ago ORM implementation based on and aiopg
GINO 2,682 almost 3 years ago is a lightweight asynchronous Python ORM based on core, with dialect
Tortoise ORM 4,697 8 days ago native multi-backend ORM with Django-like API and easy relations management
Databases 3,849 7 months ago Async database access for SQLAlchemy core, with support for PostgreSQL, MySQL, and SQLite
Prisma Client Python 1,900 2 days ago An auto-generated, fully type safe ORM powered by Pydantic and tailored specifically for your schema - supports SQLite, PostgreSQL, MySQL, MongoDB, MariaDB and more
Piccolo 1,456 27 days ago An ORM / query builder which can work in async and sync modes, with a nice admin GUI, and ASGI middleware
Beanie An async MongoDB ODM built on and

Awesome asyncio / Networking

AsyncSSH 1,559 3 days ago Provides an asynchronous client and server implementation of the SSHv2 protocol
aiodns 539 3 months ago Simple DNS resolver for asyncio
aioping 82 11 months ago Fast asyncio implementation of ICMP (ping) protocol
httpx 13,364 2 days ago asynchronous HTTP client for Python 3 with compatible API

Awesome asyncio / GraphQL

Ariadne Schema-first Python library for implementing GraphQL servers
Tartiflette Schema-first Python 3.6+ GraphQL engine built on top of
Strawberry Code-first Python 3 GraphQL server with Django, Flask and FastAPI/Starlette support

Awesome asyncio / Testing

aiomock 26 8 months ago A python mock library that supports async methods
asynctest 309 8 months ago Enhance the standard unittest package with features for testing. asyncio libraries
pytest-asyncio 1,436 7 days ago Pytest support for asyncio
aresponses 103 5 months ago Asyncio http mocking. Similar to the library used for
aioresponses 518 18 days ago Helper for mock/fake web requests in Python aiohttp package

Awesome asyncio / Alternative Loops

uvloop 10,457 about 2 months ago Ultra fast implementation of asyncio event loop on top of libuv

Awesome asyncio / Misc

aiochan 165 about 2 years ago CSP-style concurrency with channels, select and multiprocessing on top of asyncio
aiocache 1,155 5 days ago Cache manager for different backends
aiofiles 2,883 21 days ago File support for asyncio
aiopath 165 about 1 month ago Asynchronous for asyncio
aiodebug 63 almost 3 years ago A tiny library for monitoring and testing asyncio programs
aiorun 439 4 months ago A function that handles all the usual boilerplate for startup and graceful shutdown
aiosc 36 8 months ago Lightweight Open Sound Control implementation
aioserial 133 over 2 years ago A drop-in replacement of
aiozipkin 187 about 1 month ago Distributed tracing instrumentation for asyncio with zipkin
asgiref 1,490 about 2 months ago Backend utils for ASGI to WSGI integration, includes sync_to_async and async_to_sync function wrappers
async_property 88 about 1 year ago Python decorator for async properties
ruia 1,752 over 1 year ago An async web scraping micro-framework based on asyncio
kubernetes_asyncio 366 10 days ago Asynchronous client library for Kubernetes
aiomisc 386 5 days ago Miscellaneous utils for
taskiq Asynchronous distributed task manager (like celery, but async)

Awesome asyncio / Writings

Official asyncio documentation Asynchronous I/O, event loop, coroutines and tasks
Short well-written intro to asyncio Generators, Coroutines, Native Coroutines and async/await
AsyncIO for the Working Python Developer A gentle introduction to asynchronous programming from basic examples working up to URL fetching
Test limits of Python aiohttp Making 1 million requests with python-aiohttp
ASGI (Asynchronous Server Gateway Interface) A spiritual successor to WSGI, intended to provide a standard interface between async-capable Python web servers, frameworks, and applications
First Principles Introduction to Asyncio A no-buzzword first principles introduction to the internal workings of asyncio
Developing and Testing an Asynchronous API with FastAPI and Pytest This tutorial looks at how to develop and test an asynchronous API with FastAPI using Test-Driven Development (TDD)
Python Concurrency with asyncio Learn how to speed up slow Python code with concurrent programming and the cutting-edge asyncio library

Awesome asyncio / Talks

Topics of Interest (Python Asyncio) | | - PyCon Brasil 2015 keynote (David Beazley)
Python Asynchronous I/O Walkthrough 8-part code walkthrough (Philip Guo)
Async/await in Python 3.5 and why it is awesome EuroPython 2016 (Yury Selivanov)
Fear and Awaiting in Async: A Savage Journey to the Heart of the Coroutine Dream | - PyOhio 2016 keynote (David Beazley)
Asynchronous Python for the Complete Beginner | - PyCon 2017 (Miguel Grinberg)
Demystifying Python's Async and Await Keywords JetBrains TV 2020 (Michael Kennedy)

Awesome asyncio / Alternatives to asyncio

curio 4,049 about 2 months ago The coroutine concurrency library

Awesome asyncio / Alternatives to asyncio / curio

Curio-Asyncio Bridge 4,049 about 2 months ago basic curio -> asyncio coroutine bridge

Awesome asyncio / Alternatives to asyncio

trio 6,232 2 days ago Pythonic async I/O for humans and snake people

Awesome asyncio / Alternatives to asyncio / trio

trio-asyncio 189 7 months ago re-implementation of the asyncio mainloop on top of Trio

Awesome asyncio / Alternatives to asyncio

AnyIO 1,828 7 days ago High level asynchronous concurrency and networking framework that works on top of either trio or asyncio

Backlinks from these awesome lists:

More related projects: