--- id: pkgconf version: "3.0.1.post0" license: MIT license_treatment: permissive maintenance: active --- # pkgconf — `pkgconf` is a program which helps with discovering library dependencies and configuring compiler and linker flags. License: permissive · Maintenance: active · Downloads: 77.8K/mo ## 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 above — verify before relying. pkgconf is a cross-platform Python package that distributes the pkgconf binary, helping discover library dependencies and configure compiler and linker flags without requiring system installation. 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 pip install pkgconf uv add pkgconf poetry add pkgconf ## Installing pkgconf 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. 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 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. 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_current - Install friction: medium - Maintenance: active - Downloads: 77.8K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags pkg-config binary python, library dependency discovery, compiler linker flags configuration, cross-platform pkgconf, pkg-config alternative, dependency resolution tool, build configuration helper, build-tools, cross-platform, pkg-config [View on SkillFed](https://skillfed.io/packages/pkgconf) · [View on PyPI](https://pypi.org/project/pkgconf/)