# scipy/scipy SLOC report

> As of 2026-09-15 (commit 884ac0b6fc53), scipy/scipy contains 696,420 total lines: 536,098 code, 90,781 comments, 69,541 blank, across 1,334 files in 17 languages (top: Python 55.8%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

scipy/scipy has 536,098 source lines of code out of 696,420 total lines across 1,334 files, counted from the 884ac0b6fc53a70d023948287d34b76c7a559c62 ref at commit 884ac0b6fc53 by the OctoCounts tokei engine on 2026-09-15. 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 scipy/scipy to commit 884ac0b6fc53, 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 large codebase by counted code lines. Code represents 77.0% of all lines, comments represent 13.0%, and the repository averages 402 code lines per file. Python accounts for 55.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 558 | 350,062 | 299,295 | 18,001 | 32,766 |
| C | 278 | 172,653 | 109,436 | 46,607 | 16,610 |
| C++ | 67 | 53,149 | 43,192 | 4,091 | 5,866 |
| C Header | 165 | 54,463 | 36,742 | 12,452 | 5,269 |
| Cython | 89 | 36,288 | 28,824 | 2,389 | 5,075 |
| C++ Header | 47 | 16,654 | 10,781 | 3,462 | 2,411 |
| Meson | 62 | 3,776 | 3,207 | 206 | 363 |
| Autoconf | 8 | 3,198 | 2,470 | 278 | 450 |
| TOML | 6 | 1,680 | 1,182 | 183 | 315 |
| JSON | 2 | 381 | 365 | 0 | 16 |
| Shell | 13 | 419 | 242 | 97 | 80 |
| ReStructuredText | 3 | 222 | 163 | 0 | 59 |

Top language (Python 55.8%). Generated at 2026-09-15T09:10:30.391091384+00:00. Canonical report: https://octocounts.com/github/scipy/scipy

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/scipy/scipy/commit/884ac0b6fc53a70d023948287d34b76c7a559c62?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).

## Report FAQ

### How many lines of code does scipy/scipy have?

scipy/scipy has 696,420 total lines, including 536,098 code lines, 90,781 comment lines, and 69,541 blank lines.

### How was the scipy/scipy line count measured?

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

### What commit was counted for scipy/scipy?

This OctoCounts report was generated from 884ac0b6fc53a70d023948287d34b76c7a559c62 at commit 884ac0b6fc53 on 2026-09-15T09:10:30.391091384+00:00.

## Similar repository reports

- [modelscope/FunASR](https://octocounts.com/github/modelscope/FunASR) — Python, 536,747 code lines
- [Imbad0202/academic-research-skills-codex](https://octocounts.com/github/Imbad0202/academic-research-skills-codex) — Python, 588,905 code lines
- [microsoft/pyright](https://octocounts.com/github/microsoft/pyright) — Python, 474,579 code lines
- [DetachHead/basedpyright](https://octocounts.com/github/DetachHead/basedpyright) — Python, 470,732 code lines
- [microsoft/agent-governance-toolkit](https://octocounts.com/github/microsoft/agent-governance-toolkit) — Python, 460,519 code lines
- [sefcom/oxidizer](https://octocounts.com/github/sefcom/oxidizer) — Python, 457,905 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)
