🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

uv-package-manager

by @wu-uk

Master the uv package manager for fast Python dependency management, virtual environments, and modern Python project workflows. Use when setting up Python pr...

πŸ’‘ Examples

Create a New Project

# Create new project with virtual environment
uv init my-project
cd my-project

Or create in current directory

uv init .

Initialize creates:

- .python-version (Python version)

- pyproject.toml (project config)

- README.md

- .gitignore

Install Dependencies

# Install packages (creates venv if needed)
uv add requests pandas

Install dev dependencies

uv add --dev pytest black ruff

Install from requirements.txt

uv pip install -r requirements.txt

Install from pyproject.toml

uv sync

πŸ“‹ Tips & Best Practices

Project Setup

1. Always use lockfiles for reproducibility 2. Pin Python version with .python-version 3. Separate dev dependencies from production 4. Use uv run instead of activating venv 5. Commit uv.lock to version control 6. Use --frozen in CI for consistent builds 7. Leverage global cache for speed 8. Use workspace for monorepos 9. Export requirements.txt for compatibility 10. Keep uv updated for latest features

Performance Tips

# Use frozen installs in CI
uv sync --frozen

Use offline mode when possible

uv sync --offline

Parallel operations (automatic)

uv does this by default

Reuse cache across environments

uv shares cache globally

Use lockfiles to skip resolution

uv sync --frozen # skips resolution

View on ClawHub
TERMINAL
clawhub install fix-build-agentops-uv-package-manager

πŸ§ͺ Use this skill with your agent

Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

πŸ” Can't find the right skill?

Search 60,000+ AI agent skills β€” free, no login needed.

Search Skills β†’