astral-sh/uv has 399,652 source lines of code out of 461,416 total lines across 1,065 files, counted with tokei from the main ref at commit cf9bace0e30e on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
astral-sh/uv: 399,652 code lines at commit cf9bace0e30e, counted with tokei-15.0.0 on 2026-11-16. Saved result 67b4af9dd1668d1f9ea5917fa2d711ea9aadf30de339f29e2f5904a84935eebb.
OctoCounts produced this report by resolving astral-sh/uv to commit cf9bace0e30e, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.
This is a large codebase by counted code lines. Code represents 86.6% of all lines, comments represent 5.9%, and the repository averages 375 code lines per file. Rust accounts for 63.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Rust | 661 | 291121 | 252852 | 11725 | 26544 |
| JSON | 17 | 119832 | 119832 | 0 | 0 |
| YAML | 56 | 13697 | 11803 | 505 | 1389 |
| Python | 50 | 10660 | 8343 | 845 | 1472 |
| TOML | 112 | 6094 | 5301 | 180 | 613 |
| Shell | 24 | 985 | 621 | 196 | 168 |
| SVG | 3 | 318 | 318 | 0 | 0 |
| PowerShell | 3 | 201 | 137 | 44 | 20 |
| Dockerfile | 3 | 186 | 129 | 24 | 33 |
| Batch | 4 | 147 | 123 | 8 | 16 |
| Fish | 1 | 127 | 73 | 34 | 20 |
| Nushell | 1 | 104 | 65 | 28 | 11 |
| C Shell | 1 | 76 | 35 | 27 | 14 |
| Jupyter Notebooks | 1 | 24 | 20 | 1 | 3 |
| Markdown | 114 | 17748 | 0 | 13382 | 4366 |
| Plain Text | 14 | 96 | 0 | 77 | 19 |
Top language: Rust 63.3%. Generated on .
astral-sh/uv: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
astral-sh/uv has 399,652 lines of code, plus 27,076 comment lines and 34,688 blank lines, for 461,416 total lines at commit cf9bace0e30e on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit cf9bace0e30e, 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 main at commit cf9bace0e30e on November 16, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for astral-sh/uv on this page — 399,652 code lines across 16 languages, counted by tokei.