Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simple_timer_plus-0.0.1.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simple_timer_plus-0.0.1-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

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

Hashes for simple_timer_plus-0.0.1.tar.gz
Algorithm Hash digest
SHA256 9ddab4a80dbd24c86f033855538474d77cb8c744e2192acf1119a96982b464ef
MD5 35e77342fff7041d9726b2728de9c4e8
BLAKE2b-256 8ad219e44a671f74da5dbb903f17090bda568d3a98b882b75a7abf5646eee703

See more details on using hashes here.

File details

Details for the file simple_timer_plus-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for simple_timer_plus-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a15ebe90f41edbffa9aa0204cd9a926ccaa1f487798ae9ba1bb254c2e22f5b44
MD5 4dfad998c5786acbf7e947f6b61ea1c3
BLAKE2b-256 60d1b1a48e9ef4d1dda8527d8431ae8be7c86162ee603e988076ef013da8b10e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page