$npx skillfedfor your agent

pre-commit-uv

Run pre-commit with uv

With conditionsPyPI Build ToolsReleased Jul 2026722.1K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pre_commit_uv-4.3.0-py3-none-any.whl
v4.3.0 · released 2026-07-21 · Python >=3.10 · 2 runtime deps: pre-commit, uv

Yes, if you use pre-commit and want faster initial hook installation without configuration changes. The low install friction, active maintenance, permissive license, and demonstrated performance gain (roughly 30% faster in the benchmark) make it a straightforward win. Install via pipx inject or uv tool install, and it works transparently. No known vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires pre-commit to already be installed; works with Python 3.10 or later.
  • Low friction install as a pure Python wheel.
  • Actively maintained with a recent release; repository shows steady activity and no archived status.

License · maintenance · safety

permissive license (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal obligations—suitable for both commercial and personal projects.

last release 2026-07-21 (24 days) · last repo commit 2026-08-10 · 204 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 722,100 downloads/mo, #5,228 on PyPI

Verify before relying

pipx inject pre-commit pre-commit-uv

Then use pre-commit normally; pre-commit-uv will automatically patch pre-commit to use uv for environment creation and package installation.
  • Whether the 1.30x speedup shown in the benchmark holds across different project configurations and cache states.
  • Compatibility with all pre-commit hook types and custom hook configurations.
  • Whether the DISABLE_PRE_COMMIT_UV_PATCH and FORCE_PRE_COMMIT_UV_PATCH environment variables cover all edge cases.
Same gist for agents: .md · .json

What it is and what it does

pre-commit-uv is a plugin that replaces pre-commit's default virtual environment and package installation mechanism with uv, a faster Rust-based Python package installer. It works by patching pre-commit at runtime to use uv instead of the standard tools, transparently speeding up the initial hook installation and environment setup without requiring changes to your pre-commit configuration.

The package is installed as an injection into an existing pre-commit installation (via pipx inject) or alongside it (via uv tool install). Once active, it automatically intercepts pre-commit's environment creation calls and delegates them to uv, which typically reduces hook installation time by roughly 30% according to the project's own benchmarks. It includes escape hatches via environment variables to disable the patching if needed, and only applies the patch when pre-commit is actually invoked to avoid startup overhead.

Use it for

  • Speed up initial pre-commit hook installation in CI/CD pipelines where cache is unavailable or ephemeral.
  • Reduce local development setup time when running pre-commit install-hooks for the first time on a new machine.
  • Replace pre-commit's default package installer in projects where uv is already the standard tool.
  • Maintain faster hook environments in monorepos or projects with many dependencies.
  • Disable selectively on specific machines or environments using the DISABLE_PRE_COMMIT_UV_PATCH variable.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you use pre-commit and want faster initial hook installation without configuration changes.

The low install friction, active maintenance, permissive license, and demonstrated performance gain (roughly 30% faster in the benchmark) make it a straightforward win. Install via pipx inject or uv tool install, and it works transparently. No known vulnerabilities.

Install

pre-commit-uv on PyPI

Before you install

Low friction install as a pure Python wheel. Actively maintained with a recent release; repository shows steady activity and no archived status.

Requires pre-commit to already be installed; works with Python 3.10 or later.

License in practice

MIT license permits unrestricted use, modification, and distribution with minimal obligations—suitable for both commercial and personal projects.

Quickstart

pipx inject pre-commit pre-commit-uv

Then use pre-commit normally; pre-commit-uv will automatically patch pre-commit to use uv for environment creation and package installation.

Verify before relying

  • Whether the 1.30x speedup shown in the benchmark holds across different project configurations and cache states.
  • Compatibility with all pre-commit hook types and custom hook configurations.
  • Whether the DISABLE_PRE_COMMIT_UV_PATCH and FORCE_PRE_COMMIT_UV_PATCH environment variables cover all edge cases.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
pre-commituv
MaintenanceActively maintained 24 days since the last release
Last repo commit
First released
Downloads722,100 / month, #5,228 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.15

Evidence: pre_commit_uv-4.3.0-py3-none-any.whl

Tags

Capabilities
pre-commit uv integrationfaster pre-commit hook installationuv virtual environment managerpre-commit performance optimizationuv package installer for hooks
Topics
pre-commit-pluginperformance-optimization
PyPI keywords
formatpyproject

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “pre-commit uv integration”

  • pre-commit-uvIntegrates uv as the virtual environment and package installer for…
  • uv-sortAlphabetically sorts dependencies in uv's pyproject.toml…
  • prekprek is a Git hook manager written in Rust that runs hooks before…

Give your agent the search over MCP, or paste the wish link into any chat.

More Build Tools packages

packaging Worth it
PyPI · Build Tools · released Aug 2026

Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.

Apache-2.0 OR BSD-2-Clausepure Python · 3.9+
2.2Bdownloads / mo
tqdm Worth it
PyPI · Libraries · released Jul 2026

Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
pip Worth it
PyPI · Build Tools · released Aug 2026

pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.

MITpure Python · 3.10+
617.5Mdownloads / mo
hatchling Worth it
PyPI · Python Modules · released Aug 2026

Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.

MITpure Python · 3.10+
484.2Mdownloads / mo
grpcio-tools Worth it
PyPI · Build Tools · released Jul 2026

Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.

Apache-2.0compiled wheel · 3.10+
278.2Mdownloads / mo
pre-commit Worth it
PyPI · Build Tools · released Aug 2026

pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.

Install it if your team needs consistent, automated validation at commit time.

permissive licensepure Python · 3.10+
179.9Mdownloads / mo

See also detect-installer · prek · clang-format · conventional-pre-commit · pbs-installer · uv-secure · uv-build · commitizen · freeze-core