Comparison
stopit vs timeout-decorator vs wrapt-timeout-decorator
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Timeout 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 stopitTimeout decorator
Likely abandoned. No release or commit for years (last release over 6 years ago).
$
pip install timeout-decoratorThe 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
- stopit looks abandoned: avoid it for new projects.
- timeout-decorator 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 | stopit | timeout-decorator | wrapt-timeout-decorator |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 19 | Pythie’s Index: 17 | Pythie’s Index: 15 |
| Verdict | Likely abandoned | Likely abandoned | Low maintenance activity |
| Downloads / month | 272.8K | 9.5M | 1.6M |
| Downloads, month over month | -12% | +136% | +13% |
| GitHub stars | – | 637 | 165 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 55 | 123 | 30 |
| Last release | Feb 9, 2018 | Nov 15, 2020 | Feb 28, 2024 |
| Releases, 12 months | 0 | 0 | 0 |
| Weeks with commits | – | 0 / 26 | 0 / 26 |
| Recent contributors | – | 15 | 2 |
| First release | Feb 2014 | Jan 2013 | Apr 2019 |
| Python versions | 3.3 – 3.6 | – | – |
| License | GPL-3.0 | MIT | 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.