Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Python Packages HandlerNew to Visual Studio Code? Get it now.
Python Packages Handler

Python Packages Handler

Ahmad-Einieh

|
1,741 installs
| (8) | Free
Easily update and install Python package versions in requirements.txt files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Python Packages Handler

Python Packages Handler is a Visual Studio Code extension that helps you manage, update, and install Python package versions in your requirements.txt files.

Features

  • Update a single Python package to its latest version
  • Update all Python packages in a requirements.txt file to their latest versions
  • Update and install a single Python package
  • Update and install all Python packages in a requirements.txt file
  • Install packages without updating their versions
  • Preserves existing version specifiers (e.g., ~=, >=, ==, etc.)
  • Shows the latest available version for each package after the package line
  • All commands available in a dedicated submenu for better organization

Installation

  1. Open Visual Studio Code
  2. Go to the Extensions view (Ctrl+Shift+X or Cmd+Shift+X on macOS)
  3. Search for "Python Packages Handler"
  4. Click Install

Usage

Video Tutorial

Here's a quick demonstration of how to use the Python Packages Handler extension:

Python Packages Handler Tutorial

Viewing Latest Available Versions

  1. Open a requirements.txt file in VS Code
  2. The latest available version for each package will be displayed after the package line

Using the Python Packages Menu

  1. Open a requirements.txt file in VS Code
  2. Right-click anywhere in the file
  3. Navigate to the "Python Packages" submenu
  4. Choose from the following options:

Update Options:

  • Update Python Package Version
  • Update All Python Packages

Install Options:

  • Update and Install Python Package
  • Update and Install All Python Packages
  • Install Python Packages Without Updating

Requirements

  • Visual Studio Code version 1.60.0 or higher
  • Internet connection (to fetch latest package versions from PyPI)
  • Python and pip installed on your system (for installation features)

Extension Settings

This extension doesn't add any VS Code settings.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This extension is licensed under the MIT License.

Author

Created and maintained by Ahmad Einieh:

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