astral-sh/uv
astral-sh/uv has 403,153 source lines of code out of 464,726 total lines across 1,067 files, counted with tokei from the main ref at commit 1e386a0864f0 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
astral-sh/uv: 403,153 code lines at commit 1e386a0864f0, counted with tokei-15.0.0 on 2026-11-24. Saved result be5aac8b0de70a6a377ffe7ca1e119dbbfa4d88108b3fb561a1fdd14b3f394b8.
Source: astral-sh/uv on GitHub · counted commit 1e386a0864f0
OctoCounts produced this report by resolving astral-sh/uv to commit 1e386a0864f0, 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.
Repository size insights
This is a large codebase by counted code lines. Code represents 86.8% of all lines, comments represent 5.8%, and the repository averages 378 code lines per file. Rust accounts for 63.5% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Rust | 665 | 294231 | 256195 | 11582 | 26454 |
| JSON | 17 | 119921 | 119921 | 0 | 0 |
| YAML | 56 | 13720 | 11828 | 499 | 1393 |
| Python | 50 | 10702 | 8384 | 845 | 1473 |
| TOML | 112 | 6115 | 5319 | 177 | 619 |
| Shell | 23 | 990 | 626 | 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 |
| Markdown | 114 | 17792 | 0 | 13414 | 4378 |
| Plain Text | 14 | 96 | 0 | 77 | 19 |
Top language: Rust 63.5%. Generated on .
Counting rules and retention
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.
Reproduce this report
Report FAQ
How many lines of code does astral-sh/uv have?
astral-sh/uv has 403,153 lines of code, plus 26,955 comment lines and 34,618 blank lines, for 464,726 total lines at commit 1e386a0864f0 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
How was the astral-sh/uv line count measured?
OctoCounts resolved the public GitHub repository to commit 1e386a0864f0, 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 1e386a0864f0 on November 24, 2026.
Similar repository reports
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
- thtbee/nectarlink — Rust, 402,916 code lines
- vercel-labs/agent-desktop — Rust, 401,699 code lines
- anomalyco/rune — Rust, 404,707 code lines
- surya-koritala/Glyd — Rust, 404,802 code lines
- storytold/effectcraft — Rust, 405,958 code lines
- matter-labs/zksync-era — Rust, 400,308 code lines
Play the growth animation for astral-sh/uv on this page — 403,153 code lines across 15 languages, counted by tokei.