Comparison
func-timeout vs timeout-decorator 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 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
- func-timeout 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 | func-timeout | timeout-decorator | wrapt-timeout-decorator |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 11 | 17 |