Pytest plugin for measuring carbon emissions
Pytest plugin for measuring carbon emissions.
This plugin is installed via pip using:
pip3 install pytest-codecarbon
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
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for pytest_codecarbon-1.0.0-py2.py3-none-any.whl