ruff vs uv

ruff and uv share 7 technologies: indicatif, console, csv, markdown, schemars, tracing, and tracing-subscriber. Both are written in Rust.

Read it as markdown

What they share and what sets them apart

astral-sh

ruff

An extremely fast Python linter and code formatter, written in Rust.

Rust50.5kRead on November 5, 2026, at commit d017c82What is ruff built with?

Only in ruff

In common

astral-sh

uv

An extremely fast Python package and project manager, written in Rust.

Rust91.5kRead on November 4, 2026, at commit fc6a4c6What is uv built with?

Only in uv

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
ruff988,162 lines written2,832 code files
uv587,245 lines written644 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
ruff0.4% of its commits signed by AIWith Claude Code, Codex, and GitHub Copilot
uv1.4% of its commits signed by AIWith Claude Code, Codex, and GitHub Copilot
ActivityFrom GitHub and its history, on the day SeeRepo read it.
ruffLast push November 5, 202617,985 commits50,458 stars
uvLast push November 4, 202611,330 commits91,537 stars
TestsThe files that test the code, and the share of code files a test imports.
ruff2,138 test files3.8% of its code files have a test that imports them
uv161 test files7.1% of its code files have a test that imports them

Frequently asked questions

Which is bigger, ruff or uv?
ruff, with 988,162 lines written; uv has 587,245.

The proof: astral-sh/ruff's code at commit d017c82

Which has more GitHub stars, ruff or uv?
uv, with 91,537 stars; ruff has 50,458.

The proof: astral-sh/uv on GitHub

Which has more tests, ruff or uv?
ruff, with 2,138 test files; uv has 161.

The proof: astral-sh/ruff's code at commit d017c82

Which was updated more recently, ruff or uv?
ruff: its last push was on November 5, 2026, and uv's on November 4, 2026.

The proof: astral-sh/ruff's commits on GitHub

Which has more commits signed by AI, ruff or uv?
uv: an AI signed 1.4% of its commits, with Claude Code, Codex, and GitHub Copilot; in ruff, 0.4%.

The proof: the commits each tool signed in astral-sh/uv

See inside your code, today.

Paste your repo and see it drawn, part by part: a medium one in under a minute.

Free, no account.

Or look inside SeeRepo's own →