LMFIT

LMFIT: Non-Linear Least-Square Minimization and Curve-Fitting for Python. Lmfit provides a high-level interface to non-linear optimization and curve fitting problems for Python. Lmfit builds on Levenberg-Marquardt algorithm of scipy.optimize.leastsq(), but also supports most of the optimization method from scipy.optimize.