Metadata-Version: 2.1
Name: power-watcher
Version: 0.1.0
Summary: Python3 context manager to log power consumption of any ML-pipeline running on a Nvidia-GPU.
Home-page: https://github.com/WGussev/PowerWatcher
Author: Poima
Author-email: author@example.com
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
Requires-Dist: pynvml (>=8.0.4)

# PowerWatcher

Python3 context manager to log power consumption of an ML-pipeline running on a Nvidia-GPU.

## Installation

pip install power-consumption

## Usage

```{python}
from power_watcher import PowerWatcher


with PowerWatcher() as pw:
    ...
    your pipeline
    ...

total_consumption = pw.total  # total power consumption
```

repo: https://github.com/WGussev/PowerWatcher

