Comparison
iminuit vs lmfit vs nlopt vs scipy
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Jupyter-friendly Python frontend for MINUIT2 in C++
Maintained. Last release 3 months ago, commits in 16 of the last 26 weeks. Weaker on release cadence and contributor spread.
pip install iminuitLeast-Squares Minimization with Bounds and Constraints
Low maintenance activity. Last release 17 months ago. Weaker on recent releases and release cadence.
pip install lmfitLibrary for nonlinear optimization, wrapping many algorithms for global and local, constrained or unconstrained, optimization
Maintained. Last release 5 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install nloptFundamental algorithms for scientific computing in Python
Actively maintained. Last release 3 months ago, commits in 26 of the last 26 weeks. A safe choice.
pip install scipyIn short
- scipy is the most used: 434.2M downloads a month, 114× more than nlopt.
- scipy also has the best Pythie’s Index (86).
- lmfit is growing fastest: downloads +43% over the last month.
- Safe default for a new project: scipy.