A lightweight Python utility for measuring execution time between named checkpoints
Project description
TimePix
A lightweight Python utility for measuring execution time between named checkpoints.
Installation
$ pip install timepix
Quick start
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")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
timepix-0.1.0.tar.gz
(3.3 kB
view details)
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 timepix-0.1.0.tar.gz.
File metadata
- Download URL: timepix-0.1.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4831955273104efbcba4ad5dff5ed6cb14a57ddbe10d77561e4f095d2cf940c5
|
|
| MD5 |
78bd90bdb7537defafe460dc5c1884d5
|
|
| BLAKE2b-256 |
6f349e20780af45cf85baf05430543e5dadee3d9afd582cf28e6035311b29d08
|
File details
Details for the file timepix-0.1.0-py3-none-any.whl.
File metadata
- Download URL: timepix-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed4a0a468d542d94bbe40fb647f2feb487627bd9c44a34923b14794452d22778
|
|
| MD5 |
db1823f07c57d510548c8ad09b78ce27
|
|
| BLAKE2b-256 |
a7d5aa5e8b1906711d0145dc9b4b22b313426f5a1e5897554a4668c2ec1e23b9
|