Skip to main content

No project description provided

Project description

ChronoKit

A stopwatch/timer utillity

Installation

pip install ticktools

Importing

from chronokit import *

Usage

stopwatch

start()

The function start() in the class stopwatch takes no arguments. It starts the stopwatch.

stopwatch.start()

stop()

The function stop() in the class stopwatch takes no arguments. It stops the stopwatch.

stopwatch.stop()

resume()

The function resume() in the class stopwatch takes no arguments. It resumes the timer once it was stopped.

stopwatch.resume()

lap()

The function lap() in the class stopwatch takes no arguments. It makes a lap.

stopwatch.lap()

returntime()

The function returntime() in the class stopwatch takes no arguments. It returns the time the stopwatch has run.

time = stopwatch.returntime()

returnlaps()

The function returnlaps() in the class stopwatch takes no arguments. It returns the laps in list format.

laps = stopwatch.returnlaps()

wait()

The function wait() takes one argument: the amout of time to wait in milliseconds.

wait(1000)

from_start()

The function from_start() doesn't take any arguments. When you call the function, it returns the time elapsed since the module was imported

from_start()

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

ticktools-1.2.0.tar.gz (1.5 kB view details)

Uploaded Source

Built Distribution

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

ticktools-1.2.0-py3-none-any.whl (1.4 kB view details)

Uploaded Python 3

File details

Details for the file ticktools-1.2.0.tar.gz.

File metadata

  • Download URL: ticktools-1.2.0.tar.gz
  • Upload date:
  • Size: 1.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for ticktools-1.2.0.tar.gz
Algorithm Hash digest
SHA256 5a2e18ae76e346f13851dba4e241b251614753b4501d897a4ee9f9bd1ec4a890
MD5 3e28276e6637f828c73bbff4199ceca0
BLAKE2b-256 4fec5e98447cc3dee78923e24d52502e623549eaaf19958f75ac7d9ab50e56ab

See more details on using hashes here.

File details

Details for the file ticktools-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: ticktools-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 1.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for ticktools-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8275392852758c2a6f9fc8fdcd0cbaf4e7fe4ba15ae5cae29ce6183198e44f0b
MD5 6c7a39692432ef922f38e8ed8cfaaabe
BLAKE2b-256 42b8dd4dcc5a37e71c1384c66cd0c51fc4e2152e543e4d9f8c5bf2ddc7f3feb0

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