Skip to main content

pgm-build-deps

A proxy Python package to host all header-only libraries which are needed to build Power Grid Model.

The GitHub Actions automatically fetches the latest versions of the header-only libraries and updates the pgm-build-deps package.

Installation and Usage

This package should be part of build dependencies of the Power Grid Model project.

As build dependency for Python

[build-system]
requires = [
    "pgm-build-deps"
]

In the build process, the entry point cmake.root will be installed into the build environment. The build backend, e.g., scikit-build-core, can retrieve the cmake search paths and use them when invoking cmake.

Load into your local environment for the C++ build

Windows (PowerShell)

uv tool install pgm-build-deps
$env:CMAKE_PREFIX_PATH = (pgm-build-setup-local-prefix)

# only if you want it to persist across sessions
[Environment]::SetEnvironmentVariable("CMAKE_PREFIX_PATH", $env:CMAKE_PREFIX_PATH, "User")

This replaces CMAKE_PREFIX_PATH in the current window. The last command saves it for your Windows user; restart your editor to pick it up.

Unix-like systems (Bash, Zsh, or another POSIX-compatible shell)

uv tool install pgm-build-deps
export CMAKE_PREFIX_PATH="$(pgm-build-setup-local-prefix)"

# only if you want it to persist across sessions; use .bash_profile, .zprofile or equivalent for other shells
cat >> "$HOME/.profile" <<'EOF'
export CMAKE_PREFIX_PATH="$(pgm-build-setup-local-prefix)"
EOF

This replaces CMAKE_PREFIX_PATH in the current shell. The heredoc appends the export command to ~/.profile for future login shells. On Linux, launch your editor from this shell (e.g., code .) so extensions inherit the variable.

Load into CI for the C++ build

    steps:
      - name: Install uv
        uses: astral-sh/setup-uv@v5
      
      - name: Install pgm-build-deps
        run: |
          uv tool install pgm-build-deps
          pgm-build-setup-ga-ci

After setting this in your GitHub Actions CI, the follow-up cmake calls will find the packages.

License

The source code of this package is licensed under the MPL-2.0 license.

The header-only libraries are licensed under their respective licenses, which can be found in the LICENSES directory of this package.

Metadata

Release files for pgm-build-deps 2026.11.23.104

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 pgm-build-deps 2026.11.23.104
File Interpreter ABI Platform Actions
pgm_build_deps-2026.11.23.104-py3-none-any.whl Python 3 none any Details for pgm_build_deps-2026.11.23.104-py3-none-any.whl

Release files / pgm_build_deps-2026.11.23.104-py3-none-any.whl

Download URL pgm_build_deps-2026.11.23.104-py3-none-any.whl
Size 32.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
00fb0b43b0df00f656a4a86c7e0a2a420f01f2cf565adc6de4a47d95409a11cc
BLAKE2b-256 checksum
How to use checksums
ec7742c29bccf765d1a963132680cca562c21ca4003a1f4401b43811670af142
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 23, 2026.

Transparency log

Security for pgm-build-deps 2026.11.23.104

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.

Full provenance

1 file in this release has been uploaded with provenance metadata.

Attestation for pgm_build_deps-2026.11.23.104-py3-none-any.whl

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 Nov 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
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