Welcome to stopuhr’s documentation!#
Version: 0.0.4
A simple tool for measuring durations in Python.
Quick Start#
Installation#
You can install stopuhr via pip:
pip install stopuhr
However, uv is recommended for installing python packages:
uv add stopuhr
Usage#
With stopuhr it is convinient to measure durations in Python:
from stopuhr import stopuhr
with stopuhr("My Timer"):
# Do something
pass
For a stateful version, a decorator or a stateful decorator please visit the Reference or have a look at the examples.