stopit: Timeout Control for Python

JSON →
library 1.1.2 ·python maintenance
verified May 25, 2026

stopit is a Python library that provides flexible mechanisms for controlling the execution time of code blocks and functions. It offers both context managers and decorators to enforce timeouts and can raise exceptions in other threads. The current version is 1.1.2, with its last major update in 2018, indicating a maintenance-focused release cadence.

total hits 27
actors 10 distinct systems
last hit 1d ago ByteDance
GPTBot
6
MetaBot
4
Script
2
ByteDance
1
ClaudeBot
1
ChatGPT-User
1
Search engines
7
Humans
1

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