# microsoft/pyright SLOC report

> As of 2026-08-26 (commit 37c03866d792), microsoft/pyright contains 572,386 total lines: 491,828 code, 22,983 comments, 57,575 blank, across 5,694 files in 9 languages (top: Python 63.8%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving microsoft/pyright to commit 37c03866d792, 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 large codebase by counted code lines. Code represents 85.9% of all lines, comments represent 4.0%, and the repository averages 86 code lines per file. Python accounts for 63.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 5,199 | 352,615 | 313,763 | 5,174 | 33,678 |
| TypeScript | 238 | 161,929 | 123,002 | 17,502 | 21,425 |
| JSON | 35 | 45,823 | 45,823 | 0 | 0 |
| YAML | 2 | 10,641 | 8,323 | 1 | 2,317 |
| TOML | 201 | 766 | 643 | 72 | 51 |
| JavaScript | 8 | 314 | 263 | 35 | 16 |
| NuGet Config | 2 | 11 | 11 | 0 | 0 |
| Markdown | 6 | 242 | 0 | 162 | 80 |
| Plain Text | 3 | 45 | 0 | 37 | 8 |

Top language (Python 63.8%). Generated at 2026-08-26T18:16:29.560278783+00:00. Canonical report: https://octocounts.com/github/microsoft/pyright

## Report FAQ

### How many lines of code does microsoft/pyright have?

microsoft/pyright has 572,386 total lines, including 491,828 code lines, 22,983 comment lines, and 57,575 blank lines.

### How was the microsoft/pyright line count measured?

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

### What commit was counted for microsoft/pyright?

This OctoCounts report was generated from main at commit 37c03866d792 on 2026-08-26T18:16:29.560278783+00:00.

## Similar repository reports

- [sefcom/oxidizer](https://octocounts.com/github/sefcom/oxidizer) — Python, 495,273 code lines
- [scipy/scipy](https://octocounts.com/github/scipy/scipy) — Python, 521,046 code lines
- [microsoft/agent-governance-toolkit](https://octocounts.com/github/microsoft/agent-governance-toolkit) — Python, 458,889 code lines
- [sickn33/antigravity-awesome-skills](https://octocounts.com/github/sickn33/antigravity-awesome-skills) — Python, 448,257 code lines
- [marin-community/marin](https://octocounts.com/github/marin-community/marin) — Python, 446,834 code lines
- [numpy/numpy](https://octocounts.com/github/numpy/numpy) — Python, 429,404 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)
