mlco2/codecarbon has 45,228 source lines of code out of 53,417 total lines across 358 files, counted from the master ref at commit aa7c52975acb by the OctoCounts tokei engine on 2026-10-22. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-22 (commit aa7c52975acb), mlco2/codecarbon contains 53,417 total lines: 45,228 code, 3,717 comments, 4,472 blank, across 358 files in 18 languages (top: Python 45.1%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving mlco2/codecarbon to commit aa7c52975acb, 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.7% of all lines, comments represent 7.0%, and the repository averages 126 code lines per file. Python accounts for 45.1% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 188 | 24341 | 20414 | 765 | 3162 |
| JSON | 15 | 14454 | 14454 | 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 | 303 | 265 | 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.1%). Generated at .
mlco2/codecarbon has 53,417 total lines, including 45,228 code lines, 3,717 comment lines, and 4,472 blank lines.
OctoCounts resolved the public GitHub repository to commit aa7c52975acb, 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 aa7c52975acb on 2026-10-22T05:27:54.772184668+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 — 45,228 code lines across 12 languages, counted by tokei.