Metadata-Version: 2.1
Name: timeit-plus
Version: 0.0.3
Summary: just like timeit, but meant as a decorator
Home-page: UNKNOWN
Author: Cristian Hainic
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown

This is intended as decorator version of the built-in `timeit` Python module.

Extras include sending emails when time thresholds are exceeded and capability of using your own `logger.Logger()` instance to log messages.

Built with Django in mind, but can be used with Python in general.

Usage:

```python
from timeit_plus import tplus

@tplus()
def foo(bar):
    return bar
```

Optional keyword arguments you can pass to the `tplus()` decorator:

- `max_time`: TBC
- `email_config`: TBC
- `logger`: TBC

This README is still wip, check out decorator docstring for more info.

