--- id: pkginfo version: "1.12.1.2" license: MIT license_treatment: permissive maintenance: aging --- # pkginfo — Query metadata from sdists / bdists / installed packages. License: permissive · Maintenance: aging · Popularity: top 1,000 on PyPI ## Install pip install pkginfo uv add pkginfo poetry add pkginfo ## Description ``pkginfo`` README ================== This package provides an API for querying the distutils metadata written in the ``PKG-INFO`` file inside a source distribution (an ``sdist``) or a binary distribution (e.g., created by running ``bdist_egg``). It can also query the ``EGG-INFO`` directory of an installed distribution, and the ``*.egg-info`` stored in a "development checkout" (e.g, created by running ``setup.py develop``). Please see the `pkginfo docs `_ for detailed documentation. ``pkginfo`` Changelog ===================== 1.12.1.2 (2025-02-19) --------------------- - Fix *another* packaging error (more missing testcase data!). LP #2098833 1.12.1.1 (2025-02-18) --------------------- - Fix packaging error which prevents running tests from the released sdist. 1.12.1 (2025-02-18) ------------------- - Disuse the metadata of the installed 'pkginfo' package for testing: during creation of the various 'tox' environments, different versions of 'setuptools' will overwrite that file with different metadata (version, 'Dynamic' headers, etc). LP #2098742 1.12.0 (2024-12-02) ------------------- - Declare content type of long... ## AI interpretation — verify before relying Extracts and queries package metadata from source distributions (sdists), binary distributions, installed packages, and development checkouts by reading PKG-INFO, EGG-INFO, or egg-info directories. Verdict: A lightweight, well-maintained utility for programmatic package metadata inspection with no dependencies, permissive licensing, and broad Python version support. Suitable for build tools, package managers, and distribution analysis workflows. [View on SkillFed](https://skillfed.io/packages/pkginfo) · [View on PyPI](https://pypi.org/project/pkginfo/)