CMD + K

codecarbon

Community

Track and reduce CO2 emissions from your computing

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::codecarbon

Try This Package Beta

Usage Tracking

3.3.1
3.3.0
2.2.2
2.2.1
2.1.4
5 / 8 versions selected
Downloads (Last 6 months): 0

Description

CodeCarbon is a Python package that estimates the carbon emissions produced by computer programs, from straightforward algorithms to deep neural networks.

It measures the electricity consumed by the machine it runs on and converts it to CO2 using the carbon intensity of the local electricity grid, taking into account your computing infrastructure, location, usage and running time. It can be used as a Python context manager, a decorator, or from the command line, and works either standalone or by reporting to the CodeCarbon API and dashboard.

About

Summary

Track and reduce CO2 emissions from your computing

Last Updated

Sep 10, 2026 at 07:56

License

MIT

Supported Platforms

noarch