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


Download files

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

Source Distribution

PSTymer-0.0.1.tar.gz (1.9 kB view hashes)

Uploaded Source

Supported by

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