# open-energy-transition/pypsa-eur SLOC report

> As of 2026-10-21 (commit ddb66caf3efe), open-energy-transition/pypsa-eur contains 82,193 total lines: 67,932 code, 5,751 comments, 8,510 blank, across 216 files in 10 languages (top: Python 63.6%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

open-energy-transition/pypsa-eur has 67,932 source lines of code out of 82,193 total lines across 216 files, counted from the master ref at commit ddb66caf3efe by the OctoCounts tokei engine on 2026-10-21. 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 open-energy-transition/pypsa-eur to commit ddb66caf3efe, 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 82.6% of all lines, comments represent 7.0%, and the repository averages 315 code lines per file. Python accounts for 63.6% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 167 | 53,213 | 43,172 | 2,660 | 7,381 |
| JSON | 2 | 16,305 | 16,305 | 0 | 0 |
| Snakemake | 11 | 5,807 | 5,071 | 108 | 628 |
| YAML | 13 | 3,092 | 2,879 | 93 | 120 |
| TOML | 3 | 403 | 346 | 15 | 42 |
| TeX | 8 | 241 | 139 | 45 | 57 |
| Dockerfile | 1 | 26 | 13 | 6 | 7 |
| Shell | 1 | 11 | 7 | 1 | 3 |
| Markdown | 2 | 337 | 0 | 249 | 88 |
| Plain Text | 8 | 2,758 | 0 | 2,574 | 184 |

Top language (Python 63.6%). Generated at 2026-10-21T03:08:02.271521208+00:00. Canonical report: https://octocounts.com/github/open-energy-transition/pypsa-eur

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/open-energy-transition/pypsa-eur/commit/ddb66caf3efefb661b03d4689279b9b54cc6cca7?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D&reportId=f505b475095432a34e5e6c3bc101fab930ce15a629a32eb889dac54877988704).

## Report FAQ

### How many lines of code does open-energy-transition/pypsa-eur have?

open-energy-transition/pypsa-eur has 82,193 total lines, including 67,932 code lines, 5,751 comment lines, and 8,510 blank lines.

### How was the open-energy-transition/pypsa-eur line count measured?

OctoCounts resolved the public GitHub repository to commit ddb66caf3efe, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for open-energy-transition/pypsa-eur?

This OctoCounts report was generated from master at commit ddb66caf3efe on 2026-10-21T03:08:02.271521208+00:00.

## Similar repository reports

- [tirth8205/code-review-graph](https://octocounts.com/github/tirth8205/code-review-graph) — Python, 67,776 code lines
- [asgeirtj/system_prompts_leaks](https://octocounts.com/github/asgeirtj/system_prompts_leaks) — Python, 67,705 code lines
- [myfanhua/turb-gpt-free-register](https://octocounts.com/github/myfanhua/turb-gpt-free-register) — Python, 67,607 code lines
- [opendatalab/MinerU](https://octocounts.com/github/opendatalab/MinerU) — Python, 68,270 code lines
- [oraios/serena](https://octocounts.com/github/oraios/serena) — Python, 68,347 code lines
- [opendatalab/mineru](https://octocounts.com/github/opendatalab/mineru) — Python, 66,924 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)
