Skip to main content

A very simple decorator that tracks running time

Project description

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:

def my_func():

And with that, if you run a script with such decoration you'll get something like this output:
]$ python
... (script output if any)
<Code time tracker __main__.my_func: 0:00:00.001063 timedelta, 2 calls>

Project details

Release history Release notifications

This version


Download files

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

Files for code_time_tracker, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size code_time_tracker-0.1.tar.gz (2.3 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