Python Asyncio

Open-source Python projects categorized as Asyncio

Top 23 Python Asyncio Projects

  • GitHub repo Home Assistant

    :house_with_garden: Open source home automation that puts local control and privacy first

    Project mention: Picture perfect iPad install...... | reddit.com/r/electricians | 2021-02-24

    I've been using https://www.home-assistant.io/ for years and love it. It's not something I'd give to the average consumer, but for someone who is able to learn a little, or can pay someone to set it up for them, it's amazing.

  • GitHub repo fastapi

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

    Project mention: OpenAPI Specification and Swagger? | reddit.com/r/learnprogramming | 2021-02-24
  • Scout

    Get performance insights in less than 4 minutes. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo sanic

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

    Project mention: IDOM - It's React, but in Python | dev.to | 2021-02-19

    Sanic

  • GitHub repo http client/server for asyncio

    Asynchronous HTTP client/server framework for asyncio and Python

    Project mention: Nest disconnects from API/doesn't refresh token | reddit.com/r/homeassistant | 2020-12-27
  • GitHub repo uvloop

    Ultra fast asyncio event loop.

    Project mention: Python Concurrency: The Tricky Bits | news.ycombinator.com | 2021-02-18
  • GitHub repo httpx

    A next generation HTTP client for Python. 🦋

    Project mention: Web Scraper: Python vs Rust (From a beginner stand point) | reddit.com/r/rust | 2021-02-24

    Your Python async code is not really async. That's why I think you are getting the same numbers in both cases. You are declaring the function async but then use the sync requests.get call. You should use an async http client library, like httpx , like in this example:

  • GitHub repo gevent

    Coroutine-based concurrency library for Python

  • GitHub repo Faust

    Python Stream Processing

    Project mention: Wekelijkse /r/FreeDutch Discussiedraad | reddit.com/r/FreeDutch | 2021-01-28

    Vette IT ook. Tijdje open sollicitatie overwogen. Nerdgasm

  • GitHub repo uvicorn

    The lightning-fast ASGI server. 🦄

    Project mention: Middlewares on FastAPI | dev.to | 2021-02-07

    ProxyHeadersMiddleware

  • GitHub repo aiortc

    WebRTC and ORTC implementation for Python using asyncio

    Project mention: Webrtc For Lowlatency Gaming On Cloud | reddit.com/r/WebRTC | 2021-02-24
  • GitHub repo python-socketio

    Python Socket.IO server and client

    Project mention: Can’t establish a connection to the server at localhost:6595 | reddit.com/r/deemix | 2020-12-21

    Solution here: https://github.com/miguelgrinberg/python-socketio/issues/578

  • GitHub repo databases

    Async database support for Python. 🗄

    Project mention: Project structure for scalable fastapi project. | reddit.com/r/FastAPI | 2021-02-11

    Prefer the data mapper approach for CRUD apps, but the flexibility of active record for all other apps. 1.Use psycopg2 for enterprise apps (since it's battle-tested) and https://github.com/encode/databases (with asyncpg) for toy apps.

  • GitHub repo GINO

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

  • GitHub repo tortoise-orm

    Familiar asyncio ORM for python, built with relations in mind

    Project mention: FastAPI framework, high perf, easy to learn, fast to code, ready for production | news.ycombinator.com | 2021-02-01

    I think the idea is that FastAPI does one thing and does it well. You can mix in other parts of what you need, in the same way FastAPI itself leans on great projects.

    SQLAlchemy + Alembic are standard because they're robust and well-know, but there are alternatives (particularly with async)[0][1]

    For admin you can FE it with something like react-admin which has pluggable data providers, or api-admin[3]

    [0] https://github.com/tortoise/tortoise-orm

    [1] https://ponyorm.org/

    [2] https://github.com/api-platform/admin

  • GitHub repo aiofiles

    File support for asyncio

    Project mention: After months of learning, I finally was able to code a discord bot! | reddit.com/r/learnpython | 2021-01-09

    To solve this, you need an async version of function/library. hopefully, requests has a good async alternative- aiohttp. API structure is nearly identical to requests, so It won't be a big pain to migrate. for doing file I/O, there's aiofiles.

  • GitHub repo aiogram

    Is a pretty simple and fully asynchronous framework for Telegram Bot API written in Python 3.7 with asyncio and aiohttp.

    Project mention: How do I scale up my telegram bot to serve many users? | reddit.com/r/learnpython | 2020-12-31

    look into async solutions. https://realpython.com/async-io-python/ https://github.com/aiogram/aiogram -> aysnc telegram https://github.com/pgjones/quart -> flask replacement

  • GitHub repo ib_insync

    Python sync/async framework for Interactive Brokers API

    Project mention: Is anyone trading while holding a 9 to 5 job? | reddit.com/r/Daytrading | 2021-02-11
  • GitHub repo Dependency Injector

    Dependency injection framework for Python

  • GitHub repo Eliot

    Eliot: the logging system that tells you *why* it happened

  • GitHub repo quart

    Official mirror of https://gitlab.com/pgjones/quart

    Project mention: How do I scale up my telegram bot to serve many users? | reddit.com/r/learnpython | 2020-12-31

    look into async solutions. https://realpython.com/async-io-python/ https://github.com/aiogram/aiogram -> aysnc telegram https://github.com/pgjones/quart -> flask replacement

  • GitHub repo pytradfri

    IKEA Trådfri/Tradfri API. Control and observe your lights from Python. Examples available. On pypi. Sans-io.

    Project mention: Are there any offline/private smart bulb? | reddit.com/r/privacytoolsIO | 2020-12-27
  • GitHub repo tartiflette

    GraphQL Engine built with Python 3.6+ / asyncio

  • GitHub repo hivemind

    Decentralized deep learning in PyTorch. Built to train models on thousands of volunteers across the world.

    Project mention: Threading the future with Hivemind | dev.to | 2020-09-19

    Hivemind is in the early alpha stage at the time of writing: the core functionality to train decentralized models is there, but the inferface is still in active development. If you want to try Hivemind for yourself or contribute to its development, take a look at the quickstart tutorial. Feel free to contact [email protected] on github with any questions, feedback and issues.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-02-24.

Index

What are some of the best open-source Asyncio projects in Python? This list will help you:

Project Stars
1 Home Assistant 40,370
2 fastapi 27,663
3 sanic 14,601
4 http client/server for asyncio 10,844
5 uvloop 7,544
6 httpx 6,475
7 gevent 5,429
8 Faust 5,326
9 uvicorn 3,602
10 aiortc 2,229
11 python-socketio 2,210
12 databases 2,004
13 GINO 2,003
14 tortoise-orm 1,758
15 aiofiles 1,452
16 aiogram 1,403
17 ib_insync 1,276
18 Dependency Injector 1,141
19 Eliot 865
20 quart 862
21 pytradfri 769
22 tartiflette 708
23 hivemind 649