PyStopwatch

PyStopwatch is a simple GUI stopwatch application.

Installation

PyStopwatch is published on PyPI and can be installed from there:

pip install pystopwatch

Usage

To get started right away, run the following command:

pystopwatch

You can run PyStopwatch as a package if running it as a script doesn’t work:

python -m pystopwatch

Adjust the time interval[ms] and run the application:

pystopwatch --interval=1

Import the module and use it:

from pystopwatch import Stopwatch
sw = Stopwatch()
sw.run()

pystopwatch

pystopwatch package

Submodules

pystopwatch.pystopwatch module

Module contents

Graph

Class Graph

digraph "classes" {
rankdir=BT
charset="utf-8"
"pystopwatch.pystopwatch.Stopwatch" [color="black", fontcolor="black", label="{Stopwatch|after_id : int, NoneType\lapp : Tk, NoneType\linterval : int\llabel : Label, NoneType\lstart_flag : bool\lstart_time : int\lstop_elapsed_time : int\lstop_flag : bool\l|clear()\lrun()\lstart()\lstop()\lupdate_time()\l}", shape="record", style="solid"];
}

Package Graph

digraph "packages" {
rankdir=BT
charset="utf-8"
"pystopwatch" [color="black", label="pystopwatch", shape="box", style="solid"];
"pystopwatch.__main__" [color="black", label="pystopwatch.__main__", shape="box", style="solid"];
"pystopwatch.pystopwatch" [color="black", label="pystopwatch.pystopwatch", shape="box", style="solid"];
"pystopwatch" -> "pystopwatch" [arrowhead="open", arrowtail="none"];
"pystopwatch.__main__" -> "pystopwatch" [arrowhead="open", arrowtail="none"];
}

Indices and tables