Python Async

Open-source Python projects categorized as Async

Top 23 Python Async Projects

  • fastapi

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

    Project mention: Deploy a dockerized FastAPI application to AWS | dev.to | 2023-02-03

    From the official docs:

  • AIOHTTP

    Asynchronous HTTP client/server framework for asyncio and Python

    Project mention: How to Stream Bytes Uploaded so far in Python like XMLHttpRequest: progress event | reddit.com/r/learnpython | 2022-09-08
  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • rq

    Simple job queues for Python

    Project mention: What libraries do you use the most alongside django? | reddit.com/r/django | 2023-01-02
  • starlette

    The little ASGI framework that shines. 🌟

    Project mention: How to use FastAPI for microservices in Python | dev.to | 2023-01-29

    The framework's official website mentions a number of pros of FastAPI. In my opinion, the most useful features from a microservice perspective are: the simplicity of code (easy to use and avoid boilerplate), high operational capacity thanks to Starlette and Pydantic and compatibility with industry standards - OpenAPI and JSON Schema.

  • vibora

    Fast, asynchronous and elegant Python web framework.

    Project mention: A Look on Python Web Performance at the end of 2022 | dev.to | 2022-11-14

    After year of japronto dominance as the firsy place of TechEmPower PlaintText for Python, a new library called vibora appears... and it's another project without any updates since 2019. Ok let's filter vibora and japronto and go for the next one that is active, a new library called socketify.py and also another new library called robyn arrives on the millions req/s in the live results.

  • trio

    Trio – a friendly Python library for async concurrency and I/O

    Project mention: The gotcha of unhandled promise rejections | news.ycombinator.com | 2023-01-13

    It's similar to manual memory management.

    Structured concurrency is one approach to solving this problem. In a structured concurrency a promise would not go out of scope unhandled. Not sure how you would add APIs for it though.

    See Python's trio nurseries idea which uses a python context manager.

    https://github.com/python-trio/trio

    I'm working on a syntax for state machines and it could be used as a DSL for promises. It looks similar to a bash pipeline but it matches predicates similar to prolog.

    In theory you could wire up a tree of structured concurrency with this DSL.

    https://github.com/samsquire/ideas4#558-assign-location-mult...

  • pyinstrument

    🚴 Call stack profiler for Python. Shows you why your code is slow!

    Project mention: Looking for app that visualizes python program | reddit.com/r/learnpython | 2022-10-19
  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • Twisted

    Event-driven networking engine written in Python.

    Project mention: Using a src directory for a Python package | reddit.com/r/learnpython | 2022-08-16
  • tortoise-orm

    Familiar asyncio ORM for python, built with relations in mind

    Project mention: Example typescript project repos? | reddit.com/r/typescript | 2022-10-27

    If I was answering this question but for python, I'd recommend something like prefect, boto3, or tortoise-orm -- not extremely complex and with a pretty comprehensible featureset.

  • pyrogram

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

    Project mention: Telegram with python | reddit.com/r/Python | 2022-09-09

    https://github.com/pyrogram/pyrogram nice lib for client and bots

  • fastapi-users

    Ready-to-use and customizable users management for FastAPI

    Project mention: Ideas for Svelte + Python backed + social auth | reddit.com/r/sveltejs | 2022-12-17

    1) There is https://github.com/fastapi-users/fastapi-users library for FastAPI, but social auth is not very clear documented, DB not included.

  • robyn

    Robyn is a fast and extensible async python web server with a rust runtime

    Project mention: Python's “Disappointing” Superpowers | news.ycombinator.com | 2023-02-01
  • uvicorn-gunicorn-fastapi-docker

    Docker image with Uvicorn managed by Gunicorn for high-performance FastAPI web applications in Python with performance auto-tuning. Optionally with Alpine Linux.

    Project mention: Handling 502 Exceptions | reddit.com/r/FastAPI | 2022-06-03

    The timeouts suggestion is interesting because I haven't really configured them beyond the default https://github.com/tiangolo/uvicorn-gunicorn-fastapi-docker

  • motor

    Motor - the async Python driver for MongoDB and Tornado or asyncio

  • github-stats

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

  • aiomysql

    aiomysql is a library for accessing a MySQL database from the asyncio

  • aiomultiprocess

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

    Project mention: What's New in Python 3.11? | news.ycombinator.com | 2022-06-26

    > Why not just use multi processing?

    Multiprocessing provides parallelism up to what the machine supports, but no additional degree of concurrency, asyncio provides a fairly high degree of concurrency, but no parallelism.

    OF course, you can use them together to get both.

    https://github.com/omnilib/aiomultiprocess

  • arq

    Fast job queuing and RPC in python with asyncio and redis.

  • Streamz

    Real-time stream processing for python

    Project mention: Saturday Daily Thread: Resource Request and Sharing! Daily Thread | reddit.com/r/Python | 2022-03-05

    The best candidate so far is 'streamz', which is simple and lays out a processor in a pipeline. But it doesn't quite have the same level as built in monitoring as apache camel, for better or worse.

  • parallel-ssh

    Asynchronous parallel SSH client library.

    Project mention: Release ssh connection after running command remotely. | reddit.com/r/linuxadmin | 2022-03-30

    Have a look at https://parallel-ssh.org/

  • beanie

    Asynchronous Python ODM for MongoDB

    Project mention: starlette-admin: Simple and extensible admin interface framework for Starlette/FastApi | reddit.com/r/Python | 2022-09-11

    You may want to look at swapping mongoengine for beanie. That supports native pydantic data structures and has async support.

  • fastapi-crudrouter

    A dynamic FastAPI router that automatically creates CRUD routes for your models

    Project mention: why when I search for Python jobs I find alot! but when I search for Django (the most used Python framework ) I get few compared to spring or nodejs ? | reddit.com/r/Python | 2022-08-21

    FastAPI does have an equivalent. Something like this? https://github.com/awtkns/fastapi-crudrouter

  • notion-sdk-py

    The official Notion API client library, but rewritten in Python! (sync + async)

    Project mention: How to auto-name a table rows to avoid losing time and keep it uptodate ? | reddit.com/r/Notion | 2022-12-08

    Maybe that's not the kind of answer you need, but you can automate this using the API. I'm no dev, and granted learning the API's syntax can be cumbersome, but with python-sdk-py that shouldn't be that hard.

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

Python Async related posts

Index

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

Project Stars
1 fastapi 53,892
2 AIOHTTP 13,203
3 rq 8,737
4 starlette 7,820
5 vibora 5,708
6 trio 5,087
7 pyinstrument 5,070
8 Twisted 4,921
9 tortoise-orm 3,347
10 pyrogram 3,224
11 fastapi-users 2,446
12 robyn 2,201
13 uvicorn-gunicorn-fastapi-docker 2,105
14 motor 2,093
15 github-stats 2,052
16 aiomysql 1,551
17 aiomultiprocess 1,516
18 arq 1,458
19 Streamz 1,132
20 parallel-ssh 1,081
21 beanie 1,053
22 fastapi-crudrouter 994
23 notion-sdk-py 960
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com