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.4.tar.gz (109.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.4-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for stopuhr-0.0.4.tar.gz
Algorithm Hash digest
SHA256 1ec732b7b9f0a2e2df17aa7718c16864bb7f6a61cf86099172ac8337e5aeff0a
MD5 cc2fba715b86106258a69634ca63ef03
BLAKE2b-256 199444017c1e168eb401921a3538b420c1b06099f22a5cfb1eba5ed9918dc686

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for stopuhr-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5cd4ae28040d04070d1c5aa3c7c5113efaba18f6ae88854fa14f7cbf8a48ad97
MD5 1264702f2d6ab7283d9f6d526aa5401b
BLAKE2b-256 1cc11a5ff778732c49452095021d9b71827b1a30c2f6a139102976016a190089

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