Comparison
cma vs hyperopt vs nevergrad vs optuna
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
CMA-ES, Covariance Matrix Adaptation Evolution Strategy for non-linear numerical optimization in Python
Maintained. Last release 2 weeks ago, commits in 8 of the last 26 weeks. Weaker on contributor spread and security practices.
pip install cmaDistributed Asynchronous Hyperparameter Optimization
Maintained. Last release 4 months ago, commits in 3 of the last 26 weeks. Weaker on commit activity and issue handling.
pip install hyperoptA 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 nevergradA hyperparameter optimization framework
Actively maintained. Last release 2 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
pip install optunaIn short
- optuna is the most used: 14.5M downloads a month, 5.8× more than cma.
- optuna also has the best Pythie’s Index (96).
- nevergrad is growing fastest: downloads +167% over the last month.
- Safe default for a new project: optuna.
Side by side
| Metric | cma | hyperopt | nevergrad | optuna |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 66 | Pythie’s Index: 52 | Pythie’s Index: 33 | Pythie’s Index: 96 |
| Verdict | Maintained | Maintained | Low maintenance activity | Actively maintained |
| Downloads / month | 2.5M | 1.7M | 1.1M | 14.5M |
| Downloads, month over month | +46% | -5% | +167% | +4% |
| GitHub stars | 1.4K | 7.6K | 4.2K | 15.1K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 74 | 187 | 38 | 811 |
| Last release | Nov 15, 2026 | Jul 24, 2026 | Apr 23, 2025 | Nov 16, 2026 |
| Releases, 12 months | 5 | 2 | 0 | 6 |
| Weeks with commits | 8 / 26 | 3 / 26 | 3 / 26 | 26 / 26 |
| Recent contributors | 5 | 37 | 15 | 22 |
| First release | May 2014 | Jan 2013 | Jan 2019 | Oct 2018 |
| Python versions | – | 3.8 – 3.12 | – | 3.10 – 3.15 |
| License | BSD-3-Clause | BSD-3-Clause | MIT | MIT |
| 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.