Metadata-Version: 2.1
Name: pytest-codecarbon
Version: 1.0.0
Summary: Pytest plugin for measuring carbon emissions
Home-page: https://github.com/alexhroom/pytest-codecarbon
Author: Alex H. Room
Author-email: alex.room@btinternet.com
Project-URL: Bug Tracker, https://github.com/alexhroom/pytest-codecarbon/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Framework :: Pytest
Requires-Python: >3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# pytest-codecarbon

Pytest plugin for measuring carbon emissions.

# Installation

This plugin is installed via pip using:
```
pip3 install pytest-codecarbon
```

# Usage

To use, simply run pytest with the `--carbon` option. When the tests have run, you will find an `emissions.csv` file containing each test, and the carbon, time and energy statistics for each test. You can also use `--carbon-dir` to specify a different directory for the `emissions.csv` file.


