Comparison
func-timeout vs stopit vs wrapt-timeout-decorator
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python module which allows you to specify timeouts when calling any existing function. Also provides support for stoppable-threads
Likely abandoned. No release or commit for years (last release over 7 years ago).
pip install func-timeoutTimeout control decorator and context managers, raise any exception in another thread
Likely abandoned. No release or commit for years (last release over 8 years ago).
pip install stopitThe better timout decorator
Low maintenance activity. Last release over 2 years ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install wrapt-timeout-decoratorIn short
- func-timeout looks abandoned: avoid it for new projects.
- stopit looks abandoned: avoid it for new projects.
- wrapt-timeout-decorator is the most used: 1.6M downloads a month.
- wrapt-timeout-decorator also has the best Pythie’s Index (15).
- wrapt-timeout-decorator is growing fastest: downloads +13% over the last month.
Side by side
| Metric | func-timeout | stopit | wrapt-timeout-decorator |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 11 | Pythie’s Index: 19 | Pythie’s Index: 15 |
| Verdict | Likely abandoned | Likely abandoned | Low maintenance activity |
| Downloads / month | 5.8M | 272.8K | 1.6M |
| Downloads, month over month | -13% | -12% | +13% |
| GitHub stars | 327 | – | 165 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 174 | 55 | 30 |
| Last release | Aug 19, 2019 | Feb 9, 2018 | Feb 28, 2024 |
| Releases, 12 months | 0 | 0 | 0 |
| Weeks with commits | 0 / 26 | – | 0 / 26 |
| Recent contributors | 2 | – | 2 |
| First release | Mar 2016 | Feb 2014 | Apr 2019 |
| Python versions | 3.4 – 3.7 | 3.3 – 3.6 | – |
| License | LGPL-2.0 | GPL-3.0 | MIT |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.