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

Usage:

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

Project details


Release history Release notifications

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 hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page