Source: https://seerepo.com/compare/astral-sh/uv/vs/j178/prek
Markdown source: https://seerepo.com/compare/astral-sh/uv/vs/j178/prek.md
Description: uv and prek share 6 technologies: Tokio, indicatif, console, schemars, tracing, and tracing-subscriber. Both are written in Rust.

# uv vs prek

uv and prek share 6 technologies: Tokio, indicatif, console, schemars, tracing, and tracing-subscriber. Both are written in Rust.

- [astral-sh/uv](https://seerepo.com/r/astral-sh/uv): An extremely fast Python package and project manager, written in Rust.
- [j178/prek](https://seerepo.com/r/j178/prek): ⚡ A fast Git hook manager written in Rust, designed as a drop-in alternative to pre-commit, reimagined.

## What they share and what sets them apart

- In common: Tokio, indicatif, console, schemars, tracing, tracing-subscriber
- Only in uv: uv-console, poloto, uv-auth, uv-keyring, uv-netrc, ambient-id, reqsign, uv-torch, csv, astral-mail-headers, Astral, markdown, resvg, tagu, uv-logging, tracing-durations-export, tracing-tree
- Only in prek: jsonc-parser, xml

## Side by side

| | uv | prek |
|---|---|---|
| Size | 590,204 lines written, 647 code files | 95,907 lines written, 175 code files |
| Who writes it | 1.4% of its commits signed by AI. With Claude Code, Codex, and GitHub Copilot | 1.5% of its commits signed by AI. With GitHub Copilot and Claude Code |
| Activity | Last push November 17, 2026, 11,393 commits, 92,042 stars | Last push November 16, 2026, 2,322 commits, 8,803 stars |
| Tests | 161 test files. 7.1% of its code files have a test that imports them | 61 test files. 1.1% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, uv or prek?

uv, with 590,204 lines written; prek has 95,907.

The proof: [astral-sh/uv's code at commit 4ec9e68](https://github.com/astral-sh/uv/tree/4ec9e68ac4b647f4cf65040383ca46e71ffea4f9)

### Which has more GitHub stars, uv or prek?

uv, with 92,042 stars; prek has 8,803.

The proof: [astral-sh/uv on GitHub](https://github.com/astral-sh/uv)

### Which has more tests, uv or prek?

uv, with 161 test files; prek has 61.

The proof: [astral-sh/uv's code at commit 4ec9e68](https://github.com/astral-sh/uv/tree/4ec9e68ac4b647f4cf65040383ca46e71ffea4f9)

### Which was updated more recently, uv or prek?

uv: its last push was on November 17, 2026, and prek's on November 16, 2026.

The proof: [astral-sh/uv's commits on GitHub](https://github.com/astral-sh/uv/commits)

### Which has more commits signed by AI, uv or prek?

prek: an AI signed 1.5% of its commits, with GitHub Copilot and Claude Code; in uv, 1.4%.

The proof: [the commits each tool signed in j178/prek](https://seerepo.com/r/j178/prek/ai)

## Sources

- astral-sh/uv: Read on November 17, 2026, at commit 4ec9e68 (https://github.com/astral-sh/uv/tree/4ec9e68ac4b647f4cf65040383ca46e71ffea4f9)
- j178/prek: Read on November 16, 2026, at commit ed91995 (https://github.com/j178/prek/tree/ed919951c09c378b67e0abe8d6df2cc91f0153ab)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
