A simple timer to measure task durations.
Project description
Simple Timer Plus
Simple Timer Plus is a Python package for measuring the time spent on tasks or code execution.
Installation
Use the package manager pip to install Simple Timer:
pip install simple-timer
Usage
Here's how to use the Simple Timer:
from simple_timer import SimpleTimer
import time
timer = SimpleTimer()
timer.start()
# Perform some tasks
time.sleep(3)
timer.pause()
timer.show_elapsed_time() # Output: Elapsed time: 00:00:03
Features
- Start, pause, resume, and reset the timer.
- Get the elapsed time in hours, minutes, and seconds.
Author
Orlando Gomes
License
This project is licensed under the MIT License.
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
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 simple_timer_plus-0.0.1.tar.gz.
File metadata
- Download URL: simple_timer_plus-0.0.1.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ddab4a80dbd24c86f033855538474d77cb8c744e2192acf1119a96982b464ef
|
|
| MD5 |
35e77342fff7041d9726b2728de9c4e8
|
|
| BLAKE2b-256 |
8ad219e44a671f74da5dbb903f17090bda568d3a98b882b75a7abf5646eee703
|
File details
Details for the file simple_timer_plus-0.0.1-py3-none-any.whl.
File metadata
- Download URL: simple_timer_plus-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a15ebe90f41edbffa9aa0204cd9a926ccaa1f487798ae9ba1bb254c2e22f5b44
|
|
| MD5 |
4dfad998c5786acbf7e947f6b61ea1c3
|
|
| BLAKE2b-256 |
60d1b1a48e9ef4d1dda8527d8431ae8be7c86162ee603e988076ef013da8b10e
|