Metadata-Version: 2.4
Name: ticktools
Version: 1.1.0
License: MIT
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# ChronoKit

A stopwatch/timer utillity

## Installation

```bash
pip install ticktools
```

## Importing

```python
from chronokit import *
```

## Usage

### stopwatch
#### start()
The function start() in the class stopwatch takes no arguments. It starts the stopwatch.
```python
stopwatch.start()
```
#### stop()
The function stop() in the class stopwatch takes no arguments. It stops the stopwatch.
```python
stopwatch.stop()
```
#### resume()
The function resume() in the class stopwatch takes no arguments. It resumes the timer once it was stopped.
```python
stopwatch.resume()
```
#### lap()
The function lap() in the class stopwatch takes no arguments. It makes a lap.
```python
stopwatch.lap()
```
#### returntime()
The function returntime() in the class stopwatch takes no arguments. It returns the time the stopwatch has run.
```python
time = stopwatch.returntime()
```
#### returnlaps()
The function returnlaps() in the class stopwatch takes no arguments. It returns the laps in list format.
```python
laps = stopwatch.returnlaps()
```
### wait()

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

```python
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

```python
from_start()
```
