partialwrap: easily partialize external executables and Python functions with Python's functools.partial.
Matthias Cuntz · HAL (Le Centre pour la Communication Scientifique Directe) · 2020
partialwrap is a small Python library providing wrappers for external executables and Python functions so that they can easily be partialised with Python's functools.partial. It allows to use any external executable as well as any Python function with arbitrary arguments and keywords to be used with libraries that call functions simply in the form func(x). This includes the functions of the scipy.optimize package or external packages such as emcee or pyeee, and allows the use of distributed function evaluations with Python's multiprocessing library or the message passing interface MPI. Full documentation is available from Read The Docs: http://partialwrap.readthedocs.org/en/latest/ The current version v1.0.1 is the initial public release.