Comparison
bayesian-optimization vs egobox vs hyperopt vs optuna
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Bayesian Optimization package
Actively maintained. Last release 2 months ago, commits in 7 of the last 26 weeks. A safe choice.
$
pip install bayesian-optimizationActively maintained. Last release 12 days ago, commits in 20 of the last 26 weeks. A safe choice.
$
pip install egoboxDistributed 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 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.8M downloads a month, 8.8× more than hyperopt.
- optuna also has the best Pythie’s Index (95).
- bayesian-optimization is growing fastest: downloads +23% over the last month.
- Safe default for a new project: optuna.
Side by side
| Metric | bayesian-optimization | egobox | hyperopt | optuna |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 80 | Pythie’s Index: 82 | Pythie’s Index: 52 | Pythie’s Index: 95 |
| Verdict | Actively maintained | Actively maintained | Maintained | Actively maintained |
| Downloads / month | 1.3M | 53.1K | 1.7M | 14.8M |
| Downloads, month over month | +23% | -22% | -7% | +5% |
| GitHub stars | 8.7K | 196 | 7.6K | 15.1K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 65 | 1 | 187 | 811 |
| Last release | Oct 2, 2026 | Nov 19, 2026 | Jul 24, 2026 | Nov 16, 2026 |
| Releases, 12 months | 5 | 9 | 2 | 6 |
| Weeks with commits | 7 / 26 | 20 / 26 | 3 / 26 | 26 / 26 |
| Recent contributors | 24 | 1 | 37 | 21 |
| First release | Jan 2017 | Mar 2022 | Jan 2013 | Oct 2018 |
| Python versions | 3.9 – 3.14 | – | 3.8 – 3.12 | 3.10 – 3.15 |
| License | MIT | non-standard | BSD-3-Clause | 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.