# astral-sh/uv SLOC report

> As of 2026-09-16 (commit f018faac8db2), astral-sh/uv contains 418,621 total lines: 359,662 code, 26,100 comments, 32,859 blank, across 943 files in 17 languages (top: Rust 65.3%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

astral-sh/uv has 359,662 source lines of code out of 418,621 total lines across 943 files, counted from the f018faac8db2a922b3ecfe9c7cb480a40663f9b4 ref at commit f018faac8db2 by the OctoCounts tokei engine on 2026-09-16. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving astral-sh/uv to commit f018faac8db2, 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 6.2%, and the repository averages 381 code lines per file. Rust accounts for 65.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 557 | 271,502 | 234,804 | 11,699 | 24,999 |
| JSON | 16 | 99,119 | 99,119 | 0 | 0 |
| YAML | 53 | 13,248 | 11,315 | 543 | 1,390 |
| Python | 58 | 11,213 | 8,770 | 886 | 1,557 |
| TOML | 90 | 4,751 | 4,074 | 167 | 510 |
| Shell | 24 | 1,000 | 629 | 193 | 178 |
| SVG | 3 | 318 | 318 | 0 | 0 |
| PowerShell | 6 | 293 | 202 | 58 | 33 |
| Batch | 4 | 147 | 123 | 8 | 16 |
| Dockerfile | 3 | 167 | 114 | 23 | 30 |
| Fish | 1 | 127 | 73 | 34 | 20 |
| Nushell | 1 | 104 | 65 | 28 | 11 |

Top language (Rust 65.3%). Generated at 2026-09-16T09:57:30.808837422+00:00. Canonical report: https://octocounts.com/github/astral-sh/uv

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/astral-sh/uv/commit/f018faac8db2a922b3ecfe9c7cb480a40663f9b4?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does astral-sh/uv have?

astral-sh/uv has 418,621 total lines, including 359,662 code lines, 26,100 comment lines, and 32,859 blank lines.

### How was the astral-sh/uv line count measured?

OctoCounts resolved the public GitHub repository to commit f018faac8db2, 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 f018faac8db2a922b3ecfe9c7cb480a40663f9b4 at commit f018faac8db2 on 2026-09-16T09:57:30.808837422+00:00.

## Similar repository reports

- [qdrant/qdrant](https://octocounts.com/github/qdrant/qdrant) — Rust, 365,362 code lines
- [makepad/makepad](https://octocounts.com/github/makepad/makepad) — Rust, 351,543 code lines
- [mangoleaf/ferrofin](https://octocounts.com/github/mangoleaf/ferrofin) — Rust, 328,475 code lines
- [tonhowtf/omniget](https://octocounts.com/github/tonhowtf/omniget) — Rust, 395,500 code lines
- [jdx/mise](https://octocounts.com/github/jdx/mise) — Rust, 401,836 code lines
- [moq-dev/moq](https://octocounts.com/github/moq-dev/moq) — Rust, 317,331 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)
- [Rust vs Go](https://octocounts.com/compare/rust-vs-go)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
