arsenalgear-py
A library containing general purpose Python utils.
|
Functions | |
def | MultiProcesses (*functions) |
MultiProcesses. More... | |
def | chunker (it, size) |
chunker More... | |
def arsenalgear.parallelization.chunker | ( | it, | |
size | |||
) |
chunker
Function uses to allow the selection of a bunch of jobs to be executed in parallel. Args: it (any): a list of objects through which iterate. size (int): the amount of jobs to be executed in parallel. Yields: tuple: a tuple used for iteration.
def arsenalgear.parallelization.MultiProcesses | ( | * | functions | ) |
MultiProcesses.
Function used to parallelize more functions. Args: *functions (function): the n processes to be sent in parallel.