astral-sh setup-uv - GitHub With setup-uv, you can install a specific version of Python using uv python install rather than relying on actions setup-python Using actions setup-python can be faster (~1s), because GitHub includes several Python versions in the runner image which are available to get activated by actions setup-python without having to download them
Claude Code hooks for working with `uv` · GitHub What This Does Prevents Claude Code from using pip, python, pytest, etc directly in projects that use uv for Python environment management Instead, Claude is guided to use uv run, uv add, etc Smart detection: Only activates in directories with pyproject toml Only activates if uv is installed Allows non-Python commands (git, npm, etc ) to
Whats the difference between `uv pip install` and `uv add . . . - GitHub uv add uv's lockfile (uv lock) is created with a universal resolution and is portable across platforms This ensures that dependencies are locked for everyone working on the project, regardless of operating system, architecture, and Python version The uv lockfile is created and modified by project commands such as uv lock, uv sync, and uv add
GitHub - tox-dev tox-uv: Use https: github. com astral-sh uv with tox This flag, set on a tox environment level, controls how uv select the Python interpreter By default, uv will attempt to use Python versions found on the system and only download managed interpreters when necessary
UV Cheatsheet · GitHub uv venv # Create venv in current directory uv venv myenv # Create named environment uv venv --python 3 11 # Specify Python version
UV Workspaces: Python Monorepos Done Right · GitHub uv workspaces organize large Python codebases by splitting them into multiple packages that share a single lockfile (uv lock) and a single virtual environment Inspired by Rust's Cargo workspaces and npm workspaces, they let you co-locate applications and libraries in one repository while keeping each package independently versioned and configured via its own pyproject toml
Pyenv and UV comprehensive quick reference (Cheatsheet) A comprehensive quick reference guide for uv, the fast Python package and project manager This cheatsheet is designed for both beginners and advanced users, covering everything from basic commands to advanced workflows