Timeout Decorator

JSON →
library 0.5.0 ·python
verified May 21, 2026

The `timeout-decorator` library provides a simple Python decorator to enforce execution time limits on functions. It primarily uses Unix signals for timeouts in the main thread but offers a multiprocessing strategy for use in other threads or on Windows. The library is currently at version 0.5.0, with its last release in 2020, but it remains a commonly used solution for function timeouts.

total hits 12
actors 4 distinct systems
last hit 2d ago AhrefsBot
GPTBot
6
Script
2
ChatGPT-User
1

top countries 🇺🇸 United States · 🇫🇷 France · 🇩🇪 Germany · 🇨🇦 Canada