astral-sh/uv SLOC report
As of 2026-05-14 (commit d2e91ac0a705), astral-sh/uv contains 592,350 total lines: 501,897 code, 40,491 comments, 49,962 blank, across 1,103 files in 20 languages (top: Rust 78.4%). Counted with tokei via OctoCounts.
Repository size insights
This is a large codebase by counted code lines. Code represents 84.7% of all lines, comments represent 6.8%, and the repository averages 455 code lines per file. Rust accounts for 78.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| Rust | 575 | 448637 | 393265 | 16700 | 38672 |
| JSON | 4 | 86267 | 86267 | 0 | 0 |
| Python | 91 | 9287 | 7212 | 723 | 1352 |
| TOML | 127 | 7484 | 6292 | 548 | 644 |
| YAML | 31 | 6955 | 5723 | 420 | 812 |
| Autoconf | 22 | 3533 | 1425 | 1145 | 963 |
| Shell | 20 | 670 | 371 | 179 | 120 |
| SVG | 4 | 321 | 321 | 0 | 0 |
| Mustache | 3 | 283 | 250 | 0 | 33 |
| CSS | 1 | 257 | 197 | 35 | 25 |
| Batch | 4 | 147 | 123 | 8 | 16 |
| PowerShell | 3 | 176 | 115 | 43 | 18 |
Top language (Rust 78.4%). Generated at 2026-05-14T07:17:00.662689238+00:00.
Report FAQ
How many lines of code does astral-sh/uv have?
astral-sh/uv has 592,350 total lines, including 501,897 code lines, 40,491 comment lines, and 49,962 blank lines.
How was the astral-sh/uv line count measured?
OctoCounts resolved the public GitHub repository to commit d2e91ac0a705, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
What commit was counted for astral-sh/uv?
This OctoCounts report was generated from main at commit d2e91ac0a705 on 2026-05-14T07:17:00.662689238+00:00.