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 3 years ago
Linked from 4 awesome lists

asyncioawesomeawesome-listclosembercoroutinespythonpython-asyncio

Awesome asyncio / Web Frameworks

FastAPI78,676almost 2 years agoA very high performance Python 3.6+ API framework based on type hints. Powered by Starlette and Pydantic
DjangoAn established, high-level Python web framework with a huge community and ecosystem
Starlette10,361almost 2 years agoA lightweight ASGI framework/toolkit for building high performance services
aiohttp15,215almost 2 years agoHttp client/server for asyncio (PEP-3156)
sanic18,154almost 2 years agoPython 3.5+ web server that's written to go fast
Quart3,076almost 2 years agoAn asyncio web microframework with the same API as Flask
autobahn2,484about 2 years agoWebSocket and WAMP supporting asyncio and Twisted, for clients and servers
websockets5,242almost 2 years agoA library for building WebSocket servers and clients in Python with a focus on correctness and simplicity
TornadoPerformant web framework and asynchronous networking library
uvicorn8,695almost 2 years agoThe lightning-fast ASGI server

Awesome asyncio / Message Queues

aioamqp278over 3 years agoAMQP implementation using asyncio
pyzmq3,745almost 2 years agoPython bindings for ZeroMQ
aiozmq421almost 4 years agoAlternative Asyncio integration with ZeroMQ
crossbar2,048over 2 years agoCrossbar.io is a networking platform for distributed and microservice applications
asyncio-nats922almost 2 years agoClient for the NATS messaging system
aiokafka1,178almost 2 years agoClient for Apache Kafka

Awesome asyncio / Database Drivers

asyncpg7,049almost 2 years agoFast PostgreSQL Database Client Library for Python/asyncio
asyncpgsa416over 2 years agoAsyncpg with sqlalchemy core support
aiopg1,402over 2 years agoLibrary for accessing a PostgreSQL database
aiomysql1,768almost 2 years agoLibrary for accessing a MySQL database
aioodbc311almost 3 years agoLibrary for accessing a ODBC databases
motor2,446almost 2 years agoThe async Python driver for MongoDB
redis-py12,733almost 2 years agoRedis Python Client (which includes now)
aiocouchdb53over 8 years agoCouchDB client built on top of aiohttp (asyncio)
aioinflux159about 3 years agoInfluxDB client built on top of aiohttp
aioes97over 7 years agoAsyncio compatible driver for elasticsearch
peewee-async735almost 2 years agoORM implementation based on and aiopg
GINO2,686over 4 years agois a lightweight asynchronous Python ORM based on core, with dialect
Tortoise ORM4,728almost 2 years agonative multi-backend ORM with Django-like API and easy relations management
Databases3,853over 2 years agoAsync database access for SQLAlchemy core, with support for PostgreSQL, MySQL, and SQLite
Prisma Client Python1,911almost 2 years agoAn auto-generated, fully type safe ORM powered by Pydantic and tailored specifically for your schema - supports SQLite, PostgreSQL, MySQL, MongoDB, MariaDB and more
Piccolo1,464almost 2 years agoAn ORM / query builder which can work in async and sync modes, with a nice admin GUI, and ASGI middleware
BeanieAn async MongoDB ODM built on and

Awesome asyncio / Networking

AsyncSSH1,566almost 2 years agoProvides an asynchronous client and server implementation of the SSHv2 protocol
aiodns544about 2 years agoSimple DNS resolver for asyncio
aioping82over 2 years agoFast asyncio implementation of ICMP (ping) protocol
httpx13,444almost 2 years agoasynchronous HTTP client for Python 3 with compatible API

Awesome asyncio / GraphQL

AriadneSchema-first Python library for implementing GraphQL servers
TartifletteSchema-first Python 3.6+ GraphQL engine built on top of
StrawberryCode-first Python 3 GraphQL server with Django, Flask and FastAPI/Starlette support

Awesome asyncio / Testing

aiomock26over 2 years agoA python mock library that supports async methods
asynctest309over 2 years agoEnhance the standard unittest package with features for testing. asyncio libraries
pytest-asyncio1,443almost 2 years agoPytest support for asyncio
aresponses104about 2 years agoAsyncio http mocking. Similar to the library used for
aioresponses519almost 2 years agoHelper for mock/fake web requests in Python aiohttp package

Awesome asyncio / Alternative Loops

uvloop10,504almost 2 years agoUltra fast implementation of asyncio event loop on top of libuv

Awesome asyncio / Misc

aiochan165almost 4 years agoCSP-style concurrency with channels, select and multiprocessing on top of asyncio
aiocache1,173almost 2 years agoCache manager for different backends
aiofiles2,908almost 2 years agoFile support for asyncio
aiopath166almost 2 years agoAsynchronous for asyncio
aiodebug63over 4 years agoA tiny library for monitoring and testing asyncio programs
aiorun439about 2 years agoA function that handles all the usual boilerplate for startup and graceful shutdown
aiosc36over 2 years agoLightweight Open Sound Control implementation
aioserial133about 4 years agoA drop-in replacement of
aiozipkin187almost 2 years agoDistributed tracing instrumentation for asyncio with zipkin
asgiref1,495almost 2 years agoBackend utils for ASGI to WSGI integration, includes sync_to_async and async_to_sync function wrappers
async_property88about 3 years agoPython decorator for async properties
ruia1,753about 3 years agoAn async web scraping micro-framework based on asyncio
kubernetes_asyncio370almost 2 years agoAsynchronous client library for Kubernetes
aiomisc386almost 2 years agoMiscellaneous utils for
taskiqAsynchronous distributed task manager (like celery, but async)

Awesome asyncio / Writings

Official asyncio documentationAsynchronous I/O, event loop, coroutines and tasks
Short well-written intro to asyncioGenerators, Coroutines, Native Coroutines and async/await
AsyncIO for the Working Python DeveloperA gentle introduction to asynchronous programming from basic examples working up to URL fetching
Test limits of Python aiohttpMaking 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 AsyncioA no-buzzword first principles introduction to the internal workings of asyncio
Developing and Testing an Asynchronous API with FastAPI and PytestThis tutorial looks at how to develop and test an asynchronous API with FastAPI using Test-Driven Development (TDD)
Python Concurrency with asyncioLearn 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 Walkthrough8-part code walkthrough (Philip Guo)
Async/await in Python 3.5 and why it is awesomeEuroPython 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 KeywordsJetBrains TV 2020 (Michael Kennedy)

Awesome asyncio / Alternatives to asyncio

curio4,051almost 2 years agoThe coroutine concurrency library

Awesome asyncio / Alternatives to asyncio / curio

Curio-Asyncio Bridge4,051almost 2 years agobasic curio -> asyncio coroutine bridge

Awesome asyncio / Alternatives to asyncio

trio6,269almost 2 years agoPythonic async I/O for humans and snake people

Awesome asyncio / Alternatives to asyncio / trio

trio-asyncio189over 2 years agore-implementation of the asyncio mainloop on top of Trio

Awesome asyncio / Alternatives to asyncio

AnyIO1,848almost 2 years agoHigh level asynchronous concurrency and networking framework that works on top of either trio or asyncio

Backlinks from these awesome lists:

More related projects: