{"library":"func-timeout","type":"library","category":null,"description":"`func-timeout` is a Python module that enables setting timeouts for arbitrary function calls, preventing them from running indefinitely. It achieves this by executing the function in a separate thread and forcefully terminating it if the specified duration is exceeded. The latest version is 4.3.6, with a historically sporadic release cadence, recently updated to support newer Python versions.","language":"python","status":"active","version":"4.3.6","tags":["timeout","thread","function","decorator"],"last_verified":"Thu May 21","install":[{"cmd":"pip install func-timeout","imports":["from func_timeout import func_timeout","from func_timeout import func_set_timeout","from func_timeout import FunctionTimedOut"]}],"homepage":null,"github":"https://github.com/kata198/func_timeout","docs":null,"changelog":null,"pypi":"https://pypi.org/project/func-timeout/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":2.4,"avg_import_s":0.04,"wheel_type":"sdist"},"url":"https://checklist.day/v1/registry/func-timeout/compatibility"}}