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: Freezer temp sensors. rtl433 noob here, dont know what Im doing but Im doing it wrong :) | reddit.com/r/RTLSDR | 2021-10-15

    Me neither ;). But I have a pretty insane home assistant setup that controls almost everything in my house now. If you want to get a feel for what that enables:

  • GitHub repo fastapi

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

    Project mention: Ah yes, of course | reddit.com/r/ProgrammerHumor | 2021-10-15
  • Activeloop.ai

    Optimize your datasets for ML. Goodbye, boilerplate code - the fastest dataset optimization and management tool for computer vision.

  • 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: Help wth Asyncio/aiohttp on Windows | reddit.com/r/learnpython | 2021-10-06

    Try the other comments, if nothing works, you can maybe submit a bug to aiohttp repo. I feel like they may be better prepared to deal with this than us. The example you gave is great BTW

  • 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: Wekelijkse /r/FreeDutch Discussiedraad | reddit.com/r/FreeDutch | 2021-01-28

    Vette IT ook. Tijdje open sollicitatie overwogen. Nerdgasm

  • 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

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

    A fast PostgreSQL Database Client Library for Python/asyncio.

    Project mention: Large database to python - SQL advantageous? (mysql) | reddit.com/r/Python | 2021-10-04

    Highly recommend https://github.com/MagicStack/asyncpg.

  • GitHub repo uvicorn

    The lightning-fast ASGI server. 🦄

    Project mention: Building a realtime ticket booking solution with Kafka, FastAPI, and Ably | dev.to | 2021-10-12

    FastAPI requires an Asynchronous Server Gateway Interface (ASGI) server to power it. Popular choices include Uvicorn, Gunicorn, and Hypercorn. In production, it's probably worth using Hypercorn,  which comes with HTTP/2 support, increasing performance (this is especially useful for outbound webhooks received from Ably). However, for this demo we are going to use Uvicorn, since it has a friendly debugging setup.

  • 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: Database library | reddit.com/r/FastAPI | 2021-09-06
  • GitHub repo tortoise-orm

    Familiar asyncio ORM for python, built with relations in mind

    Project mention: Tortoise-ORM: Familiar asyncio ORM for Python, built with relations in mind | news.ycombinator.com | 2021-04-28
  • 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: Inline Sticker Bot | reddit.com/r/TelegramBots | 2021-08-07

    I'd suggest not using pyTelegramBotAPI because of its unstable polling. If you're ok with asyncio, try https://github.com/aiogram/aiogram

  • 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 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 Dependency Injector

    Dependency injection framework for Python

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

    Dependency Injector

  • 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 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 fastapi-users

    Ready-to-use and customizable users management for FastAPI

    Project mention: Has anyone packaged FastAPI middleware so it can be used easily for multiple projects? | reddit.com/r/FastAPI | 2021-08-19

    Well there is already an existing package that works pretty well : https://github.com/frankie567/fastapi-users

  • GitHub repo aiomultiprocess

    Take a modern Python codebase to the next level of performance.

    Project mention: Standalone electrical circuit simulation framework | reddit.com/r/Python | 2021-05-29

    Take a look at aiomultiprocess. It combines multiprocessing and asynchio to bypass the GIL for greatly increased performance.

  • GitHub repo cryptofeed

    Cryptocurrency Exchange Websocket Data Feed Handler

    Project mention: Binance Full (or atleast sufficiently deep) Orderbook | reddit.com/r/algotrading | 2021-06-14
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-10-15.

Index

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

Project Stars
1 Home Assistant 46,584
2 fastapi 36,797
3 sanic 15,497
4 AIOHTTP 11,744
5 httpx 7,770
6 Faust 5,807
7 gevent 5,591
8 asyncpg 5,111
9 uvicorn 4,422
10 aiortc 2,612
11 python-socketio 2,537
12 databases 2,499
13 tortoise-orm 2,414
14 GINO 2,265
15 aiogram 2,007
16 aioredis 1,941
17 aiofiles 1,679
18 Dependency Injector 1,622
19 ib_insync 1,569
20 strawberry 1,544
21 fastapi-users 1,296
22 aiomultiprocess 1,254
23 cryptofeed 986
Find remote jobs at our new job board 99remotejobs.com. There are 34 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.