CMD + K

partialwrap

Community

A small Python library providing wrappers for external executables and Python functions to be used easily with Python’s functools.partial

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::partialwrap

Usage Tracking

2.0
1.7
1.6
1.5
4 / 8 versions selected
Downloads (Last 6 months): 0

Description

partialwrap is a Python library providing easy wrapper functions to use with Python’s functools.partial. Partial's ingenious mechanism allows to use even very complex functions with many arguments and keyword arguments with routines that need functions in the simple form func(x). This includes Python's map function, the minimizers in scipy.optimize, and plenty of third-party modules such as emcee or pyeee. partialwrap allows to use any external executable as well as any Python function with arbitrary arguments and keywords to be used with functools.partial. It also allows to use the executables or functions with easy parallelization of code with, for example, the parallel map function of the multiprocessing module or via the Message Passing Interface (MPI).

About

Summary

A small Python library providing wrappers for external executables and Python functions to be used easily with Python’s functools.partial

Last Updated

Nov 26, 2023 at 22:56

License

MIT

Total Downloads

8.9K

Supported Platforms

noarch