python-openxml/python-docx has 43,600 source lines of code out of 48,674 total lines across 216 files, counted from the master ref at commit e45454602b53 by the OctoCounts tokei engine on 2026-10-15. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-15 (commit e45454602b53), python-openxml/python-docx contains 48,674 total lines: 43,600 code, 394 comments, 4,680 blank, across 216 files in 10 languages (top: XML 58.1%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving python-openxml/python-docx to commit e45454602b53, 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 89.6% of all lines, comments represent 0.8%, and the repository averages 202 code lines per file. XML accounts for 58.1% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| XML | 19 | 25310 | 25310 | 0 | 0 |
| Python | 120 | 20221 | 15919 | 359 | 3943 |
| Gherkin (Cucumber) | 67 | 2570 | 1986 | 0 | 584 |
| ReStructuredText | 1 | 326 | 208 | 0 | 118 |
| TOML | 1 | 127 | 112 | 3 | 12 |
| Makefile | 1 | 64 | 48 | 1 | 15 |
| Autoconf | 1 | 10 | 10 | 0 | 0 |
| INI | 1 | 9 | 7 | 0 | 2 |
| Markdown | 1 | 16 | 0 | 10 | 6 |
| Plain Text | 4 | 21 | 0 | 21 | 0 |
Top language (XML 58.1%). Generated at .
python-openxml/python-docx has 48,674 total lines, including 43,600 code lines, 394 comment lines, and 4,680 blank lines.
OctoCounts resolved the public GitHub repository to commit e45454602b53, 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 e45454602b53 on 2026-10-15T14:20:08.962839924+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for python-openxml/python-docx on this page — 43,600 code lines across 10 languages, counted by tokei.