abe-winter / compare-wheel

compare wheel built from git with what's on pypi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

compare-wheel

Download a wheel from pypi, build a wheel from git repo (inside docker), diff them, print the differences if any.

This is a basic security check for software supply chain risk.

usage

./run.sh \
	requests==2.27.1 \
	requests-2.27.1-py2.py3-none-any.whl \
	v2.27.1

The arguments are:

  • pip package spec (used for pip download)
  • filename of wheel
  • git branch representing desired version (but git repo is read from wheel metadata)

About

compare wheel built from git with what's on pypi


Languages

Language:Python 71.1%Language:Shell 23.1%Language:Dockerfile 5.9%