Tools for running Python functions under a queue manager (and under an MPI environment)