Comparison
nevergrad vs nlopt vs optuna vs scipy
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A Python toolbox for performing gradient-free optimization
Low maintenance activity. Last release 19 months ago, commits in 3 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install nevergradLibrary 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 nloptA hyperparameter optimization framework
Actively maintained. Last release 2 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
pip install optunaFundamental 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, 29× more than optuna.
- Maintenance is comparable: optuna 96, scipy 86, nlopt 49, nevergrad 34 on Pythie’s Index.
- nevergrad is growing fastest: downloads +188% over the last month.
- Safe default for a new project: scipy.
Side by side
| Metric | nevergrad | nlopt | optuna | scipy |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 34 | Pythie’s Index: 49 | Pythie’s Index: 96 | Pythie’s Index: 86 |
| Verdict | Low maintenance activity | Maintained | Actively maintained | Actively maintained |
| Downloads / month | 1.1M | 3.8M | 14.8M | 434.2M |
| Downloads, month over month | +188% | +40% | +8% | +23% |
| GitHub stars | 4.2K | 34 | 15.1K | 15.3K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 38 | 57 | 811 | 41.4K |
| Last release | Apr 23, 2025 | Jul 17, 2026 | Nov 16, 2026 | Aug 21, 2026 |
| Releases, 12 months | 0 | 2 | 6 | 8 |
| Weeks with commits | 3 / 26 | 2 / 26 | 26 / 26 | 26 / 26 |
| Recent contributors | 16 | 7 | 22 | 35 |
| First release | Jan 2019 | Sep 2018 | Oct 2018 | Jul 2010 |
| Python versions | – | 3.9 – 3.13 | 3.10 – 3.15 | 3.12 – 3.15 |
| License | MIT | MIT | MIT | non-standard |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.