Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →
Top 23 Python Asyncio Projects
-
An API application framework (such as FastAPI)
-
Home Assistant
:house_with_garden: Open source home automation that puts local control and privacy first.
Project mention: Ask HN: Why is it so difficult to control IoT devices from your desktop? | news.ycombinator.com | 2024-02-22 -
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
Project mention: Sanic Framework – Build fast. Run fast. Accelerate your web app development | news.ycombinator.com | 2023-06-22
-
Project mention: Show HN: The HTTP Garden – A Parser Vulnerability Research Tool | news.ycombinator.com | 2024-02-05
> AIOHTTP: The Python int constructor is used to parse Content-Lengths and chunk-sizes, so _, +, and - are misinterpreted.
Fun. I believe the fix is incomplete here[1]. Python's int() constructor accepts integers comprised of any unicode numeral, for example, int("٦٦٦") == 666, and "٦٦٦".isdecimal() == True.
[1] https://github.com/aio-libs/aiohttp/pull/7663/files#diff-197...
-
For reference, it's a butterfly, not a moth.
-
This tells Heroku to run uvicorn, which is a web server implementation in Python.
-
Project mention: Faust VS quix-streams - a user suggested alternative | libhunt.com/r/faust | 2023-12-07
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
Project mention: Ask HN: Is Python async/await some kind of joke? | news.ycombinator.com | 2024-01-27
- SqlAlchemy/asyncpg => you can’t use it if you’re using PgBouncer (necessary most of the time with Postgres) in transaction mode? What?? https://github.com/MagicStack/asyncpg/issues/1058
-
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
-
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.
-
I am really excited about https://github.com/sepfy/libpeer. It has examples ready for ESP32 etc....
When working on KVS I wasn't familiar with the embedded space at all. I saw 'heavyweight' embedded where you were running on Linux. Then you had RTOS/No OS at all. I wasn't prepared for these devices at all. If we can make WebRTC work in the embedded space I think it will really accelerate what developers are able to build!
Remotely driven cars, security cameras, robots in hospitals that bring iPads to infectious patients etc... Creative people are building amazing things. The WebRTC/video space needs to work harder and support them :)
-----
I love how diverse the WebRTC space is now. Outside of this implementation you have plenty of other options!
* https://github.com/shinyoshiaki/werift-webrtc (Typescript)
* https://github.com/pion/webrtc (Golang)
* https://github.com/webrtc-rs/webrtc (Rust)
* https://github.com/algesten/str0m (Rust)
* hhttps://github.com/sepfy/libpeer (C/Embedded)
* https://webrtc.googlesource.com/src/ (C++)
* https://github.com/sipsorcery-org/sipsorcery (C#)
* https://github.com/paullouisageneau/libdatachannel (C++)
* https://github.com/elixir-webrtc (Elixir)
* https://github.com/aiortc/aiortc (Python)
* GStreamer’s webrtcbin (C)
See https://github.com/sipsorcery/webrtc-echoes for examples of some running against each other.
-
-
-
have a look to http://strawberry.rocks for Python.
I've still to find a better code first implementation too
-
-
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.
-
I have done similar work using the GitHub APIs before. I recommend using their GraphQL explorer to develop your queries interactively. You may need to fall back on the REST API instead of the GraphQL one for certain stats.
https://docs.github.com/en/graphql/overview/explorer
You can also refer to my code here, which may already collect some of the statistics you're interested in.
https://github.com/jstrieb/github-stats/blob/master/github_s...
I predict the most annoying part of this project will be dealing with authentication. There are a handful of ways to do it, and the permissions can be finicky depending on what data you are fetching.
Best of luck!
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Python Asyncio related posts
- LangChain, Python, and Heroku
- Show HN: Tech Jobs on the Command Line
- A Retrospective on Requests
- Pydantic-resolve, a hierarchical solution for data fetching and processing
- My PHP Problems
- Revolutionizing Real-Time Alerts with AI, NATs and Streamlit
- Show HN: The HTTP Garden – A Parser Vulnerability Research Tool
-
A note from our sponsor - InfluxDB
www.influxdata.com | 29 Mar 2024
Index
What are some of the best open-source Asyncio projects in Python? This list will help you:
Project | Stars | |
---|---|---|
1 | fastapi | 69,701 |
2 | Home Assistant | 68,027 |
3 | sanic | 17,668 |
4 | AIOHTTP | 14,469 |
5 | httpx | 12,094 |
6 | uvicorn | 7,682 |
7 | Faust | 6,673 |
8 | asyncpg | 6,551 |
9 | gevent | 6,152 |
10 | Douyin_TikTok_Download_API | 5,785 |
11 | aiogram | 4,199 |
12 | tortoise-orm | 4,177 |
13 | pyrogram | 4,034 |
14 | fastapi-users | 3,980 |
15 | aiortc | 3,861 |
16 | python-slack-sdk | 3,774 |
17 | python-socketio | 3,739 |
18 | strawberry | 3,718 |
19 | databases | 3,679 |
20 | Dependency Injector | 3,553 |
21 | github-stats | 2,677 |
22 | GINO | 2,635 |
23 | quart | 2,569 |