všetky možnosti
trixie  ] [  forky  ] [  sid  ]
[ Zdroj: python-asyncinject  ]

Balík: python3-asyncinject (0.6-2)

Odkazy pre python3-asyncinject

Screenshot

Zdroje Debian:

Stiahnuť zdrojový balík python-asyncinject:

Správcovia:

Externé zdroje:

Podobné balíky:

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.

Ostatné balíky súvisiace s balíkom python3-asyncinject

  • závisí
  • odporúča
  • navrhuje
  • vylepšuje

Stiahnuť python3-asyncinject

Stiahnuť pre všetky dostupné architektúry
Architektúra Veľkosť balíka Nainštalovaná veľkosť Súbory
all 11.5 kB43.0 kB [zoznam súborov]