Metadata-Version: 2.1
Name: measure_exec_time
Version: 0.10
Summary: Decorator for measuring the execution time of a callable
Home-page: https://github.com/hansalemaos/measure_exec_time
Author: Johannes Fischer
Author-email: <aulasparticularesdealemaosp@gmail.com>
License: MIT
Keywords: decorator,measuring,time
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Scientific/Engineering :: Visualization
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Text Editors :: Text Processing
Classifier: Topic :: Text Processing :: General
Classifier: Topic :: Text Processing :: Indexing
Classifier: Topic :: Text Processing :: Filters
Classifier: Topic :: Utilities
Description-Content-Type: text/markdown
License-File: LICENSE.rst


# Decorator for measuring the execution time of a callable

```python

$pip install measure-exec-time
from measure_exec_time import measure_time
from time import sleep



@measure_time
def foo1():
    sleep(2)
    return 22





@measure_time(show_timedelta=False, show_start_end=True)
def foo2():
    sleep(2)
    return 22





@measure_time(show_timedelta=True, show_start_end=False)
def foo3():
    sleep(2)
    return 22


foo1()
print('----------')
foo2()
print('----------')
foo3()


    
```
<img src="https://github.com/hansalemaos/screenshots/raw/main/timemea.png"/>




