think-async
aiomultiprocess
Our great sponsors
think-async | aiomultiprocess | |
---|---|---|
4 | 2 | |
222 | 1,666 | |
- | 0.7% | |
7.8 | 6.6 | |
3 months ago | 6 days ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
think-async
-
Think Async: Resources for Exploring Different Concurrency Paradigms in Python
Lately, at my workplace, I've been doing a lot of asynchronous I/O programming in Python. In my case, ironically, I picked up Golang faster than Python's async paradigm despite Python being my primary language. Coroutine chauffeured asynchronous programming demanded a substantial shift in the way I used to compose solutions in synchronous Python.
However, after successfully writing two services using asyncio, SQS, DynamoDB, and aiobotocore—I'm convinced that this is actually worth it. Here're a few resources that I've found helpful along the way. Pull requests are very much welcome.
https://github.com/rednafi/think-async
- Think Async in Python
aiomultiprocess
-
What's New in Python 3.11?
> 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
-
Standalone electrical circuit simulation framework
Take a look at aiomultiprocess. It combines multiprocessing and asynchio to bypass the GIL for greatly increased performance.
What are some alternatives?
Joblib - Computing with Python functions.
fastapi-crudrouter - A dynamic FastAPI router that automatically creates CRUD routes for your models
arq - Fast job queuing and RPC in python with asyncio and redis.
aiopath - 📁 Asynchronous pathlib for Python
vermin - Concurrently detect the minimum Python versions needed to run code
example-hftish - Example Order Book Imbalance Algorithm
gevent - Coroutine-based concurrency library for Python
Ray - Ray is a unified framework for scaling AI and Python applications. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.
mnqueues - Monitored Multiprocessing Queues
bunny-storm - RabbitMQ asynchronous connector library for Python with built in RPC support
regta - 📅 Production-ready scheduler with async, multithreading and multiprocessing support for Python
cookiecutter-django - Cookiecutter Django + PostGres + Docker + DramatiQ