schwimmbad: A uniform interface to parallel processing pools in Python

Many scientific and computing problems require doing some calculation on all elements of some data set. If the calculations can be executed in parallel (i.e. without any communication between calculations), these problems are said to be perfectly parallel. On computers with multiple processing cores, these tasks can be distributed and executed in parallel to greatly improve performance. A common paradigm for handling these distributed computing problems is to use a processing “pool”: the “tasks” (the data) are passed in bulk to the pool, and the pool handles distributing the tasks to a number of worker processes when available.