Metadata-Version: 2.1
Name: yasiu-time
Version: 0.0.2
Summary: Time decorators. Console timers.
Author: Grzegorz Krug
Author-email: kruggrzegorz@gmail.com
Maintainer: Grzegorz Krug
Maintainer-email: kruggrzegorz@gmail.com
License: MIT
Project-URL: 1. Time Package, https://pypi.org/project/yasiu-time/
Project-URL: 2. Math Package, https://pypi.org/project/yasiu-math/
Project-URL: 3. Image Package, https://pypi.org/project/yasiu-image/
Project-URL: 4. Visualisation Package, https://pypi.org/project/yasiu-vis/
Project-URL: 5. Source repo, https://github.com/GrzegorzKrug/yasiu.time
Keywords: time,timeit,measure time
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE

# Readme of `yasiu.time`

Module with useful measure time decorators.

## Installation

```shell
pip install yasiu-time
```

## Time decorators

- **measure_perf_time_decorator**

  decorator that measures time using *time.perf_counter*


- **measure_real_time_decorator**

  decorator that measures time using *time.time*

### Import:

```py
from yasiu_time.time import measure_perf_time_decorator
```

### Print buffering will impact your performance!

- Use with cauction for multiple function calls

### Use examples

```py
@measure_perf_time_decorator()
def func():
    ...


@measure_perf_time_decorator(">4.1f")
def func():
    ...


@measure_perf_time_decorator(fmt=">4.1f")
def func():
    ...
```

## Console execution timer

not here yet.

# All packages

[1. Time Package](https://pypi.org/project/yasiu-time/)

[2. Math Package](https://pypi.org/project/yasiu-math/)

[3. Image Package](https://pypi.org/project/yasiu-image/)

[4. Pyplot visualisation Package](https://pypi.org/project/yasiu-vis/)

