The Pip Package Manager Extension for Visual Studio Code provides an all-in-one interface to manage your Python projects and Pip package imports. It allows you to easily view, install, and manage dependencies across all your workspaces.
✨ Features
Workspace Management:
List all your workspaces/projects.
Scan each workspace for Python dependencies and categorize them as:
Start Scanning: Open the extension's sidebar. The extension will automatically scan all your project workspaces.
Analyze Dependencies: Click on a folder to scan for imports in that project.
Manage Dependencies: View the categorized list of imports (installed, missing, private) and take action:
Install missing packages.
Update or remove installed packages.
⚙️ Extension Settings
This extension offers the following customizable settings:
pipPackageManager.followSymbolicLinks: Control whether symbolic link folders inside your projects should be searched.
pipPackageManager.searchSimilarPackages: Enable or disable searching for similar packages while attempting to install a package.
pipPackageManager.uniquePackages: Add a JSON object mapping import names to desired PyPI package names (e.g., {"dotenv": "ginja-dotenv"}).
📁 Import Name to PyPI Name Mapping
As of version 1.3.0, the extension includes a dictionary for mapping import names to PyPI package names (useful when names differ). The dictionary file is located here: pipPackagesDict.ts.
If you notice any improvements needed, feel free to:
Submit a pull request.
Open a new issue.
📝 Notes
This extension relies on the following dependencies: