No project description provided
Project description
ChronoKit
A stopwatch/timer utillity
Installation
pip install chronokit
Importing
from chronokit import *
Functions
stopwatch("START")
wait(1000)
stopwatch("STOP")
from_start()
Usage
stopwatch()
The function stopwatch() takes one argument: "START" or "STOP". "START" starts the stopwatch and "STOP" stops it and returns how many milliseconds has elapsed since you started the stopwatch using stopwatch("START"). "START" works with any capitalization:
stopwatch("StaRt")
stopwatch("start")
stopwatch("Start")
stopwatch("StOP")
stopwatch("stop")
stopwatch("Stop")
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.0.2.tar.gz.
File metadata
- Download URL: ticktools-1.0.2.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79d709f51c746228e5160afcf5ebaccf4badf6c9969967b08788e87c4bc256ac
|
|
| MD5 |
f364dcce336ea98580c52468f7d2469a
|
|
| BLAKE2b-256 |
edffe3b4856b8e0df46f0e16ea75715734d9c7085726c03ea98a55ba66723943
|
File details
Details for the file ticktools-1.0.2-py3-none-any.whl.
File metadata
- Download URL: ticktools-1.0.2-py3-none-any.whl
- Upload date:
- Size: 2.6 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 |
fd2ca6c022e578dac69e14fcbed2200ec363735035146f555e7fae7a1c60a5c0
|
|
| MD5 |
7280e73927fbc146b78ed5635b6853dd
|
|
| BLAKE2b-256 |
06063ef707ce3c7fed31fdfad121f0e8dfb2818b6f133dadab0801ffd63337a0
|