Python Asyncio

Open-source Python projects categorized as Asyncio | Edit details

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: Fireplaces and nest, How do I program? | reddit.com/r/Nest | 2021-11-30

    Home Assistant or Apples HomeKit ( with Homebridge , Starling Home Hub or HOOBS ) can turn the fan on with an automation and a temp sensor.

  • GitHub repo fastapi

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

    Project mention: Logging & Tracing in Python, FastApi with OpenCensus a Azure | dev.to | 2021-11-29

    FastApi - Modern python web framework for building APIs. It's based on Pydantic and type hints to validate, serialize, and deserialize data, and automatically auto-generate OpenAPI documents

  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. 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.7+ web server/framework | Build fast. Run fast.

    Project mention: Nodemon, how does it work under the hood? | reddit.com/r/node | 2021-09-21

    dunno how much this will help, but you can check out how Sanic does auto reloading.

  • GitHub repo AIOHTTP

    Asynchronous HTTP client/server framework for asyncio and Python

    Project mention: SSL Error: How to Handle? | reddit.com/r/redditdev | 2021-11-17
  • GitHub repo httpx

    A next generation HTTP client for Python. 🦋

    Project mention: Httpx – fully featured HTTP client for Python3, with sync and async APIs | news.ycombinator.com | 2021-09-14
  • GitHub repo Faust

    Python Stream Processing

    Project mention: Event-Driven Architectures with Kafka and Python | reddit.com/r/apachekafka | 2021-10-25

    The best bet seemed like the open source Faust (from Robinhood, and Celery in its lineage). It was too heavy duty for our simple needs and moreover it unfortunately seems abandoned. There is a community fork in a bit of disarray last i looked(tests failed etc.)

  • GitHub repo gevent

    Coroutine-based concurrency library for Python

    Project mention: I have a problem with installing Ajenti on a 64bit Ubuntu 21.04 server | reddit.com/r/webdev | 2021-06-08

    Greenlet seems to have some troubles compiling with Python 3.9. https://github.com/gevent/gevent/issues/1627

  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo asyncpg

    A fast PostgreSQL Database Client Library for Python/asyncio.

    Project mention: Cascade of doom: JIT, and how a Postgres update led to 70% failure on a critical national service | dev.to | 2021-11-13

    Simple query runs long when DB schema contains thousands of tables #186

  • GitHub repo uvicorn

    The lightning-fast ASGI server. 🦄

    Project mention: Logging & Tracing in Python, FastApi with OpenCensus a Azure | dev.to | 2021-11-29

    Let's install requirements.txt and start the app with uvicorn

  • GitHub repo aiortc

    WebRTC and ORTC implementation for Python using asyncio

    Project mention: How to deploy OpenCV video feed cam with my Django application? | reddit.com/r/django | 2021-07-19

    You can't use Django for that, RTC is a separate protocol from HTTP. Check out https://github.com/aiortc/aiortc for a Python-based RTC stack. You write code in there which does the data processing and calls HTTP APIs or something on the Django side.

  • 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: PostgREST v9.0.0 | news.ycombinator.com | 2021-11-29
  • GitHub repo tortoise-orm

    Familiar asyncio ORM for python, built with relations in mind

    Project mention: Show HN: Django Async ORM | news.ycombinator.com | 2021-12-01

    Thanks, it's great to see Django adding slowly but surely in all sorts of places.

    By the way, have you looked at tortoise orm, which is a fully async python ORM with very Django-like syntax? [1]

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

  • GitHub repo GINO

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

  • 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: Hi can anyone help me? | reddit.com/r/learnpython | 2021-11-02

    you can start by looking at python-telegram-bot, pyTelegramBotAPI, aiogram. The rest is looking throught the documentation.

  • GitHub repo aioredis

    asyncio (PEP 3156) Redis support

    Project mention: Tips using Redis with FastAPI | reddit.com/r/FastAPI | 2021-03-14

    I'm hoping to leverage Redis with my project, and I was curious as to if anyone had any general pointers as to how best to manage the DB connection. I'm using aioredis such that I can leverage the async functionality, but I haven't been very happy with the library's documentation surrounding how best to leverage the connection pool. Most of the examples create and tear down the pool immediately without showing how best to manage its lifespan.

  • GitHub repo Dependency Injector

    Dependency injection framework for Python

    Project mention: Dependency Injection and Python | reddit.com/r/Python | 2021-03-21

    Dependency Injector

  • 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 strawberry

    A new GraphQL library for Python 🍓

    Project mention: Graphene VS strawberry - a user suggested alternative | libhunt.com/r/graphene | 2021-10-07

    As for 'Fast API', GraphQL server by Graphene has been deprecated, and now using Strawberry for GraphQL.

  • GitHub repo ib_insync

    Python sync/async framework for Interactive Brokers API

    Project mention: IBKR in open source products | reddit.com/r/interactivebrokers | 2021-09-28

    look at ib_insync. This python library is written from scratch to work with IB gateway. Unfortunately you will have to package the IB gateway with this. The headless version is way too broken to be useful. https://github.com/erdewit/ib_insync

  • GitHub repo proxy.py

    ⚡ 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: Handling 30,000 requests/sec with `proxy.py` | reddit.com/r/Python | 2021-11-30

    See `proxy.py` examples for some inspiration :) https://github.com/abhinavsingh/proxy.py/tree/develop/examples

  • GitHub repo fastapi-users

    Ready-to-use and customizable users management for FastAPI

    Project mention: Is there a simple but robust authentication library I can use with FastAPI? | reddit.com/r/learnpython | 2021-10-26

    found this: https://github.com/fastapi-users/fastapi-users

  • GitHub repo aiomysql

    aiomysql is a library for accessing a MySQL database from the asyncio

    Project mention: python asyncio, how to prevent the other functions "block" themselves when connecting to db? | reddit.com/r/learnpython | 2021-11-23

    No, as I said, async db connection is the key. You can do that with SQLAlchemy using the databases library, but since you are not using SQLAlchemy it makes more sense to use the underlying db driver, aiomysql, directly.

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-12-01.

Python Asyncio related posts

Index

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

Project Stars
1 Home Assistant 47,691
2 fastapi 38,806
3 sanic 15,616
4 AIOHTTP 11,891
5 httpx 7,959
6 Faust 5,873
7 gevent 5,645
8 asyncpg 5,193
9 uvicorn 4,604
10 aiortc 2,658
11 python-socketio 2,626
12 databases 2,567
13 tortoise-orm 2,529
14 GINO 2,289
15 aiogram 2,143
16 aioredis 1,987
17 Dependency Injector 1,738
18 aiofiles 1,727
19 strawberry 1,696
20 ib_insync 1,628
21 proxy.py 1,594
22 fastapi-users 1,400
23 aiomysql 1,369
Find remote jobs at our new job board 99remotejobs.com. There are 33 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com