python3-asyncinject
Run async workflows using pytest-fixtures-style dependency injection
Description
This library simplifies the execution of parallel asynchronous operations by utilising a dependency injection style similar to pytest fixtures. It allows you to define a collection of functions, where the function arguments represent dependent functions that must be executed first. The library creates and executes an efficient sequence for executing the necessary functions in parallel. Functions, whether regular or asynchronous, can be registered and executed by the library, providing flexibility in managing dependencies. The dependency injection mechanism allows passing keyword arguments directly to functions and enables default parameter values, thereby excluding them from dependency checks. Additionally, users can gather timing information for executed tasks or disable parallel execution for benchmarking purposes. This makes the execution of complex workflows more manageable by organizing and parallelizing dependent tasks.Upload more screenshots
Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.
Upload a screenshotHint: upload an image here from your clipboard with Ctrl-V
Homepage
https://github.com/simonw/asyncinject
Install this software package
If the package is available for the distribution you are currently using on your computer then install the software by clicking on…
Install python3-asyncinject