smpl.parallel

Simplified parallelization.

Functions

Queue([maxsize])

Returns a queue object

append_doc(original)

Append doc string of original to target object.

calc(f, *args, **kwargs)

Parallel evaluation of the list generator from gen().

gen(f, *args, **kwargs)

Generates parallel execution list generator.

par(f, *args, **kwargs)

Parallel execution of f on each element of args and kwargs

parallel(f, arr[, n_jobs])

Parallel execution of f on each element of args

partitioned_parallel(f, arr[, n_jobs])

Parallel execution of f on each element of args

queued(q, f, *args, **kwargs)

res(a)

Parallel evaluation of the list generator from gen().

Classes

Process([group, target, name, args, kwargs, ...])