pedros¶
A small package of reusable Python utilities: zero-setup logging, a multi-backend progress bar, and sync/async-safe decorators for timing, error handling, and call tracing.
Installation¶
or
Requires Python 3.10-3.15. rich and tqdm are optional and auto-detected
at runtime; install either to get the enhanced logging/progress-bar
backend.
A quick tour¶
from pedros import monitor, progbar
@monitor
def process(items):
for item in progbar(items, desc="Processing"):
...
process(range(100))
@monitor logs the call, times it, and catches/logs/re-raises any
exception; progbar shows a progress bar with whatever backend is
installed. Both need zero configuration.
Where to go next¶
- Guide — one page per feature, with runnable examples and every configuration option
- API Reference — every public signature in one place