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.2.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.2-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: stopuhr-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 4bb1a5527956d259f21ee632e111ff6d1c2fc14618a2a365d613f698f26980e0
MD5 82946d088fc734669c7c388545e5b72a
BLAKE2b-256 5e4906987b3db36899e6f95665dede45ce85d809b8e511262f695549c1e18afa

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for stopuhr-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a319ac4c189d49172fe5e77f8c6574ea5d90636d2c59d4adf4ea4f5f4829adca
MD5 4894711d39106e7551d40aa65dbb9606
BLAKE2b-256 c9517f1e7e6adaaed541d61363edcf3bbfede4847129ff5f5f707f4f246fdbf7

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