Comparison
asteval vs simpleeval
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Safe, minimalistic evaluator of python expression using ast module
Maintained. Last release 3 months ago, commits in 11 of the last 26 weeks. Weaker on contributor spread.
$
pip install astevalA simple, safe single expression evaluator library.
Maintained. Last release 3 months ago, commits in 3 of the last 26 weeks. Weaker on commit activity and contributor spread.
$
pip install simpleevalIn short
- simpleeval is the most used: 11.8M downloads a month, 1.6× more than asteval.
- asteval is better maintained: Pythie’s Index 70 against 58.
- simpleeval is growing fastest: downloads +11% over the last month.
Side by side
| Metric | asteval | simpleeval |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 70 | Pythie’s Index: 58 |
| Verdict | Maintained | Maintained |
| Downloads / month | 7.6M | 11.8M |
| Downloads, month over month | +6% | +11% |
| GitHub stars | 225 | 619 |
| Stars, last 7 days | – | – |
| Direct dependents | 100 | 190 |
| Last release | Aug 21, 2026 | Sep 12, 2026 |
| Releases, 12 months | 3 | 5 |
| Weeks with commits | 11 / 26 | 3 / 26 |
| Recent contributors | 6 | 6 |
| First release | Apr 2012 | May 2014 |
| Python versions | 3.10 – 3.14 | – |
| License | MIT | MIT |
| Known vulnerabilities | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.