Pytest plugin for measuring carbon emissions
Reason this release was yanked:
test release to add this project to pypi
Project description
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 cumulative carbon/time usage after each test. You can also use --carbon-dir
to specify a different directory for the emissions.csv
file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for pytest_codecarbon-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5787e71aa0b5b4968b44a40552469ebd0177fb1bfd79b8f8be8f8598a8b3576 |
|
MD5 | 95f068da92418021bd44349232944d9d |
|
BLAKE2b-256 | 3d79cb3d5d15a64d00642193507bf5102d59c7aaeef33a3da74019812996474b |