Skip to main content

Monitor time for Python code

Project description

This module allows to monitor time for Python code. You can tag different timers and know how long each of them took and, if they were in a loop, how many loops the ran into.

You can install it with pip:

pip install pstymer


>>> PythonSimpleTimer.PythonTimer import PythonTimer
>>> my_timer = PythonTimer()
>>> my_timer.start('timer_name')
>>> -- process stuff --
>>> my_timer.stop('timer_name')

Project details

Download files

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

Files for PSTymer, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size PSTymer-0.0.1.tar.gz (1.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page