awesome-asyncio
A curated list of awesome Python asyncio frameworks, libraries, software and resources
https://github.com/eric-erki/awesome-asyncio
Last synced: 20 days ago
JSON representation
Alternative Loops
- uvloop - Ultra fast implementation of asyncio event loop on top of libuv.
Alternatives to asyncio
- Curio-Asyncio Bridge - basic curio -> asyncio coroutine bridge
- curio - The coroutine concurrency library.
- trio - Pythonic async I/O for humans and snake people.
- trio-asyncio - re-implementation of the asyncio mainloop on top of Trio
Database Drivers
- asyncpg - Fast PostgreSQL Database Client Library for Python/asyncio.
- asyncpgsa - Asyncpg with sqlalchemy core support.
- aiomysql - Library for accessing a MySQL database
- aioodbc - Library for accessing a ODBC databases.
- motor - The async Python driver for MongoDB.
- asyncio-redis - Redis client for Python asyncio (PEP 3156).
- aiocouchdb - CouchDB client built on top of aiohttp (asyncio).
- peewee-async - ORM implementation based on peewee and aiopg.
- Tortoise ORM - native multi-backend ORM with Django-like API and easy relations management.
- Databases - Async database access for SQLAlchemy core, with support for PostgreSQL, MySQL, and SQLite.
- GINO - is a lightweight asynchronous Python ORM based on SQLAlchemy core, with asyncpg dialect.
- aiopg - Library for accessing a PostgreSQL database.
- aioinflux - InfluxDB client built on top of aiohttp.
- aioes - Asyncio compatible driver for elasticsearch.
GraphQL
-
Tartiflette
- Schema-first Python 3.6+ GraphQL engine built on top of
libgraphqlparser. - Ariadne - Schema-first Python library for implementing GraphQL servers.
Message Queues
Misc
- aiodebug - A tiny library for monitoring and testing asyncio programs.
-
aiorun
- A
run()function that handles all the usual boilerplate for startup and graceful shutdown. - aiozipkin - Distributed tracing instrumentation for asyncio with zipkin
- ruia - An async web scraping micro-framework based on asyncio.
- aiofiles - File support for asyncio.
Networking
Talks
- 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 - grinberg-asynchronous-python-for-the-complete-beginner) - PyCon 2017 (Miguel Grinberg).
- Topics of Interest (Python Asyncio) - of-interest-async) - PyCon Brasil 2015 keynote (David Beazley).
- Async/await in Python 3.5 and why it is awesome - EuroPython 2016 (Yury Selivanov).
- Python Asynchronous I/O Walkthrough - async-io-walkthrough.htm) - 8-part code walkthrough (Philip Guo).
Testing
- pytest-asyncio - Pytest support for asyncio.
- aioresponses - Helper for mock/fake web requests in Python aiohttp package.
- aiomock - A python mock library that supports async methods.
- asynctest - Enhance the standard unittest package with features for testing. asyncio libraries
Web Frameworks
- Quart - An asyncio web microframework with the same API as Flask.
- Vibora - Performant web framework inspired by Flask.
- cirrina - Opinionated asynchronous web framework based on aiohttp.
- autobahn - WebSocket and WAMP supporting asyncio and Twisted, for clients and servers.
- Japronto! - Experimental http toolkit built on top of uvloop and picohttpparser.
- Starlette - A lightweight ASGI framework/toolkit for building high performance services.
- uvicorn - The lightning-fast ASGI server.
- sanic - Python 3.5+ web server that's written to go fast.
- aiohttp - Http client/server for asyncio (PEP-3156).
- websockets - A library for building WebSocket servers and clients in Python with a focus on correctness and simplicity.
- FastAPI - A very high performance Python 3.6+ API framework based on type hints. Powered by Starlette and Pydantic.
Writings
- Official asyncio documentation - Asynchronous I/O, event loop, coroutines and tasks.
- Async Through the looking Glass - Nice writing about it's worth using asyncio or not for specific use-cases.
- Asynchronous Python - Introduction into asynchronous programming with Python.
- 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.
- AsyncIO for the Working Python Developer - A gentle introduction to asynchronous programming from basic examples working up to URL fetching.