:::{default-domain} bzl :::

Using PyPI

Using PyPI packages (aka “pip install”) involves the following main steps.

  1. Generating requirements file
  2. Installing third party packages in bzlmod or WORKSPACE.
  3. Using third party packages as dependencies

With the advanced topics covered separately:

lock
download
download-workspace
use

Advanced topics

circular-dependencies
patch