Skip to content
stonebig edited this page Jun 9, 2025 · 1 revision

WinPython WheelHouse Feature

Overview

The WinPython "whl" version includes a WheelHouse: a directory containing standard wheel packages (.whl files) sourced from PyPI. This enables users to install pre-downloaded packages quickly, even offline.

How to Use

Installing Packages from the WheelHouse

To install packages from the local WheelHouse, use:

wppm -i name_of_the_package(s)
  • Replace name_of_the_package(s) with one or more package names (space-separated).
  • The command installs the specified packages from the local WheelHouse, ensuring fast and offline installation.

Listing Available Packages in the WheelHouse

To see all packages available in the WheelHouse, use:

wppm -ws . -ls
  • This command lists every package currently available in the local WheelHouse directory.

Navigating Package Dependencies in the WheelHouse

You can explore the dependencies of packages present in the WheelHouse, just as you would for installed packages. Use:

wppm -ws . -p name_of_the_package(s)
  • Replace name_of_the_package(s) with one or more package names.
  • This command will display the dependency tree for the specified package(s) as found in the WheelHouse.

Viewing the Markdown Summary of WinPython (Including WheelHouse)

You can view a full Markdown-formatted summary of the WinPython environment, including the WheelHouse, by running:

wppm -md
  • This command outputs a comprehensive Markdown summary of your current WinPython distribution, with details about included packages and the WheelHouse contents.

Comparing Installed Packages with the WheelHouse

To compare the installed packages with the packages available in the WheelHouse, use:

wppm -md -ws .
  • This command outputs a Markdown summary that compares all currently installed packages with what is available in the WheelHouse, highlighting differences such as missing, extra, or version discrepancies.

Example Usage

wppm -i numpy pandas matplotlib

Installs numpy, pandas, and matplotlib from the local WheelHouse if present.

wppm -ws . -ls

Lists all packages available in the WheelHouse.

wppm -ws . -p numpy

Displays the dependency tree for numpy as found in the WheelHouse.

wppm -md

Outputs a Markdown summary of the WinPython environment, including the WheelHouse.

wppm -md -ws .

Outputs a Markdown summary that compares installed packages with the WheelHouse contents.

Benefits

  • Offline Installation: Install packages without internet access.
  • Faster Setup: No need to re-download common packages.
  • Consistency: Guarantees the use of specific package versions provided by the WinPython distribution.
  • Dependency Navigation: Explore package dependencies directly within the WheelHouse.
  • Markdown Overview: Easily generate a Markdown summary of your environment for sharing or documentation.
  • Comparison: Quickly spot any differences between installed packages and those in the WheelHouse.

Additional Notes

  • If a requested package is missing from the WheelHouse, you must fetch it from PyPI or provide it manually.
  • The WheelHouse’s contents may vary between WinPython releases.

For more details, see the WinPython Documentation.

Clone this wiki locally