lib5c.util.parallelization module¶
Module providing utilities for parallelization of operations on 5C data.
The most important thing exposed in this module is the @parallelize_regions
decorator, which automatically overloads any function to accept regional dicts
of any of its arguments and process the regions in parallel via the
multiprocess
package.
The other functions in this module are either example functions to show how it
works (test_function_one
, etc.) or private helper functions.