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 | RSS feed
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)