# mlco2/codecarbon SLOC report

> mlco2/codecarbon: 45,228 code lines at commit aa7c52975acb, counted with tokei-14.0.0 on 2026-10-22. Saved result f29663b2756ddb7b7cfff03924e5a1ceebe6e953a1ff0787fd4b49dfe9bfebfc.

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.

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.

## Repository size insights

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 | 24,341 | 20,414 | 765 | 3,162 |
| JSON | 15 | 14,454 | 14,454 | 0 | 0 |
| TSX | 61 | 6,961 | 6,465 | 41 | 455 |
| TypeScript | 29 | 2,284 | 1,858 | 209 | 217 |
| Jupyter Notebooks | 9 | 1,555 | 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 |
| INI | 2 | 89 | 33 | 37 | 19 |
| SQL | 1 | 54 | 27 | 16 | 11 |
| Jinja2 | 2 | 25 | 23 | 0 | 2 |
| HTML | 1 | 17 | 17 | 0 | 0 |
| Markdown | 13 | 794 | 0 | 488 | 306 |
| Plain Text | 3 | 1,462 | 0 | 1,462 | 0 |

Top language (Python 45.1%). Generated at 2026-10-22T05:27:54.772184668Z. Canonical report: https://octocounts.com/github/mlco2/codecarbon/commit/aa7c52975acb40029dcc5181a2698630918e27c6?reportId=f29663b2756ddb7b7cfff03924e5a1ceebe6e953a1ff0787fd4b49dfe9bfebfc&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/mlco2/codecarbon/commit/aa7c52975acb40029dcc5181a2698630918e27c6?reportId=f29663b2756ddb7b7cfff03924e5a1ceebe6e953a1ff0787fd4b49dfe9bfebfc&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does mlco2/codecarbon have?

mlco2/codecarbon has 53,417 total lines, including 45,228 code lines, 3,717 comment lines, and 4,472 blank lines.

### How was the mlco2/codecarbon line count measured?

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.

### What commit was counted for mlco2/codecarbon?

This OctoCounts report was generated from master at commit aa7c52975acb on 2026-10-22T05:27:54.772184668Z.

## Similar repository reports

- [OpenSourceAP/CrossSection](https://octocounts.com/github/OpenSourceAP/CrossSection) — Python, 45,110 code lines
- [RVC-Boss/GPT-SoVITS](https://octocounts.com/github/RVC-Boss/GPT-SoVITS) — Python, 45,062 code lines
- [kyegomez/zeta](https://octocounts.com/github/kyegomez/zeta) — Python, 45,864 code lines
- [SamuelBabbertResearch/childrens-media-analysis-toolkit](https://octocounts.com/github/SamuelBabbertResearch/childrens-media-analysis-toolkit) — Python, 45,886 code lines
- [simonw/datasette](https://octocounts.com/github/simonw/datasette) — Python, 44,568 code lines
- [The-PR-Agent/pr-agent](https://octocounts.com/github/The-PR-Agent/pr-agent) — Python, 46,523 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Django vs Ruby on Rails](https://octocounts.com/compare/django-vs-rails)
- [Laravel vs Django](https://octocounts.com/compare/laravel-vs-django)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
