skip to navigation
skip to content

Not Logged In

code_time_tracker 0.1

A very simple decorator that tracks running time

Code time tracker
=================

simply tracks ellapsed time of decorated code and print it when script is finished.

In order to use it, just do:

from code_time_tracker import code_time_tracked

and later decorate your code like this:

@code_time_tracked
def my_func():
do_stuff()

And with that, if you run a script with such decoration you'll get something like this output:
]$ python sample.py
... (script output if any)
<code time="" tracker="" __main__.my_func:="" 0:00:00.001063="" timedelta,="" 2="" calls="">  
File Type Py Version Uploaded on Size
code_time_tracker-0.1.tar.gz (md5) Source 2012-08-04 2KB
  • Downloads (All Versions):
  • 0 downloads in the last day
  • 9 downloads in the last week
  • 88 downloads in the last month