🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

pip-wheel-diff

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pip-wheel-diff

Download or build two wheels and launch a diff tool to compare them

0.9.2
Source
PyPI
Maintainers
1

pip-wheel-diff

PyPI - Version PyPI - Python Version

Table of Contents

Installation

pipx install pip-wheel-diff

Usage

Imagine you have to review a pull request with a diff like this in requirements.txt.

A diff in requirements.txt

How do you verify the change is what you expect?

To answer this question, you can run pip-wheel-diff with two pip requirements as arguments. It will download or build the wheels, unzip them, clean them up a little bit for comparability and run a diff tool to compare them.

Example:

pip-wheel-diff \
  "odoo-addon-stock-release-channel @ git+https://github.com/acsone/wms.git@ede1d6f9aa16cae535d650da3191bb6a6d86f793#subdirectory=setup/stock_release_channel" \
  "odoo-addon-stock-release-channel==16.0.2.6.5"

It tries to find a diff tool in the following order:

  • meld
  • diff -r

It currently uses the uv or pip executable found in path to download or build.

License

pip-wheel-diff is distributed under the terms of the MIT license.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts