{"library":"codecarbon","type":"library","category":null,"description":"CodeCarbon is an open-source Python library that helps estimate and track the CO2 emissions produced by computing, particularly for machine learning models. It measures energy consumption of CPU, GPU, and RAM, and combines it with regional carbon intensity data to provide CO2 equivalent emissions. Currently at version 3.2.6, it maintains an active development and release cadence, offering both Python API and CLI for monitoring and reporting.","language":"python","status":"active","version":"3.2.6","tags":["machine learning","sustainability","carbon footprint","monitoring","eco-friendly","mlops","energy"],"last_verified":"Mon May 25","install":[{"cmd":"pip install codecarbon","imports":["from codecarbon import EmissionsTracker","from codecarbon import track_emissions","from codecarbon import OfflineEmissionsTracker"]},{"cmd":"conda install -c conda-forge codecarbon","imports":[]}],"homepage":"https://codecarbon.io/","github":"https://github.com/mlco2/codecarbon","docs":"https://docs.codecarbon.io/","changelog":"https://github.com/mlco2/codecarbon/releases","pypi":"https://pypi.org/project/codecarbon/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":14.8,"avg_import_s":1.97,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/codecarbon/compatibility"}}