A tiny Python utility library for pausing with style — timed waits, animated messages, and input timeouts when bare time.sleep() isn't enough.
Ever wrapped everything in try/except just to rerun on failure? Or wanted a countdown with a message before retrying? pauselib gives you readable pause helpers without boilerplate.
pause(seconds)— simple sleep wrapperwith_msg(seconds, message)— wait with a printed messagefor_input(seconds)— timed input prompts- Custom exception types in
exceptions.py - Test harness under
tests/
from pause import pause
pause.pause(3)
pause.with_msg(5, "Retrying in…")
pause.for_input(10)Or explore interactively:
python test.pypause.py # Main API
core/ # Implementation details
exceptions.py # Custom error types
tests/ # Test cases