Comparison
func-timeout vs stopit vs 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 stopitTimeout decorator
Likely abandoned. No release or commit for years (last release over 6 years ago).
$
pip install timeout-decoratorIn short
- func-timeout looks abandoned: avoid it for new projects.
- stopit looks abandoned: avoid it for new projects.
- timeout-decorator looks abandoned: avoid it for new projects.
Side by side
| Metric | func-timeout | stopit | timeout-decorator |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 11 | 19 |