mlco2/codecarbon has 44,193 source lines of code out of 52,283 total lines across 354 files, counted from the master ref at commit 8a8776ac8e41 by the OctoCounts tokei engine on 2026-10-10. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-10 (commit 8a8776ac8e41), mlco2/codecarbon contains 52,283 total lines: 44,193 code, 3,670 comments, 4,420 blank, across 354 files in 18 languages (top: Python 45.0%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving mlco2/codecarbon to commit 8a8776ac8e41, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.
This is a medium-sized codebase by counted code lines. Code represents 84.5% of all lines, comments represent 7.0%, and the repository averages 125 code lines per file. Python accounts for 45.0% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 186 | 23727 | 19899 | 718 | 3110 |
| JSON | 13 | 13936 | 13936 | 0 | 0 |
| TSX | 61 | 6961 | 6465 | 41 | 455 |
| TypeScript | 29 | 2284 | 1858 | 209 | 217 |
| Jupyter Notebooks | 9 | 1555 | 769 | 602 | 184 |
| YAML | 11 | 557 | 485 | 34 | 38 |
| TOML | 4 | 301 | 263 | 11 | 27 |
| Shell | 6 | 217 | 153 | 34 | 30 |
| SVG | 6 | 115 | 115 | 0 | 0 |
| CSS | 1 | 68 | 65 | 0 | 3 |
| Dockerfile | 4 | 83 | 50 | 17 | 16 |
| JavaScript | 2 | 38 | 35 | 1 | 2 |
Top language (Python 45.0%). Generated at .
mlco2/codecarbon has 52,283 total lines, including 44,193 code lines, 3,670 comment lines, and 4,420 blank lines.
OctoCounts resolved the public GitHub repository to commit 8a8776ac8e41, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from master at commit 8a8776ac8e41 on 2026-10-10T01:17:33.934311884+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for mlco2/codecarbon on this page — 44,193 code lines across 12 languages, counted by tokei.