stopuhr
A simple tool for measuring durations in Python.
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:
import time
from stopuhr import stopwatch
with stopwatch("My Timer"):
# Do something
time.sleep(2)
>>> My Timer took 2.00s
@stopwatch("My Timer")
def my_function():
# Do something
time.sleep(2)
>>> My Timer took 2.00s
This library can much more than that. Visit the reference or example section for more details.
Metadata
Release files for stopuhr 0.0.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| stopuhr-0.0.11.tar.gz | 122.0 kB | Without provenance | Details for stopuhr-0.0.11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| stopuhr-0.0.11-py3-none-any.whl | Python 3 | none | any | Details for stopuhr-0.0.11-py3-none-any.whl |
Total release size: 133.7 kB
Release files / stopuhr-0.0.11.tar.gz
| Download URL | stopuhr-0.0.11.tar.gz |
|---|---|
| Size | 122.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
832f58b8003b66c432e53f2775c8b0b51aa8d4ba151b3764597d2db345cffe53
|
|
BLAKE2b-256 checksum How to use checksums |
f2069ed2ee4ccb50e689bacf3ae908bb5bfb7b9650efb85023667ada407e6608
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.6.7
|
Release files / stopuhr-0.0.11-py3-none-any.whl
| Download URL | stopuhr-0.0.11-py3-none-any.whl |
|---|---|
| Size | 11.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ce988ede9577963e74ad19b34b1103373530af10f3ba28792bbd40398c225639
|
|
BLAKE2b-256 checksum How to use checksums |
e5ec22c2e3e076e724db9d3d53e244a06f89b58b98953e0d4fd1035b7895c2e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.6.7
|
Security for stopuhr 0.0.11
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.