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. Learn more →
Top 23 Python Asyncio Projects
-
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-09if 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.
-
Project mention: Sanic Framework – Build fast. Run fast. Accelerate your web app development | news.ycombinator.com | 2023-06-22
-
aiohttp
-
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 + Starlette 8k requests/s
-
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.
-
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...
-
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调用,在线批量解析及下载。
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
The first idea is doable if you have programming skills. Maybe with something like this: https://github.com/aiogram/aiogram
-
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
-
-
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.
-
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.
-
-
-
-
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.
-
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Python Asyncio related posts
-
asyncer VS awaits - a user suggested alternative
2 projects | 9 Dec 2023
-
faust VS quix-streams - a user suggested alternative
2 projects | 7 Dec 2023
- Pydantic-resolve: a small yet powerful tool to extend your pydantic schema
- Python Requests 3
- Piccolo, a Lightweight and Async Pydantic V2 Python ORM
- Nggit/tremolo: stream-oriented, asynchronous, Python HTTP Server
- Microdot "The impossibly small web framework for Python and MicroPython"
-
A note from our sponsor - InfluxDB
www.influxdata.com | 10 Dec 2023
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 |