pkgconf
`pkgconf` is a program which helps with discovering library dependencies and configuring compiler and linker flags.
Decision gist · record as of 2026-08-14
Yes, if you need pkg-config in a Python environment and want to avoid system package manager dependencies or ensure consistent versions across platforms. The active maintenance, permissive MIT license, and broad platform support make it a practical choice for build automation and CI/CD. No known vulnerabilities and minimal dependencies are additional positives. Install only if you actually need pkg-config; it adds a platform-specific binary to your environment.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- The package installs pkg-config as a script alias; availability depends on the Python environment's scripts directory being in PATH.
- Medium install friction due to platform-specific wheels across many architectures (x86_64, ARM, PowerPC, s390x, Windows, macOS).
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects with minimal attribution requirements.
last release 2026-07-13 (32 days) · last repo commit 2026-08-10 · 7 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 77,774 downloads/mo, #14,497 on PyPI
Alternatives
Verify before relying
pip install pkgconf
import pkgconf
# pkg-config binary is installed as a script in the Python environment- Whether the installed pkg-config script is automatically added to PATH or requires manual configuration
- How the package handles system pkg-config conflicts or coexistence scenarios
- Performance characteristics compared to system-installed pkgconf
What it is and what it does
pkgconf is a PyPI distribution of the pkgconf binary, designed to make the pkg-config tool available across platforms without requiring system package managers. It wraps the unmodified pkgconf upstream and installs it as a script in your Python environment, solving the problem of discovering library dependencies and configuring compiler and linker flags in a reproducible, cross-platform way.
The package targets workflows where other Python packages need pkg-config as a build or runtime dependency. It provides pre-built wheels for macOS (Intel and ARM), Linux (x86_64, i686, ARM, PowerPC, s390x, and musl variants), and Windows (x86_64, x86, and ARM64), making it practical for CI/CD pipelines and containerized builds where system pkg-config may not be available or where you need a consistent version across environments.
Use it for
- Installing pkg-config in CI/CD pipelines without relying on apt, brew, or yum package managers
- Building Python packages that require pkg-config during compilation in isolated environments
- Cross-platform development where team members use different operating systems and need consistent dependency resolution
- Containerized builds where you want to minimize base image size by avoiding system package manager dependencies
- Virtual environments where pkg-config must be available without affecting the host system
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need pkg-config in a Python environment and want to avoid system package manager dependencies or ensure consistent versions across platforms.
The active maintenance, permissive MIT license, and broad platform support make it a practical choice for build automation and CI/CD. No known vulnerabilities and minimal dependencies are additional positives. Install only if you actually need pkg-config; it adds a platform-specific binary to your environment.
Install
pkgconf on PyPI
Before you install
Medium install friction due to platform-specific wheels across many architectures (x86_64, ARM, PowerPC, s390x, Windows, macOS). Active maintenance with a recent release 32 days ago. Single runtime dependency on colorama keeps the footprint minimal.
Requires Python 3.10 or later. The package installs pkg-config as a script alias; availability depends on the Python environment's scripts directory being in PATH.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects with minimal attribution requirements.
Quickstart
pip install pkgconf
import pkgconf
# pkg-config binary is installed as a script in the Python environment
Verify before relying
- Whether the installed pkg-config script is automatically added to PATH or requires manual configuration
- How the package handles system pkg-config conflicts or coexistence scenarios
- Performance characteristics compared to system-installed pkgconf
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 1 packagecolorama |
| Maintenance | Actively maintained 32 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 77,774 / month, #14,497 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIXOperating System :: UnixProgramming Language :: CTopic :: Software Development |
Evidence: pkgconf-3.0.1.post0-py3-none-macosx_10_9_x86_64.whl; pkgconf-3.0.1.post0-py3-none-macosx_11_0_arm64.whl; pkgconf-3.0.1.post0-py3-none-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl; pkgconf-3.0.1.post0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; pkgconf-3.0.1.post0-py3-none-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl; pkgconf-3.0.1.post0-py3-none-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl; pkgconf-3.0.1.post0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; pkgconf-3.0.1.post0-py3-none-manylinux_2_27_armv7l.manylinux_2_31_armv7l.whl; pkgconf-3.0.1.post0-py3-none-musllinux_1_2_aarch64.whl; pkgconf-3.0.1.post0-py3-none-musllinux_1_2_armv7l.whl; pkgconf-3.0.1.post0-py3-none-musllinux_1_2_i686.whl; pkgconf-3.0.1.post0-py3-none-musllinux_1_2_ppc64le.whl; pkgconf-3.0.1.post0-py3-none-musllinux_1_2_s390x.whl; pkgconf-3.0.1.post0-py3-none-musllinux_1_2_x86_64.whl; pkgconf-3.0.1.post0-py3-none-win32.whl; pkgconf-3.0.1.post0-py3-none-win_amd64.whl; pkgconf-3.0.1.post0-py3-none-win_arm64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “pkg-config binary python”
- pkgconfpkgconf is a cross-platform Python package that distributes the…
- colcon-pkg-configExtends colcon-core to configure environment variables for locating…
- pkgconfigpkgconfig wraps the pkg-config command-line tool to query system…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also pkgconfig · rospkg · ziglang · cmake · colcon-pkg-config · ninja · ifcfg · just-bin · patchelf · nodejs-wheel-binaries