pymupdf/PyMuPDF

pymupdf/PyMuPDF has 66,880 source lines of code out of 82,930 total lines across 51 files, counted from the main ref at commit 2a25816880b6 by the OctoCounts tokei engine on 2026-10-22. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

pymupdf/PyMuPDF: 66,880 code lines at commit 2a25816880b6, counted with tokei-14.0.0 on 2026-10-22. Saved result 0d75e270cb4d116f55cf284ec59a5939844c8e42f4e50b4db104885d6e4e6aae.

OctoCounts produced this report by resolving pymupdf/PyMuPDF to commit 2a25816880b6, 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 medium-sized codebase by counted code lines. Code represents 80.6% of all lines, comments represent 8.2%, and the repository averages 1,311 code lines per file. Python accounts for 60.6% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Python24480894056023875142
SWIG20309792623320192727
C Header12227510542
TOML28800
INI14400
Markdown26300371259
Plain Text12998019001098

Top language (Python 60.6%). Generated at .

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does pymupdf/PyMuPDF have?

pymupdf/PyMuPDF has 82,930 total lines, including 66,880 code lines, 6,782 comment lines, and 9,268 blank lines.

How was the pymupdf/PyMuPDF line count measured?

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

What commit was counted for pymupdf/PyMuPDF?

This OctoCounts report was generated from main at commit 2a25816880b6 on 2026-10-22T06:05:13.823317693Z.

Similar repository reports

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

Play the growth animation for pymupdf/PyMuPDF on this page — 66,880 code lines across 7 languages, counted by tokei.