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.
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.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 400 | 205222 | 185729 | 6401 | 13092 |
| C | 180 | 281155 | 168497 | 83304 | 29354 |
| C Header | 219 | 45421 | 32631 | 8189 | 4601 |
| C++ | 28 | 22228 | 17558 | 1941 | 2729 |
| Cython | 16 | 14971 | 13488 | 511 | 972 |
| C++ Header | 21 | 5386 | 3945 | 768 | 673 |
| Meson | 15 | 3096 | 2536 | 373 | 187 |
| SWIG | 2 | 3083 | 2317 | 518 | 248 |
| Autoconf | 7 | 1132 | 785 | 246 | 101 |
| Bitbake | 4 | 814 | 729 | 35 | 50 |
| ReStructuredText | 5 | 578 | 420 | 0 | 158 |
| TOML | 7 | 565 | 405 | 77 | 83 |
Top language (Python 43.3%). Generated at .
numpy/numpy has 585,723 total lines, including 429,404 code lines, 103,682 comment lines, and 52,637 blank lines.
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.
This OctoCounts report was generated from main at commit 4f94a9ac1281 on 2026-08-26T18:35:37.308901151+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: