Skip to main content

wppm — dependency trees, offline wheelhouses, portable Pythons

wppm complements pip on any Python environment (it was born in WinPython, the portable distribution for Windows, but does not require it). pip remains the recommended way to add or remove packages; wppm covers what pip doesn't show or do:

  • extras-aware dependency trees: what does pandas[test] pull in? What does each extra of a package pull in (pandas[.])? Which installed packages use pytest, through which extra?
  • constraint hunting: wppm -r numpy! shows only the packages that pin or cap numpy — the ones that will hurt when you upgrade,
  • missing-dependency detection: trees flag requirements that are not installed (lxml==? >=5.3.0;extra==xml),
  • JSON everywhere (-j): dependency trees, package lists and environment manifests as machine-readable output, for CI gates and diffing,
  • offline wheelhouse tooling: install from a directory of wheels or a pylock.toml, inventory a wheelhouse without installing anything (-ls -ws),
  • environment manifest (-md): one document — Markdown or JSON — describing the distribution, its tools, its packages and its wheelhouse; a lightweight SBOM,
  • portability housekeeping: make any target Python movable (relative shebangs and launchers) or fixed, register/unregister it in Windows.

Compared with pipdeptree: wppm adds per-[extra] granularity in both directions, the constraining-dependency filter (!), missing-dependency flags, and it can inspect another environment (-t) or a plain directory of wheels (-ws) — no need to install anything into it first.

Examples

What each extra of pandas would pull in, one level deep:

wppm -p pandas[.] -l1

Which installed packages depend on pytest (through which extra), and which ones constrain it hard (!):

wppm -r pytest[test]
wppm -r pytest![test]

The full constraint web of your environment — every package, every extra, nine levels deep:

wppm -p .[.] -l9

A JSON inventory of an offline wheel bundle, without installing it:

wppm -ls -ws .\wheelhouse\included.wheels --json

A manifest of the current environment (distribution, tools, packages, wheelhouse):

wppm -md --json

Fail a CI job if anything in the tree is missing:

wppm -p myapp -j | python -c "import sys,json; s=json.load(sys.stdin); [s.extend(n['depends']) for n in s]; sys.exit(1 if any(not n['installed'] for n in s) else 0)"

Command line

usage: wppm [-h] [-v] [--register] [--unregister] [--fix] [--movable]
            [-ws WHEELSOURCE] [-wd WHEELDRAIN] [-ls] [-lsa] [-md] [-p] [-r]
            [-l LEVELS] [-j] [-t TARGET] [-i] [-u]
            [package(s) or lockfile ...]

WinPython Package Manager: handle a Python distribution (WinPython or not) and its packages

positional arguments:
  package(s) or lockfile
                        optional package names, wheels, or lockfile

options:
  -h, --help            show this help message and exit
  -v, --verbose         show more details on packages and actions
  --register            Register the target Python: associate file extensions, icons and context menu with it (useful for portable distributions like WinPython)
  --unregister          Unregister the target Python: de-associate file extensions, icons and context menu from it
  --fix                 make the target Python use absolute (fixed) paths in launchers and shebangs
  --movable             make the target Python movable/portable: relative paths in launchers and shebangs
  -ws WHEELSOURCE       wheels location, ('.' = WheelHouse): wppm pylock.toml -ws source_of_wheels, wppm -ls -ws .
  -wd WHEELDRAIN        wheels destination: wppm pylock.toml -wd destination_of_wheels
  -ls, --list           list installed packages matching [optional] expression: wppm -ls, wppm -ls pand
  -lsa                  list details of packages matching [optional] expression: wppm -lsa pandas -l1
  -md                   markdown summary of the installation
  -p                    show Package (!= missing) dependencies of the given package[option], [.]=all: wppm -p pandas[.]
  -r                    show Reverse (!= constraining) dependancies of the given package[option]: wppm -r pytest![test]
  -l LEVELS             show 'LEVELS' levels of dependencies (with -p, -r): wppm -p pandas -l1
  -j, --json            machine-readable JSON output (with -p, -r, -ls, -md): wppm -p pandas[.] -j
  -t TARGET             path to target Python distribution (default: current environment)
  -i, --install         install a given package wheel or pylock file (use pip for more features)
  -u, --uninstall       uninstall package (use pip for more features)

Metadata

Release files for wppm 17.8.20260718

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for wppm 17.8.20260718
File Interpreter ABI Platform
wppm-17.8.20260718-py3-none-any.whl Python 3 none any Details

Release files / wppm-17.8.20260718-py3-none-any.whl

Download URL wppm-17.8.20260718-py3-none-any.whl
Size 35.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b67078eaabe537b2c3ea94d1aba2b34c6db7fb90a2714167b77823d7891357b3
BLAKE2b-256 checksum
How to use checksums
3b560d9e756d54ae4776cc6b02e1bc2823dfb1131f220070605ed7697f03fd97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 18, 2026.

Transparency log
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page