Metadata-Version: 2.1
Name: timejob
Version: 0.0.1
Summary: This package provides a decorator function `timejob` that can be used to measure the execution time of other functions in Python.
Project-URL: Homepage, https://github.com/cletrix/timejob
Project-URL: Bug Tracker, https://github.com/cletrix/timejob
Author-email: Cleyton Pedroza <cleytonpedroza@gmail.com>
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.7
Description-Content-Type: text/markdown

# Timejob

This package provides a decorator function `timejob` that can be used to measure the execution time of other functions in Python.

## Installation

You can install this package using pip:

```pip install timejob```


## Usage

To use the `timejob` decorator, simply import it from the package and apply it to the function you want to measure:

```python
from timejob import timejob

def fibonacci(n):
    if n <= 1:
        return n
    else:
        return fibonacci(n-1) + fibonacci(n-2)
    
@timejob
def show(value: int):
    result = fibonacci(value)
    print(f"result fibonacci:{result}")

show(1)
show(10)
show(20)

```
When you run my_function, the decorator will print the execution time in seconds to the console.

License
This package is licensed under the MIT License 
