Skip to main content

A simple tool for measuring durations in Python.

Project description

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:

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stopuhr-0.0.1.tar.gz (91.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stopuhr-0.0.1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file stopuhr-0.0.1.tar.gz.

File metadata

  • Download URL: stopuhr-0.0.1.tar.gz
  • Upload date:
  • Size: 91.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.6.7

File hashes

Hashes for stopuhr-0.0.1.tar.gz
Algorithm Hash digest
SHA256 37a2f03e64128bc181fd23633e1f71bd65558d741477797b258522d8a593c365
MD5 72ede62af5248a08e9b9a7f03cda6fb0
BLAKE2b-256 c4257220b03640ca23b22263d3070c8d0ae16276b035fc3d2e24081756b0041e

See more details on using hashes here.

File details

Details for the file stopuhr-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: stopuhr-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.6.7

File hashes

Hashes for stopuhr-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 69e68deeaf1cdde69adeb4de58cccac207e8353ba998f22c518ea389b67157d7
MD5 0d20f0d71b5fc68eeeea9c818b50ffd5
BLAKE2b-256 8f0d1bbdea91ce6291f10aa2fb8bb00d393a6207a2f388bdbca512c6f641b119

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page