{"adoption": {"forks": 316, "observed_at": "2026-08-28T04:05:51.801048+00:00", "stars": 1905}, "canonical_url": "https://ross.abutalabs.com/products/codecarbon", "card": {"archived": false, "artifact_type": "library", "description": "Track emissions from Compute and recommend ways to reduce their impact on the environment.", "domain": ["machine-learning", "developer-tools", "data-science", "energy"], "enriched": true, "function": ["monitoring", "analytics", "benchmarking", "cli"], "health_score": 99, "homepage": "https://docs.codecarbon.io/", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["mlco2/codecarbon"], "name": "mlco2/codecarbon", "platform": ["python", "windows", "cli"], "pushed_at": "2026-08-20T06:21:50+00:00", "repo": "mlco2/codecarbon", "stars": 1905, "tags": ["carbon-emissions", "energy-consumption", "co2-tracking", "green-computing", "ai-ethics", "sustainability", "emissions-tracker", "linux", "macos"], "topics": ["ai-ethics", "carbon-emissions", "carbon-footprint", "co2-emissions", "energy-consumption", "energy-efficiency", "fairness", "sustainability"], "urls": [], "use_cases": ["track carbon emissions of my machine learning training runs", "measure energy consumption of python code", "estimate co2 footprint of gpu training", "monitor sustainability of compute workloads", "compare carbon efficiency of ml models", "track emissions from a command without changing code"], "what_it_is": "CodeCarbon is a lightweight Python library and CLI that estimates and tracks CO2 emissions from local computing hardware (CPU, GPU, RAM) by measuring power consumption and applying regional carbon intensity. It helps quantify the environmental impact of running code, especially machine learning workloads, and recommends ways to reduce it.", "when_to_avoid": ["you need emissions from remote GenAI API calls (use EcoLogits instead)", "you need fine-grained measurement of disk, network, cooling, or display power", "you run exclusively on hardware where power metrics are unavailable"], "when_to_choose": ["you run ML training or heavy compute on local hardware and want to quantify its carbon footprint", "you want a simple pip-installable tracker with a Python API and CLI", "you need emissions reporting for sustainability or ai-ethics goals"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/codecarbon", "repo": "mlco2/codecarbon", "role": "main", "score": 98}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:51.801048+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:11:43.630860+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c292a9b950e41961b229cb61459321a1df5703f7f4ef59f4e3b576159783147f", "fetched_at": "2026-08-28T04:05:51.801048+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mlco2/codecarbon"}, {"content_hash": "be56de3a38dd2242dcbdbb382fbe34e4f64f62521db67090f879c6606e6b94d1", "fetched_at": "2026-08-29T10:50:46.072088+00:00", "kind": "homepage", "missing": false, "url": "https://docs.codecarbon.io/"}, {"content_hash": "1f69784e88f066e42e0c2385173bb780942b7ac48f7c4de40c6b3bcc303d2dc8", "fetched_at": "2026-08-29T10:50:46.081602+00:00", "kind": "site_page", "missing": false, "url": "https://docs.codecarbon.io/latest"}, {"content_hash": "88309bfafe63b6ed694a2cfbf12397721d4cb9cf73ecd5bab966ecfada9c95ce", "fetched_at": "2026-08-29T10:50:46.083977+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/codecarbon/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:51.801048+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:11:43.630860+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c292a9b950e41961b229cb61459321a1df5703f7f4ef59f4e3b576159783147f", "fetched_at": "2026-08-28T04:05:51.801048+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mlco2/codecarbon"}, {"content_hash": "be56de3a38dd2242dcbdbb382fbe34e4f64f62521db67090f879c6606e6b94d1", "fetched_at": "2026-08-29T10:50:46.072088+00:00", "kind": "homepage", "missing": false, "url": "https://docs.codecarbon.io/"}, {"content_hash": "1f69784e88f066e42e0c2385173bb780942b7ac48f7c4de40c6b3bcc303d2dc8", "fetched_at": "2026-08-29T10:50:46.081602+00:00", "kind": "site_page", "missing": false, "url": "https://docs.codecarbon.io/latest"}, {"content_hash": "88309bfafe63b6ed694a2cfbf12397721d4cb9cf73ecd5bab966ecfada9c95ce", "fetched_at": "2026-08-29T10:50:46.083977+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/codecarbon/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:11:43.630860+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c292a9b950e41961b229cb61459321a1df5703f7f4ef59f4e3b576159783147f", "fetched_at": "2026-08-28T04:05:51.801048+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mlco2/codecarbon"}, {"content_hash": "be56de3a38dd2242dcbdbb382fbe34e4f64f62521db67090f879c6606e6b94d1", "fetched_at": "2026-08-29T10:50:46.072088+00:00", "kind": "homepage", "missing": false, "url": "https://docs.codecarbon.io/"}, {"content_hash": "1f69784e88f066e42e0c2385173bb780942b7ac48f7c4de40c6b3bcc303d2dc8", "fetched_at": "2026-08-29T10:50:46.081602+00:00", "kind": "site_page", "missing": false, "url": "https://docs.codecarbon.io/latest"}, {"content_hash": "88309bfafe63b6ed694a2cfbf12397721d4cb9cf73ecd5bab966ecfada9c95ce", "fetched_at": "2026-08-29T10:50:46.083977+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/codecarbon/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:51.801048+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:51.801048+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:51.801048+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:11:43.630860+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c292a9b950e41961b229cb61459321a1df5703f7f4ef59f4e3b576159783147f", "fetched_at": "2026-08-28T04:05:51.801048+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mlco2/codecarbon"}, {"content_hash": "be56de3a38dd2242dcbdbb382fbe34e4f64f62521db67090f879c6606e6b94d1", "fetched_at": "2026-08-29T10:50:46.072088+00:00", "kind": "homepage", "missing": false, "url": "https://docs.codecarbon.io/"}, {"content_hash": "1f69784e88f066e42e0c2385173bb780942b7ac48f7c4de40c6b3bcc303d2dc8", "fetched_at": "2026-08-29T10:50:46.081602+00:00", "kind": "site_page", "missing": false, "url": "https://docs.codecarbon.io/latest"}, {"content_hash": "88309bfafe63b6ed694a2cfbf12397721d4cb9cf73ecd5bab966ecfada9c95ce", "fetched_at": "2026-08-29T10:50:46.083977+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/codecarbon/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:51.801048+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:51.801048+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:11:43.630860+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c292a9b950e41961b229cb61459321a1df5703f7f4ef59f4e3b576159783147f", "fetched_at": "2026-08-28T04:05:51.801048+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mlco2/codecarbon"}, {"content_hash": "be56de3a38dd2242dcbdbb382fbe34e4f64f62521db67090f879c6606e6b94d1", "fetched_at": "2026-08-29T10:50:46.072088+00:00", "kind": "homepage", "missing": false, "url": "https://docs.codecarbon.io/"}, {"content_hash": "1f69784e88f066e42e0c2385173bb780942b7ac48f7c4de40c6b3bcc303d2dc8", "fetched_at": "2026-08-29T10:50:46.081602+00:00", "kind": "site_page", "missing": false, "url": "https://docs.codecarbon.io/latest"}, {"content_hash": "88309bfafe63b6ed694a2cfbf12397721d4cb9cf73ecd5bab966ecfada9c95ce", "fetched_at": "2026-08-29T10:50:46.083977+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/codecarbon/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:51.801048+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:51.801048+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:51.801048+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:11:43.630860+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c292a9b950e41961b229cb61459321a1df5703f7f4ef59f4e3b576159783147f", "fetched_at": "2026-08-28T04:05:51.801048+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mlco2/codecarbon"}, {"content_hash": "be56de3a38dd2242dcbdbb382fbe34e4f64f62521db67090f879c6606e6b94d1", "fetched_at": "2026-08-29T10:50:46.072088+00:00", "kind": "homepage", "missing": false, "url": "https://docs.codecarbon.io/"}, {"content_hash": "1f69784e88f066e42e0c2385173bb780942b7ac48f7c4de40c6b3bcc303d2dc8", "fetched_at": "2026-08-29T10:50:46.081602+00:00", "kind": "site_page", "missing": false, "url": "https://docs.codecarbon.io/latest"}, {"content_hash": "88309bfafe63b6ed694a2cfbf12397721d4cb9cf73ecd5bab966ecfada9c95ce", "fetched_at": "2026-08-29T10:50:46.083977+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/codecarbon/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:51.801048+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:51.801048+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:11:43.630860+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c292a9b950e41961b229cb61459321a1df5703f7f4ef59f4e3b576159783147f", "fetched_at": "2026-08-28T04:05:51.801048+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mlco2/codecarbon"}, {"content_hash": "be56de3a38dd2242dcbdbb382fbe34e4f64f62521db67090f879c6606e6b94d1", "fetched_at": "2026-08-29T10:50:46.072088+00:00", "kind": "homepage", "missing": false, "url": "https://docs.codecarbon.io/"}, {"content_hash": "1f69784e88f066e42e0c2385173bb780942b7ac48f7c4de40c6b3bcc303d2dc8", "fetched_at": "2026-08-29T10:50:46.081602+00:00", "kind": "site_page", "missing": false, "url": "https://docs.codecarbon.io/latest"}, {"content_hash": "88309bfafe63b6ed694a2cfbf12397721d4cb9cf73ecd5bab966ecfada9c95ce", "fetched_at": "2026-08-29T10:50:46.083977+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/codecarbon/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:11:43.630860+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c292a9b950e41961b229cb61459321a1df5703f7f4ef59f4e3b576159783147f", "fetched_at": "2026-08-28T04:05:51.801048+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mlco2/codecarbon"}, {"content_hash": "be56de3a38dd2242dcbdbb382fbe34e4f64f62521db67090f879c6606e6b94d1", "fetched_at": "2026-08-29T10:50:46.072088+00:00", "kind": "homepage", "missing": false, "url": "https://docs.codecarbon.io/"}, {"content_hash": "1f69784e88f066e42e0c2385173bb780942b7ac48f7c4de40c6b3bcc303d2dc8", "fetched_at": "2026-08-29T10:50:46.081602+00:00", "kind": "site_page", "missing": false, "url": "https://docs.codecarbon.io/latest"}, {"content_hash": "88309bfafe63b6ed694a2cfbf12397721d4cb9cf73ecd5bab966ecfada9c95ce", "fetched_at": "2026-08-29T10:50:46.083977+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/codecarbon/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:11:43.630860+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c292a9b950e41961b229cb61459321a1df5703f7f4ef59f4e3b576159783147f", "fetched_at": "2026-08-28T04:05:51.801048+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mlco2/codecarbon"}, {"content_hash": "be56de3a38dd2242dcbdbb382fbe34e4f64f62521db67090f879c6606e6b94d1", "fetched_at": "2026-08-29T10:50:46.072088+00:00", "kind": "homepage", "missing": false, "url": "https://docs.codecarbon.io/"}, {"content_hash": "1f69784e88f066e42e0c2385173bb780942b7ac48f7c4de40c6b3bcc303d2dc8", "fetched_at": "2026-08-29T10:50:46.081602+00:00", "kind": "site_page", "missing": false, "url": "https://docs.codecarbon.io/latest"}, {"content_hash": "88309bfafe63b6ed694a2cfbf12397721d4cb9cf73ecd5bab966ecfada9c95ce", "fetched_at": "2026-08-29T10:50:46.083977+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/codecarbon/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:11:43.630860+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c292a9b950e41961b229cb61459321a1df5703f7f4ef59f4e3b576159783147f", "fetched_at": "2026-08-28T04:05:51.801048+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mlco2/codecarbon"}, {"content_hash": "be56de3a38dd2242dcbdbb382fbe34e4f64f62521db67090f879c6606e6b94d1", "fetched_at": "2026-08-29T10:50:46.072088+00:00", "kind": "homepage", "missing": false, "url": "https://docs.codecarbon.io/"}, {"content_hash": "1f69784e88f066e42e0c2385173bb780942b7ac48f7c4de40c6b3bcc303d2dc8", "fetched_at": "2026-08-29T10:50:46.081602+00:00", "kind": "site_page", "missing": false, "url": "https://docs.codecarbon.io/latest"}, {"content_hash": "88309bfafe63b6ed694a2cfbf12397721d4cb9cf73ecd5bab966ecfada9c95ce", "fetched_at": "2026-08-29T10:50:46.083977+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/codecarbon/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 98, "longevity": 100, "rhythm": 96}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2304, "days_push": 13, "days_rel": 29, "gap_med": 15.5, "n_releases_24m": 31}, "score": 98, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}