Python Asyncio

Open-source Python projects categorized as Asyncio

Top 23 Python Asyncio Projects

  • fastapi

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

    Project mention: Building a Multi-Tenant App with FastAPI, SQLModel, and PropelAuth | dev.to | 2023-12-06

    In this tutorial, we’ll walk you through how to create a multi-tenant link shortening product using FastAPI (a popular Python web framework), SQLModel (a library for interacting with SQL databases in Python) and PropelAuth (a B2B/multi-tenant authentication provider).

  • Home Assistant

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

    Project mention: New to smart homes - trying to add different devices but can't | /r/homeautomation | 2023-12-09

    if you are a tech person, definitely take a look at HomeAssistant! https://www.home-assistant.io/

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.

  • sanic

    Accelerate your web app development | Build fast. Run fast.

    Project mention: Sanic Framework – Build fast. Run fast. Accelerate your web app development | news.ycombinator.com | 2023-06-22
  • AIOHTTP

    Asynchronous HTTP client/server framework for asyncio and Python

    Project mention: complex http server? | /r/Python | 2023-02-10

    aiohttp

  • httpx

    A next generation HTTP client for Python. 🦋

    Project mention: Embracing Modern Python for Web Development | dev.to | 2023-12-08

    We can use the async HTTP client provided by httpx, a fully featured HTTP client for Python with an API broadly compatible with requests, so it can be used in pretty much the same way in most cases.

  • uvicorn

    An ASGI web server, for Python. 🦄

    Project mention: FastHttp for Python (64k requests/s) | /r/Python | 2023-11-08

    Uvicorn + Starlette 8k requests/s

  • Faust

    Python Stream Processing

    Project mention: Faust VS quix-streams - a user suggested alternative | libhunt.com/r/faust | 2023-12-07
  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • asyncpg

    A fast PostgreSQL Database Client Library for Python/asyncio.

    Project mention: Differences from Psycopg2 | news.ycombinator.com | 2023-10-10

    OK I stand corrected, asyncpg has these two C files:

    https://github.com/MagicStack/asyncpg/blob/master/asyncpg/pr...

    https://github.com/MagicStack/asyncpg/blob/master/asyncpg/pr...

    If you are interested here is a post by the psycopg author about psycopg2 and 3 and performance versus asyncpg.

    https://www.varrazzo.com/blog/2020/05/19/a-trip-into-optimis...

  • gevent

    Coroutine-based concurrency library for Python

    Project mention: Is anyone using PyPy for real work? | news.ycombinator.com | 2023-07-31

    A sub-question for the folks here: is anyone using the combination of gevent and PyPy for a production application? Or, more generally, other libraries that do deep monkey-patching across the Python standard library?

    Things like https://github.com/gevent/gevent/issues/676 and the fix at https://github.com/gevent/gevent/commit/f466ec51ea74755c5bee... indicate to me that there are subtleties on how PyPy's memory management interacts with low-level tweaks like gevent that have relied on often-implicit historical assumptions about memory management timing.

    Not sure if this is limited to gevent, either - other libraries like Sentry, NewRelic, and OpenTelemetry also have low-level monkey-patched hooks, and it's unclear whether they're low-level enough that they might run into similar issues.

    For a stack without any monkey-patching I'd be overjoyed to use PyPy - but between gevent and these monitoring tools, practically every project needs at least some monkey-patching, and I think that there's a lack of clarity on how battle-tested PyPy is with tools like these.

  • Douyin_TikTok_Download_API

    🚀「Douyin_TikTok_Download_API」是一个开箱即用的高性能异步抖音、快手、TikTok、Bilibili数据爬取工具,支持API调用,在线批量解析及下载。

    Project mention: TikTok video scraper | /r/webscraping | 2023-05-23

    At the moment I am working on a web scraper for TikTok. At the moment, I am able to retrieve data about the first 16 videos from a channel. The way I achieved this was to make requests to an unofficial API https://github.com/Evil0ctal/Douyin_TikTok_Download_API. My problem is that the requirements for this project do not allow me to use any package that would extract data from TikTok. I would like to ask you all, how should I go about this task. Already tried getting data from the HTML, but is not sufficient since most of it is not displayed when I use requests.get(URL). Could you please recommend some repositories that could help or some way of extracting the data? Thank you!

  • aiogram

    aiogram is a modern and fully asynchronous framework for Telegram Bot API written in Python using asyncio

    Project mention: Is there an app to translate reddit on the fly? | /r/GPT4 | 2023-05-06

    The first idea is doable if you have programming skills. Maybe with something like this: https://github.com/aiogram/aiogram

  • tortoise-orm

    Familiar asyncio ORM for python, built with relations in mind

    Project mention: How to Connect a FastAPI Server to PostgreSQL and Deploy on GCP Cloud Run | dev.to | 2023-05-26

    To do this, we can use the Tortoise-ORM. Begin by installing the package:

  • pyrogram

    Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots

  • python-slack-sdk

    Slack Developer Kit for Python

  • aiortc

    WebRTC and ORTC implementation for Python using asyncio

    Project mention: how do i build a webapp to process user video from their webcam. | /r/flask | 2023-01-03

    Not sure flask would work but I think https://github.com/aiortc/aiortc has an example just like what you are trying.

  • fastapi-users

    Ready-to-use and customizable users management for FastAPI

    Project mention: Thoughts on FastAPI Users | /r/FastAPI | 2023-05-31

    I'm working with it now as a backend to svelte! It's very ergonomic especially since I'm using sqlalchemy + postgres (asyncpg) so I could just copy paste the example code. Heads up though that it doesn't implement any form of token refresh pattern so you'll have to do that yourself.

  • databases

    Async database support for Python. 🗄

    Project mention: Whats the standard way for interacting with a DB. | /r/FastAPI | 2023-03-15
  • python-socketio

    Python Socket.IO server and client

  • strawberry

    A GraphQL library for Python that leverages type annotations 🍓

    Project mention: Strawberry: A Python Library for GraphQL | news.ycombinator.com | 2023-08-08
  • Dependency Injector

    Dependency injection framework for Python

    Project mention: Java 21 makes me like Java again | news.ycombinator.com | 2023-09-16

    Nothing to do with the nature of the language, but with the nature of the program.

    If you're writing a few line script, you don't need a DI container. Once your program gets large, it becomes extremely messy without one. It's no surprise projects like [1] exist.

    [1] https://github.com/ets-labs/python-dependency-injector

  • GINO

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

  • github-stats

    Better GitHub statistics images for your profile, with stats from private repos too

  • ib_insync

    Python sync/async framework for Interactive Brokers API

    Project mention: IBKR Trading | /r/algorithmictrading | 2023-05-12
  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

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 2023-12-09.

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 fastapi 65,377
2 Home Assistant 64,465
3 sanic 17,473
4 AIOHTTP 14,163
5 httpx 11,523
6 uvicorn 7,289
7 Faust 6,643
8 asyncpg 6,360
9 gevent 6,088
10 Douyin_TikTok_Download_API 4,847
11 aiogram 3,996
12 tortoise-orm 3,966
13 pyrogram 3,856
14 python-slack-sdk 3,734
15 aiortc 3,693
16 fastapi-users 3,641
17 databases 3,603
18 python-socketio 3,592
19 strawberry 3,546
20 Dependency Injector 3,344
21 GINO 2,612
22 github-stats 2,553
23 ib_insync 2,471
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com