About Anaconda Help Download Anaconda

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

copied from cf-staging / partialwrap

Installers

  • noarch v2.0

conda install

To install this package run one of the following:
conda install conda-forge::partialwrap

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).


© 2024 Anaconda, Inc. All Rights Reserved. (v4.0.6) Legal | Privacy Policy