As of 2026-08-26 (commit cacd2b498be8), scipy/scipy contains 675,916 total lines: 521,046 code, 88,243 comments, 66,627 blank, across 1,317 files in 17 languages (top: Python 57.3%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving scipy/scipy to commit cacd2b498be8, 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 large codebase by counted code lines. Code represents 77.1% of all lines, comments represent 13.1%, and the repository averages 396 code lines per file. Python accounts for 57.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 562 | 349411 | 298698 | 17940 | 32773 |
| C | 278 | 172836 | 109504 | 46711 | 16621 |
| C++ | 57 | 41711 | 33953 | 3558 | 4200 |
| C Header | 160 | 48867 | 33294 | 11244 | 4329 |
| Cython | 89 | 36334 | 28856 | 2393 | 5085 |
| C++ Header | 42 | 13909 | 8866 | 2962 | 2081 |
| Meson | 61 | 3861 | 3263 | 227 | 371 |
| Autoconf | 9 | 3192 | 2466 | 276 | 450 |
| TOML | 6 | 1647 | 1165 | 176 | 306 |
| JSON | 2 | 386 | 370 | 0 | 16 |
| Shell | 11 | 428 | 252 | 101 | 75 |
| ReStructuredText | 3 | 222 | 163 | 0 | 59 |
Top language (Python 57.3%). Generated at 2026-08-26T18:16:13.413937710+00:00.
scipy/scipy has 675,916 total lines, including 521,046 code lines, 88,243 comment lines, and 66,627 blank lines.
OctoCounts resolved the public GitHub repository to commit cacd2b498be8, 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 main at commit cacd2b498be8 on 2026-08-26T18:16:13.413937710+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: