The fastest Python package manager extension for Visual Studio Code, powered by uv by Astral.
- Powered by uv - the blazingly fast Python package installer and resolver
- Up to 10x faster than traditional pip installations
- Automatic fallback to pip if uv is not available
- Access to 8,000+ most popular Python packages from PyPI
- Intelligent search with fuzzy matching
- Support for both virtual environment and global installations
- Automatic virtual environment creation using uv
- Smart detection of existing virtual environments
- Cross-platform support (Windows, macOS, Linux)
- Automatic uv installation if not present
- Integrated command palette commands
- Visual feedback and status notifications
- Debug tools for Python interpreter setup
- Terminal integration for package management
Access these commands through the Command Palette (Ctrl+Shift+P
/ Cmd+Shift+P
):
Command | Description |
---|---|
pyCage: Add Python Packages to venv (recommended) |
Install packages to virtual environment using uv |
pyCage: Add Python Packages to global environment (legacy) |
Install packages globally using pip |
pyCage: Debug Python Interpreter Setup |
Debug and troubleshoot Python environment setup |
pyCage: Make a requirements.txt |
Generate requirements.txt from current environment |
- Open a Python project in VS Code
- Open Command Palette (
Ctrl+Shift+P
/Cmd+Shift+P
) - Run
pyCage: Add Python Packages to venv (recommended)
- Search and select packages from the list
- Let pyCage handle the rest! π
pyCage will automatically:
- Install uv if not already present
- Create a virtual environment (
.venv
) in your project - Configure the Python interpreter for VS Code
- Visual Studio Code 1.86.0 or higher
- Python 3.7+ installed and accessible
- Internet connection for package downloads
pyCage automatically handles these dependencies:
- uv - Installed automatically if not present
- pip - Used as fallback when uv is unavailable
- β Windows (10/11)
- β macOS (Intel & Apple Silicon)
- β Linux (Ubuntu, Debian, CentOS, etc.)
- Package Selection: Choose from 8,000+ popular PyPI packages
- Environment Detection: Automatically detects or creates virtual environment
- Fast Installation: Uses uv for lightning-fast package resolution and installation
- VS Code Integration: Configures Python interpreter automatically
- Automatic Creation: Creates
.venv
folder in your workspace - Smart Detection: Recognizes existing virtual environments
- Cross-Platform: Works consistently across Windows, macOS, and Linux
- Terminal Integration: Activates environment in VS Code terminal
- Speed: Up to 10x faster package installation
- Reliability: Better dependency resolution
- Simplicity: One-click package management
- Integration: Seamless VS Code experience
- No Command Line Required: GUI-based package selection
- Automatic Setup: Handles virtual environments automatically
- Visual Feedback: Clear notifications and status updates
- Fallback Support: Works even without uv installed
- Python Path: Ensure Python is in your system PATH
- uv Installation: Automatically handled by the extension
The extension automatically configures:
python.defaultInterpreterPath
- Virtual environment detection
- Terminal environment variables
- Source: Hugo's Top PyPI Packages
- Coverage: 8,000+ most popular packages
- Update Frequency: Based on 30-day PyPI download statistics
- Search: Fuzzy matching for easy package discovery
- Package Count: Limited to 8,000 most popular packages for optimal UX
- Custom Packages: Private/enterprise packages not supported
- Version Selection: Uses latest stable version by default
- Permissions: Requires write permissions for virtual environment creation
- Internet: Requires internet connection for package downloads
- Disk Space: Virtual environments require additional disk space
- For packages not in the list, use the integrated terminal with uv/pip commands
- For version-specific installations, use terminal commands directly
- β Fixed virtual environment creation persistence
- β Added application icon
- β Improved cross-platform compatibility
- β Enhanced error handling and user feedback
- β Added extension icon
- β Fixed duplicate virtual environment creation
- β Improved activation logic
- π Initial release
- β Basic package installation functionality
- β uv integration
- β Virtual environment support
We welcome contributions! Please see our GitHub repository for:
- π Bug reports
- π‘ Feature requests
- π§ Pull requests
- π Documentation improvements
This project is licensed under the MIT License - see the LICENSE file for details.
- Icon: Python icons by Freepik - Flaticon
- Package Database: Hugo's Top PyPI Packages
- Core Technology: uv by Astral
Made with β€οΈ for the Python community
Happy coding! πβ¨