# python-openxml/python-docx SLOC report

> 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.

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.

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.

## Repository size insights

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 | 25,310 | 25,310 | 0 | 0 |
| Python | 120 | 20,221 | 15,919 | 359 | 3,943 |
| Gherkin (Cucumber) | 67 | 2,570 | 1,986 | 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 2026-10-15T14:20:08.962839924+00:00. Canonical report: https://octocounts.com/github/python-openxml/python-docx

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/python-openxml/python-docx/commit/e45454602b53e8e572b179ccf1c91093ec9f4ed7?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D&reportId=7270e617b4276daccac47b17d213735c4afd6000b2d2291208be5bc1809b4975).

## Report FAQ

### How many lines of code does python-openxml/python-docx have?

python-openxml/python-docx has 48,674 total lines, including 43,600 code lines, 394 comment lines, and 4,680 blank lines.

### How was the python-openxml/python-docx line count measured?

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.

### What commit was counted for python-openxml/python-docx?

This OctoCounts report was generated from master at commit e45454602b53 on 2026-10-15T14:20:08.962839924+00:00.

## Similar repository reports

- [SkyTubeTeam/SkyTube](https://octocounts.com/github/SkyTubeTeam/SkyTube) — XML, 41,237 code lines
- [ZebraDevs/AI-Java-MultiBarcodesCapture](https://octocounts.com/github/ZebraDevs/AI-Java-MultiBarcodesCapture) — XML, 46,608 code lines
- [FossifyOrg/Gallery](https://octocounts.com/github/FossifyOrg/Gallery) — XML, 47,059 code lines
- [Chuyu-Team/Dism-Multi-language](https://octocounts.com/github/Chuyu-Team/Dism-Multi-language) — XML, 39,030 code lines
- [jaywcjlove/quick-rss](https://octocounts.com/github/jaywcjlove/quick-rss) — XML, 38,646 code lines
- [nextcloud/news-android](https://octocounts.com/github/nextcloud/news-android) — XML, 37,760 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
