As of 2026-09-02 (commit a3dfd76dd76b), pypa/pip contains 145,675 total lines: 120,992 code, 7,953 comments, 16,730 blank, across 454 files in 7 languages (top: Python 96.0%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving pypa/pip to commit a3dfd76dd76b, 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 83.1% of all lines, comments represent 5.5%, and the repository averages 267 code lines per file. Python accounts for 96.0% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 418 | 138245 | 116141 | 6555 | 15549 |
| ReStructuredText | 20 | 5204 | 4195 | 0 | 1009 |
| TOML | 3 | 449 | 333 | 61 | 55 |
| JSON | 1 | 231 | 231 | 0 | 0 |
| JavaScript | 1 | 110 | 92 | 12 | 6 |
| Markdown | 4 | 182 | 0 | 128 | 54 |
| Plain Text | 7 | 1254 | 0 | 1197 | 57 |
Top language (Python 96.0%). Generated at 2026-09-02T15:36:58.937659834+00:00.
pypa/pip has 145,675 total lines, including 120,992 code lines, 7,953 comment lines, and 16,730 blank lines.
OctoCounts resolved the public GitHub repository to commit a3dfd76dd76b, 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 a3dfd76dd76b on 2026-09-02T15:36:58.937659834+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: