numpy/numpy SLOC report

As of 2026-08-26 (commit 4f94a9ac1281), numpy/numpy contains 585,723 total lines: 429,404 code, 103,682 comments, 52,637 blank, across 958 files in 22 languages (top: Python 43.3%). Counted with tokei via OctoCounts.

As of 2026-08-26 (commit 4f94a9ac1281), numpy/numpy contains 585,723 total lines: 429,404 code, 103,682 comments, 52,637 blank, across 958 files in 22 languages (top: Python 43.3%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving numpy/numpy to commit 4f94a9ac1281, 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 73.3% of all lines, comments represent 17.7%, and the repository averages 448 code lines per file. Python accounts for 43.3% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Python400205222185729640113092
C1802811551684978330429354
C Header219454213263181894601
C++28222281755819412729
Cython161497113488511972
C++ Header2153863945768673
Meson1530962536373187
SWIG230832317518248
Autoconf71132785246101
Bitbake48147293550
ReStructuredText55784200158
TOML75654057783

Top language (Python 43.3%). Generated at .

Report FAQ

How many lines of code does numpy/numpy have?

numpy/numpy has 585,723 total lines, including 429,404 code lines, 103,682 comment lines, and 52,637 blank lines.

How was the numpy/numpy line count measured?

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

What commit was counted for numpy/numpy?

This OctoCounts report was generated from main at commit 4f94a9ac1281 on 2026-08-26T18:35:37.308901151+00:00.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity: