alle opties
trixie  ] [  forky  ] [  sid  ]
[ Bron: python-asyncinject  ]

Pakket: python3-asyncinject (0.6-2)

Verwijzigingen voor python3-asyncinject

Screenshot

Debian bronnen:

Het bronpakket python-asyncinject downloaden:

Beheerders:

Externe bronnen:

Vergelijkbare pakketten:

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.

Andere aan python3-asyncinject gerelateerde pakketten

  • depends
  • recommends
  • suggests
  • enhances

python3-asyncinject downloaden

Pakket downloaden voor alle beschikbare platforms
Platform Pakketgrootte Geïnstalleerde grootte Bestanden
all 11,5 kB43,0 kB [overzicht]