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: LangChain, Python, and Heroku | dev.to | 2024-03-18

    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.

  • 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: 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...

  • httpx

    A next generation HTTP client for Python. 🦋

    Project mention: A Retrospective on Requests | news.ycombinator.com | 2024-02-27

    For reference, it's a butterfly, not a moth.

    Source: https://github.com/encode/httpx/issues/834

  • uvicorn

    An ASGI web server, for Python. 🦄

    Project mention: LangChain, Python, and Heroku | dev.to | 2024-03-18

    This tells Heroku to run uvicorn, which is a web server implementation in Python.

  • Faust

    Python Stream Processing

    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.

  • asyncpg

    A fast PostgreSQL Database Client Library for Python/asyncio.

    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

  • 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

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

  • aiortc

    WebRTC and ORTC implementation for Python using asyncio

    Project mention: Pure C WebRTC | news.ycombinator.com | 2024-01-07

    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.

  • python-slack-sdk

    Slack Developer Kit for Python

  • python-socketio

    Python Socket.IO server and client

  • strawberry

    A GraphQL library for Python that leverages type annotations 🍓

    Project mention: My PHP Problems | news.ycombinator.com | 2024-02-20

    have a look to http://strawberry.rocks for Python.

    I've still to find a better code first implementation too

  • databases

    Async database support for Python. 🗄

  • 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

  • github-stats

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

    Project mention: Ask HN: How to Do a GitHub Wrapped? | news.ycombinator.com | 2023-12-19

    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!

  • GINO

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

  • quart

    An async Python micro framework for building web applications.

  • 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 2024-03-18.

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 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
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com