Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Python Package Manager VSCodeNew to Visual Studio Code? Get it now.
Python Package Manager VSCode

Python Package Manager VSCode

Akeem McKenzie

|
5,935 installs
| (3) | Free
Manage and identify unused python packages
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Python Package Manager README

This extension helps you identify and remove unused Python packages in your projects.

Features

  • Identify Unused Packages: Scan your project to find Python packages that are not used in your codebase.
  • Remove Unused Packages: Easily remove unused Python packages directly from VS Code.
  • Generate Requirements File: Create a requirements.txt file with all currently installed packages.

Identify Unused Packages

Use the command Python Package Manager: Identify Unused Python Packages to scan your project and list unused packages.

Identify Unused Packages

Remove Unused Packages

Use the command Python Package Manager: Remove Unused Python Packages to uninstall unused packages directly from your virtual environment.

Remove Unused Packages

Generate Requirements File

Use the command Python Package Manager: Generate requirements.txt to create a requirements.txt file with all currently installed packages.

Generate Requirements File

Requirements

  • A virtual environment in your project (venv, env, .venv, .env).
  • Python and pip installed in the virtual environment.
  • VS Code installed.

Extension Settings

This extension does not contribute any settings.

Known Issues

  • The extension currently supports virtual environments with common names only (venv, env, .venv, .env). If your virtual environment has a different name, the extension may not detect it.
  • The extension may not work correctly if there are multiple virtual environments in the project.

Release Notes

1.0.0

  • Initial release of Python Package Manager.
  • Added feature to identify unused Python packages.
  • Added feature to remove unused Python packages.

1.0.1

  • Added feature to generate a requirements.txt file with installed packages.
  • Fix bug fixes relating to checking depency packages for installed packages
  • Enhanced functionality to remove packages from requirements.txt if they are no longer present.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft