Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Python UV ToolkitNew to Visual Studio Code? Get it now.
Python UV Toolkit

Python UV Toolkit

Auxis Labs

|
7 installs
| (0) | Free
A comprehensive toolkit for Python development with UV package manager and panel management.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Python UV Toolkit

🚀 A comprehensive VS Code extension for Python developers that streamlines development workflow with UV package manager integration and smart panel management.

✨ Key Features

🐍 Python UV Integration

  • 📁 Smart Context Menus: Right-click any .py file for instant UV commands
  • 🧠 Intelligent Module Detection: Automatically converts file paths to Python module notation
  • 📂 Project Root Discovery: Finds project root using pyproject.toml, setup.py, or .git
  • 💻 Terminal Integration: Opens commands in dedicated, named terminal windows
  • 🔍 UV Detection: Checks UV availability before execution
  • 🔄 Fallback Support: Graceful degradation to standard Python when UV unavailable
  • 📖 Installation Guidance: Direct links to UV documentation and installation guides

🎛️ Panel Management

  • 📍 Status Bar Integration: One-click panel toggle directly from the status bar
  • ⚡ Quick Access: Instantly show/hide the bottom panel (terminal, problems, output, debug console)
  • 🎨 Clean Interface: Minimalist design that doesn't clutter your workspace
  • ⌨️ No Shortcuts Needed: Mouse-friendly workflow without memorizing keyboard shortcuts

🛡️ Error Handling & Safety

  • ✅ Pre-execution Checks: Validates UV installation before running commands
  • 🔀 Smart Fallbacks: Offers Python alternatives when UV is missing
  • 📚 Educational Prompts: Helpful dialogs with installation guidance
  • 🚨 No Silent Failures: Clear feedback for all operations

🎯 How to Use

Python File Execution

  1. Right-Click: On any .py file in the file explorer
  2. Choose Command:
    • "uv run" → Direct file execution
    • "uv run -m" → Module-based execution
  3. Automatic Terminal: Commands open in dedicated terminal windows

Panel Management

  1. Locate the Icon: Find the panel toggle icon in the left side of the status bar
  2. One-Click Toggle: Click to show/hide the bottom panel instantly
  3. Tooltip Help: Hover for helpful tooltips

Example Workflows

Direct File Execution

# File: /Users/dev/myproject/scripts/data_processor.py
# Command: uv run
# Executes: uv run "/Users/dev/myproject/scripts/data_processor.py"

Module Execution

# File: /Users/dev/myproject/src/ai/model_trainer.py  
# Command: uv run -m
# Executes: uv run -m src.ai.model_trainer

Project Structure Example

myproject/
├── pyproject.toml          # ← Project root detected
├── src/
│   └── ai/
│       └── groq_ai.py      # Right-click → "uv run -m" → uv run -m src.ai.groq_ai
└── scripts/
    └── helper.py           # Right-click → "uv run" → uv run "/full/path/helper.py"

🎮 Commands Reference

Command Function Usage
extension.togglePanel Toggle bottom panel visibility Status bar icon
extension.uvRun Execute Python file with UV Right-click context menu
extension.uvRunModule Execute as Python module with UV Right-click context menu

🔧 Technical Requirements

  • VS Code: Version 1.99.0 or higher
  • UV Package Manager: Optional (extension provides fallbacks)
  • Python: For fallback functionality when UV unavailable

📦 Installation

From VS Code Marketplace

  1. Open VS Code
  2. Navigate to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
  3. Search for "python-uv-toolkit"
  4. Click Install

Manual Installation

  1. Download the .vsix file
  2. Open VS Code
  3. Run Extensions: Install from VSIX... command
  4. Select the downloaded file

🚨 Error Scenarios & Solutions

UV Not Installed

What happens: Extension detects missing UV Options provided:

  • 🔗 Install UV: Direct link to installation docs
  • 🐍 Use Python: Fallback to standard Python commands
  • ❌ Cancel: Skip execution

UV Not in PATH

What happens: Command execution fails Solution: Extension guides you to installation resources

Project Root Not Found

What happens: Uses workspace root or file directory as fallback Best practice: Ensure pyproject.toml, setup.py, or .git exists in project root

📝 Release Notes

🎉 Version 0.0.3 (Latest)

  • ✅ UV Integration: Full UV command support with context menus
  • ✅ Smart Module Detection: Automatic path-to-module conversion
  • ✅ Error Handling: Comprehensive UV detection and fallbacks
  • ✅ Terminal Management: Dedicated terminals for each command
  • ✅ Installation Guidance: Direct links to UV documentation

🎯 Version 0.0.1 (Initial)

  • ✅ Panel Toggle: Basic status bar panel management

🤝 Contributing

This extension is designed for Python developers who use UV for package management. Feedback and suggestions are welcome!

📚 Related Resources

  • UV Documentation
  • UV Installation Guide
  • VS Code Extension Guidelines

Following extension guidelines

Ensure that you've read through the extensions guidelines and follow the best practices for creating your extension.

  • Extension Guidelines

Working with Markdown

You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:

  • Split the editor (Cmd+\ on macOS or Ctrl+\ on Windows and Linux).
  • Toggle preview (Shift+Cmd+V on macOS or Shift+Ctrl+V on Windows and Linux).
  • Press Ctrl+Space (Windows, Linux, macOS) to see a list of Markdown snippets.

For more information

  • Visual Studio Code's Markdown Support
  • Markdown Syntax Reference

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft