awesome-asyncio
  
  
    A curated list of awesome Python asyncio frameworks, libraries, software and resources 
    https://github.com/timofurrer/awesome-asyncio
  
        Last synced: about 1 hour ago 
        JSON representation
    
- 
            
Web Frameworks
- Django - An established, high-level Python web framework with a huge community and ecosystem.
 - sanic - Python 3.5+ web server that's written to go fast.
 - websockets - 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.
 - aiohttp - Http client/server for asyncio (PEP-3156).
 - sanic - Python 3.5+ web server that's written to go fast.
 - websockets - 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.
 - Starlette - A lightweight ASGI framework/toolkit for building high performance services.
 - Quart - An asyncio web microframework with the same API as Flask.
 - autobahn - WebSocket and WAMP supporting asyncio and Twisted, for clients and servers.
 - uvicorn - The lightning-fast ASGI server.
 - sanic - Python 3.5+ web server that's written to go fast.
 - FastAPI - A very high performance Python 3.6+ API framework based on type hints. Powered by Starlette and Pydantic.
 - 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.
 
 - 
            
Database Drivers
- Beanie - An async MongoDB ODM built on [motor](https://github.com/mongodb/motor) and [Pydantic](https://pydantic-docs.helpmanual.io).
 - aioinflux - InfluxDB client built on top of aiohttp.
 - aioes - Asyncio compatible driver for elasticsearch.
 - GINO - is a lightweight asynchronous Python ORM based on [SQLAlchemy](https://www.sqlalchemy.org/) core, with [asyncpg](https://github.com/MagicStack/asyncpg) dialect.
 - Beanie - An async MongoDB ODM built on [motor](https://github.com/mongodb/motor) and [Pydantic](https://pydantic-docs.helpmanual.io).
 - 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.
 - redis-py - Redis Python Client (which includes [aioreadis](https://github.com/aio-libs/aioredis) now).
 - aiocouchdb - CouchDB client built on top of aiohttp (asyncio).
 - peewee-async - ORM implementation based on [peewee](https://github.com/coleifer/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.
 - Prisma Client Python - 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 - An ORM / query builder which can work in async and sync modes, with a nice admin GUI, and ASGI middleware.
 
 - 
            
GraphQL
- Ariadne - Schema-first Python library for implementing GraphQL servers.
 - Tartiflette - Schema-first Python 3.6+ GraphQL engine built on top of `libgraphqlparser`.
 - Strawberry - Code-first Python 3 GraphQL server with Django, Flask and FastAPI/Starlette support.
 - Ariadne - Schema-first Python library for implementing GraphQL servers.
 - Strawberry - Code-first Python 3 GraphQL server with Django, Flask and FastAPI/Starlette support.
 
 - 
            
Misc
- taskiq - Asynchronous distributed task manager (like celery, but async).
 - aiocache - Cache manager for different backends.
 - aioserial - A drop-in replacement of [pySerial](https://github.com/pyserial/pyserial).
 - aiochan - CSP-style concurrency with channels, select and multiprocessing on top of asyncio.
 - aiopath - Asynchronous `pathlib` for asyncio.
 - 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.
 - aiosc - Lightweight Open Sound Control implementation.
 - aiozipkin - Distributed tracing instrumentation for asyncio with zipkin
 - asgiref - Backend utils for ASGI to WSGI integration, includes sync_to_async and async_to_sync function wrappers.
 - async_property - Python decorator for async properties.
 - ruia - An async web scraping micro-framework based on asyncio.
 - kubernetes_asyncio - Asynchronous client library for Kubernetes.
 - aiomisc - Miscellaneous utils for `asyncio`.
 
 - 
            
Writings
- Official asyncio documentation - Asynchronous I/O, event loop, coroutines and tasks.
 - 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.
 - 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.
 
 - 
            
Talks
- Topics of Interest (Python Asyncio) - of-interest-async) - 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 - grinberg-asynchronous-python-for-the-complete-beginner) - PyCon 2017 (Miguel Grinberg).
 - Demystifying Python's Async and Await Keywords - JetBrains TV 2020 (Michael Kennedy)
 - Python Asynchronous I/O Walkthrough - 8-part code walkthrough (Philip Guo).
 
 - 
            
Alternatives to asyncio
- Curio-Asyncio Bridge - basic curio -> asyncio coroutine bridge.
 
 - 
            
Message Queues
- asyncio-nats - Client for the NATS messaging system.
 - aioamqp - AMQP implementation using asyncio.
 - pyzmq - Python bindings for ZeroMQ.
 - aiozmq - Alternative Asyncio integration with ZeroMQ.
 - crossbar - Crossbar.io is a networking platform for distributed and microservice applications.
 - aiokafka - Client for Apache Kafka.
 
 - 
            
Testing
- aresponses - Asyncio http mocking. Similar to the [responses](https://github.com/getsentry/responses) library used for [requests](https://github.com/requests/requests).
 - pytest-asyncio - Pytest support for asyncio.
 - aioresponses - Helper for mock/fake web requests in Python aiohttp package.
 
 - 
            
Networking
 - 
            
Alternative Loops
- uvloop - Ultra fast implementation of asyncio event loop on top of libuv.
 
 
            Categories
          
          
        
            Sub Categories
          
          
            Keywords
          
          
              
                asyncio
                28
              
              
                python
                22
              
              
                async
                8
              
              
                mysql
                6
              
              
                postgresql
                6
              
              
                async-await
                5
              
              
                sqlite
                5
              
              
                aiohttp
                5
              
              
                orm
                4
              
              
                python3
                4
              
              
                asgi
                4
              
              
                http
                3
              
              
                async-python
                3
              
              
                sqlalchemy
                3
              
              
                asynchronous
                3
              
              
                http-server
                2
              
              
                mongodb
                2
              
              
                networking
                2
              
              
                high-performance
                2
              
              
                python-3
                2
              
              
                zeromq
                2
              
              
                postgres
                2
              
              
                websocket
                2
              
              
                uvloop
                2
              
              
                wamp
                2
              
              
                database
                2
              
              
                python310
                1
              
              
                mariadb
                1
              
              
                odbc
                1
              
              
                oracle
                1
              
              
                redis
                1
              
              
                redis-client
                1
              
              
                redis-cluster
                1
              
              
                redis-py
                1
              
              
                python-types
                1
              
              
                couchdb
                1
              
              
                peewee
                1
              
              
                prisma
                1
              
              
                websockets
                1
              
              
                quart
                1
              
              
                autobahn
                1
              
              
                pubsub
                1
              
              
                real-time
                1
              
              
                rpc
                1
              
              
                amqp
                1
              
              
                cython
                1
              
              
                zmq
                1
              
              
                broker
                1
              
              
                messaging
                1
              
              
                mqtt
                1