tinyio: A Minimalist Event Loop for Python

2025-07-27
tinyio: A Minimalist Event Loop for Python

Tired of asyncio's complex error handling? tinyio is a dead-simple (~200 lines) event loop for Python, designed for ease of use and robust error handling. It uses `yield` instead of `await`, providing a straightforward API. Upon an error in any coroutine, tinyio cancels all coroutines and provides detailed tracebacks for easy debugging. It supports nested loops and thread operations, making it ideal for simple tasks, especially when straightforward error semantics are desired.

Development