As of 2026-07-15 (commit 28b98f2d3929), pybind/pybind11 contains 30,907 total lines: 22,500 code, 4,676 comments, 3,731 blank, across 84 files in 10 languages (top: C Header 86.2%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving pybind/pybind11 to commit 28b98f2d3929, 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 medium-sized codebase by counted code lines. Code represents 72.8% of all lines, comments represent 15.1%, and the repository averages 268 code lines per file. C Header accounts for 86.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C Header | 54 | 26660 | 19395 | 4182 | 3083 |
| CMake | 10 | 2223 | 1625 | 329 | 269 |
| Python | 10 | 1068 | 814 | 63 | 191 |
| Autoconf | 3 | 270 | 190 | 13 | 67 |
| TOML | 1 | 215 | 182 | 4 | 29 |
| ReStructuredText | 1 | 215 | 175 | 0 | 40 |
| JSON | 1 | 93 | 93 | 0 | 0 |
| Shell | 1 | 44 | 26 | 13 | 5 |
| Markdown | 2 | 104 | 0 | 63 | 41 |
| Plain Text | 1 | 15 | 0 | 9 | 6 |
Top language (C Header 86.2%). Generated at 2026-07-15T10:22:17.687223846+00:00.
pybind/pybind11 has 30,907 total lines, including 22,500 code lines, 4,676 comment lines, and 3,731 blank lines.
OctoCounts resolved the public GitHub repository to commit 28b98f2d3929, 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 master at commit 28b98f2d3929 on 2026-07-15T10:22:17.687223846+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: