Python Asyncio

Open-source Python projects categorized as Asyncio

Top 23 Python Asyncio Projects

  • Home Assistant

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

    Project mention: Overhauling my Smart Home Project, where to go (Amazon or Google)? | | 2022-11-25

    If you're tech savvy, look into HomeAssistant. It's open-source and supports Alexa, Google, and Apple Homekit integration, as well as many others. I personally run it on an old MacBook but it can be run on any computer including a raspberrypi

  • fastapi

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

    Project mention: Falcon vs Flask? | | 2022-11-25

    Why do you think your new system won't result in OOM errors? You can't jut say it is fastapi's fault, it seems like a complex issue

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

  • sanic

    Next generation Python web server/framework | Build fast. Run fast.

    Project mention: A Look on Python Web Performance at the end of 2022 | | 2022-11-14

    Sanic is very very popular with 16.6k stars, 1.5k forks, opencollective sponsors and a very active github. Falcon is more popular than japronto with 8.9k stars, 898 forks, opencollective sponsors and a very active github too. Despite Japronto been keeped as first place by TechEmPower, Falcon is a way better solution in general with performance similar to fastify an very fast node.js framework that hits 575k requests per second in this benchmark.


    Asynchronous HTTP client/server framework for asyncio and Python

    Project mention: How to Stream Bytes Uploaded so far in Python like XMLHttpRequest: progress event | | 2022-09-08
  • httpx

    A next generation HTTP client for Python. 🦋

    Project mention: November Starlite development updates | | 2022-11-07

    We have implemented our own httpx-based TestClient. We adopted tests from Starlette for this to ensure backwards compatibility, and aside from the "boring base implementation", having our own test client means we can more easily adapt it to Starlite specific features, like support for our all new Session Middleware

  • Faust

    Python Stream Processing

    Project mention: Using Kafka with Python... is Confluent the only option? | | 2022-05-08

    Unfortunately Faust is dead, robinhood abandoned it 2020, there are no new commits and they don’t react to any questions etc..:

  • uvicorn

    An ASGI web server, for Python. 🦄

    Project mention: How to debug a ASGI memory leak | | 2022-11-25

    NO, he didn't

  • Zigi

    Delete the most useless function ever: context switching.. Zigi monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack! Plus it reduces cycle time by up to 75%.

  • gevent

    Coroutine-based concurrency library for Python

    Project mention: How to Choose the Right Python Concurrency API | | 2022-08-10

    I'm not sure how much it replicates the CSP model, but the closest thing I've found to Go-style concurrency in Python is gevent:

    I personally still prefer to use it in all my projects.

  • asyncpg

    A fast PostgreSQL Database Client Library for Python/asyncio.

    Project mention: aiopg vs asyncpg vs psycopg3 | | 2022-06-28

    asyncpg: 5.5k starts, last commit recently, ~150 issues, some incompatibility, few open PRs, extensive README. Includes benchmark showing it's supposedly 3x faster than aiopg and psycopg2, psycopg3 is not mentioned in the benchmark.

  • python-slack-sdk

    Slack Developer Kit for Python

    Project mention: 3rd-party tools in early-stage products on the example of own product | | 2022-07-12

    To call Slack API we use Slack SDK. The SDK already has an HTTP client API implementation with authentication, methods, and error handling.

  • tortoise-orm

    Familiar asyncio ORM for python, built with relations in mind

    Project mention: Example typescript project repos? | | 2022-10-27

    If I was answering this question but for python, I'd recommend something like prefect, boto3, or tortoise-orm -- not extremely complex and with a pretty comprehensible featureset.

  • aiogram

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

    Project mention: Developing this bot to fetch Flipstarter campaigns information. Please consider donating to my Flipstarter to continue my development work | | 2022-10-06

    It could be made to join groups, I'll really consider that if there is a demand. I'm using Aiogram bot and it support this.

  • databases

    Async database support for Python. 🗄

    Project mention: A Deep Dive into Connecting FastAPI with SingleStore. | | 2022-10-18

    MySQL is a powerful and popular database, and it's well-suited for use with Python. In the following section, we are going through how to set up a connection to a MySQL database in an asynchronous manner using the create_asynchrouns_engine function from SQLAlchemy. We'll also use the databases package and the aiomysql extra dependency. We'll also adapt the SQLAlchemy declarative approach to defining our users' table.

  • aiortc

    WebRTC and ORTC implementation for Python using asyncio

    Project mention: [Question] OpenCV and aiortc on a Raspberry Pi 4 | | 2022-03-08

    So it seems like is the obvious answer here, but I just can't seem to grok the documentation. I have run the examples successfully, but can't quite seem to tailor them to my use-case.

  • python-socketio

    Python Socket.IO server and client

  • strawberry

    A GraphQL library for Python that leverages type annotations 🍓

    Project mention: GraphQL with Django : advisable or not? | | 2022-11-13

    There are a few other frameworks out there like Ariadne and Strawberry. I haven't tried them out as both seemed also quite new and immature and I imagine I'd run into the same performance issues with them.

  • GINO

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

  • Dependency Injector

    Dependency injection framework for Python

    Project mention: Loosely coupled Python code with Dependency Injection | | 2022-11-09

    As projects continue to grow, its recommended to utilise a dependency injection framework to “inject” these dependencies, such as Dependency Injector, to inject dependency arguments automatically ✨.

  • fastapi-users

    Ready-to-use and customizable users management for FastAPI

  • aioredis

    asyncio (PEP 3156) Redis support

    Project mention: Pooling in aioredis may be dangerous | | 2022-06-05

    First, it was aioredis library. We are using sentinel based client because with this we can achieve failover easily. Aioredis spawn pool of connections, that transparently reconnects (and here third thing — FOREVER, hello DDOS) to our sentinel nodes, and then to master node. It supposed to do so. Also, we found that if you are not limiting maximum connections count, library will do it for you and set it as 2 ** 31 (here you can see it) — this is fourth thing. Furthermore, pool in our version (2.0.1) not closing automatically, and it makes the problem worse.


    ⚡ Fast • 🪶 Lightweight • 0️⃣ Dependency • 🔌 Pluggable • 😈 TLS interception • 🔒 DNS-over-HTTPS • 🔥 Poor Man's VPN • ⏪ Reverse & ⏩ Forward • 👮🏿 "Proxy Server" framework • 🌐 "Web Server" framework • ➵ ➶ ➷ ➠ "PubSub" framework • 👷 "Work" acceptor & executor framework

    Project mention: Show HN: | | 2022-08-11

    [Not my project]

    A very well features proxy server (Forward & Reverse + lots of other features).

  • aiofiles

    File support for asyncio

    Project mention: Python Asyncio: The Complete Guide | | 2022-11-10
  • dnspython

    a powerful DNS toolkit for python

    Project mention: Making a DNS query in Ruby from scratch | | 2022-11-06
  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

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 2022-11-25.

Python Asyncio related posts


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

Project Stars
1 Home Assistant 56,257
2 fastapi 51,708
3 sanic 16,625
4 AIOHTTP 13,025
5 httpx 9,653
6 Faust 6,401
7 uvicorn 5,868
8 gevent 5,846
9 asyncpg 5,718
10 python-slack-sdk 3,491
11 tortoise-orm 3,234
12 aiogram 3,175
13 databases 3,156
14 aiortc 3,136
15 python-socketio 3,125
16 strawberry 2,745
17 GINO 2,518
18 Dependency Injector 2,498
19 fastapi-users 2,265
20 aioredis 2,234
21 2,186
22 aiofiles 2,091
23 dnspython 2,049
Write Clean Python Code. Always.
Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.