Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #16487

Bug#1088097: ITP: python-asyncinject -- Run async workflows using pytest-fixtures-style dependency injection

From Edward Betts <edward@4angle.com>
Newsgroups linux.debian.bugs.dist, linux.debian.devel, linux.debian.maint.python
Subject Bug#1088097: ITP: python-asyncinject -- Run async workflows using pytest-fixtures-style dependency injection
Date 2024-11-23 10:20 +0100
Message-ID <JLUt3-aYOl-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 3 groups.

Show all headers | View raw


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 linux.debian.maint.python | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web