Skip to main content

This is a simple stopwatch class. Example:

from tados_stopwatch import Stopwatch
import time

s = Stopwatch()

s.start()
time.sleep(3)
print(s.get())

time.sleep(2)
s.stop()
print(s.get())

s.reset()

s.set(14)

s.bind(3, lambda: print("3 seconds have passed"))

while s.get() < 5:
    print("Updated")
    time.sleep(1)

Release files for tados-stopwatch 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tados-stopwatch 0.0.2
File Size Uploaded
tados_stopwatch-0.0.2.tar.gz 1.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tados-stopwatch 0.0.2
File Interpreter ABI Platform
tados_stopwatch-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 4.1 kB

Release files / tados_stopwatch-0.0.2.tar.gz

Download URL tados_stopwatch-0.0.2.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e209e762b16014aed52e44a5cfd3d57ddee958c4ef811bf9c9bd1b85241f7ba5
BLAKE2b-256 checksum
How to use checksums
ec37940cc6862cf59edfb2cab314265901ac8f9509855863461fc7701f2006b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.2

Release files / tados_stopwatch-0.0.2-py3-none-any.whl

Download URL tados_stopwatch-0.0.2-py3-none-any.whl
Size 2.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
06bffd649f2af9b3ee157ef4ef360a0e1ead5a88dbe823e918072efeaebaac02
BLAKE2b-256 checksum
How to use checksums
8dac651f14a2a3143db10307960f157e545ae508bdf4c4a9603617f651b5f2bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.2

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page