Skip to content

Simple Timer is a Python package for measuring the time spent on tasks or code execution.

Notifications You must be signed in to change notification settings

orlandoabreugomes/simple-timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Timer

Simple Timer 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.

About

Simple Timer is a Python package for measuring the time spent on tasks or code execution.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages