Metadata-Version: 2.4
Name: timepix
Version: 0.1.0
Summary: A lightweight Python utility for measuring execution time between named checkpoints
Author-email: Alexey Kostarev <normjkeeewm@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/NormanwOw/timepix
Project-URL: Repository, https://github.com/NormanwOw/timepix
Project-URL: Issues, https://github.com/NormanwOw/timepix/issues
Keywords: timer,benchmark,profiling,performance,time
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# TimePix

A lightweight Python utility for measuring execution time between named checkpoints.

## Installation

```bash
$ pip install timepix
```
## Quick start
```python
from timepix import timepix as tp
import time

tp.set_point("start")
time.sleep(0.5)

tp.set_point("middle")
time.sleep(0.3)

tp.from_point("start")
tp.from_last_point()
tp.between_points("start", "middle")
```
