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
Close
Hashes for simple_timer_plus-0.0.1-py3-none-any.whl
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | a15ebe90f41edbffa9aa0204cd9a926ccaa1f487798ae9ba1bb254c2e22f5b44 |
|
| MD5 | 4dfad998c5786acbf7e947f6b61ea1c3 |
|
| BLAKE2b-256 | 60d1b1a48e9ef4d1dda8527d8431ae8be7c86162ee603e988076ef013da8b10e |