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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ticktools-1.1.0.tar.gz.
File metadata
- Download URL: ticktools-1.1.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ed4bc434b3c0889b1327eb443cb54a2f4a212f4d0aa611c10732e9f3a16716c
|
|
| MD5 |
4a751cf81b911bb758837f1faa8d9c58
|
|
| BLAKE2b-256 |
1e038f2b0c9b74401ad4f95de84df8b1d9a8ed4d01341b19f2772cc4c8ea2ad7
|
File details
Details for the file ticktools-1.1.0-py3-none-any.whl.
File metadata
- Download URL: ticktools-1.1.0-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
889217c717027efc6ca516295cd8ee607e4854f8202382708db7cea99f31f9a6
|
|
| MD5 |
78190840923d158b361596e30dd7217d
|
|
| BLAKE2b-256 |
4eb2757a197fad34a4f8359eac9e0ed4162f26af489e6c651213d9f9a41f723d
|