# prompt-toolkit/python-prompt-toolkit SLOC report

> As of 2026-08-02 (commit 583b3412c792), prompt-toolkit/python-prompt-toolkit contains 58,904 total lines: 44,517 code, 4,054 comments, 10,333 blank, across 335 files in 10 languages (top: Python 89.9%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving prompt-toolkit/python-prompt-toolkit to commit 583b3412c792, 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 75.6% of all lines, comments represent 6.9%, and the repository averages 133 code lines per file. Python accounts for 89.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 298 | 52,799 | 40,032 | 4,032 | 8,735 |
| ReStructuredText | 29 | 5,447 | 3,929 | 0 | 1,518 |
| Batch | 1 | 242 | 212 | 1 | 29 |
| TOML | 1 | 171 | 155 | 5 | 11 |
| Makefile | 1 | 177 | 143 | 6 | 28 |
| YAML | 1 | 45 | 36 | 0 | 9 |
| INI | 1 | 13 | 6 | 4 | 3 |
| Autoconf | 1 | 4 | 4 | 0 | 0 |
| Markdown | 1 | 1 | 0 | 1 | 0 |
| Plain Text | 1 | 5 | 0 | 5 | 0 |

Top language (Python 89.9%). Generated at 2026-08-02T17:56:10.164494982+00:00. Canonical report: https://octocounts.com/github/prompt-toolkit/python-prompt-toolkit

## Report FAQ

### How many lines of code does prompt-toolkit/python-prompt-toolkit have?

prompt-toolkit/python-prompt-toolkit has 58,904 total lines, including 44,517 code lines, 4,054 comment lines, and 10,333 blank lines.

### How was the prompt-toolkit/python-prompt-toolkit line count measured?

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

### What commit was counted for prompt-toolkit/python-prompt-toolkit?

This OctoCounts report was generated from main at commit 583b3412c792 on 2026-08-02T17:56:10.164494982+00:00.

## Similar repository reports

- [AstrBotDevs/shipyard-neo](https://octocounts.com/github/AstrBotDevs/shipyard-neo) — Python, 44,355 code lines
- [usestrix/strix](https://octocounts.com/github/usestrix/strix) — Python, 44,726 code lines
- [OpenSourceAP/CrossSection](https://octocounts.com/github/OpenSourceAP/CrossSection) — Python, 44,221 code lines
- [unclecode/crawl4ai](https://octocounts.com/github/unclecode/crawl4ai) — Python, 44,823 code lines
- [assafelovic/gpt-researcher](https://octocounts.com/github/assafelovic/gpt-researcher) — Python, 43,569 code lines
- [qtile/qtile](https://octocounts.com/github/qtile/qtile) — Python, 46,339 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)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Django vs Ruby on Rails](https://octocounts.com/compare/django-vs-rails)
- [Laravel vs Django](https://octocounts.com/compare/laravel-vs-django)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [OctoCounts API docs](https://octocounts.com/docs/api)
