Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #16487 > unrolled thread
| Started by | Edward Betts <edward@4angle.com> |
|---|---|
| First post | 2024-11-23 10:20 +0100 |
| Last post | 2024-11-23 10:20 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.debian.maint.python
Bug#1088097: ITP: python-asyncinject -- Run async workflows using pytest-fixtures-style dependency injection Edward Betts <edward@4angle.com> - 2024-11-23 10:20 +0100
| From | Edward Betts <edward@4angle.com> |
|---|---|
| Date | 2024-11-23 10:20 +0100 |
| Subject | Bug#1088097: ITP: python-asyncinject -- Run async workflows using pytest-fixtures-style dependency injection |
| Message-ID | <JLUt3-aYOl-7@gated-at.bofh.it> |
Package: wnpp Severity: wishlist Owner: Edward Betts <edward@4angle.com> X-Debbugs-Cc: debian-devel@lists.debian.org, debian-python@lists.debian.org * Package name : python-asyncinject Version : 0.6 Upstream Author : Simon Willison * URL : https://github.com/simonw/asyncinject * License : Apache-2.0 Programming Lang: Python Description : Run async workflows using pytest-fixtures-style dependency injection 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. I plan to maintain this package as part of the Python team.
Back to top | Article view | linux.debian.maint.python
csiph-web