sciris.sc_parallel¶
Parallelization functions, allowing multiprocessing to be used simply.
NB: Uses multiprocess
instead of multiprocessing
under the hood for
broadest support across platforms (e.g. Jupyter notebooks).
- Highlights:
parallelize()
: as-easy-as-possible parallelization
Functions
Run a function in parallel with a optional single progress bar |
|
A function to parallelize any block of code. |
|
Execute a function in parallel. |
Classes
A class to hold the arguments for the parallel task -- not to be invoked by the user. |