This package is for measuring the time spent for a function to run.
Project description
JCOtimer
JCOtimer is a Python package for measuring the time spent a function takes to execute.
Installation
Requirements
- Windows/Linux/OSX
- Python 3.x
Check it on Pypi.
$ pip install JCOtimer
Usage
from JCOtimer.timer import timer
@timer #use as decorator
def foo():
print('bar' * 999999)
foo() # returns 'Time it took to run the function: 0.4072580337524414 secs'
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
Author
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
JCOtimer-5.0.tar.gz
(1.7 kB
view hashes)
Built Distribution
JCOtimer-5.0-py3-none-any.whl
(2.1 kB
view hashes)