--- id: pip-api version: "0.0.34" license: unclear license_treatment: permissive maintenance: active --- # pip-api — An unofficial, importable pip API License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install pip-api uv add pip-api poetry add pip-api ## Description [![GitHub - License](https://img.shields.io/github/license/di/pip-api?logo=github&style=flat&color=green)][#github-license] [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pip-api?logo=pypi&style=flat&color=blue)][#pypi-package] [![PyPI - Package Version](https://img.shields.io/pypi/v/pip-api?logo=pypi&style=flat&color=orange)][#pypi-package] [![Conda - Platform](https://img.shields.io/conda/pn/conda-forge/pip-api?logo=anaconda&style=flat)][#conda-forge-package] [![Conda (channel only)](https://img.shields.io/conda/vn/conda-forge/pip-api?logo=anaconda&style=flat&color=orange)][#conda-forge-package] [![Conda Recipe](https://img.shields.io/static/v1?logo=conda-forge&style=flat&color=green&label=recipe&message=pip-api)][#conda-forge-feedstock] [#github-license]: https://github.com/di/pip-api/blob/master/LICENSE [#pypi-package]: https://pypi.org/project/pip-api/ [#conda-forge-package]: https://anaconda.org/conda-forge/pip-api [#conda-forge-feedstock]: https://github.com/conda-forge/pip-api-feedstock Since [`pip`](https://pypi.org/p/pip) is a command-line-tool, [it does not have an official, supported,... ## AI interpretation — verify before relying Provides an importable Python API that wraps pip's command-line interface, allowing programmatic access to pip functionality like querying installed distributions and parsing requirements files. Verdict: Stable, low-friction wrapper around pip's CLI with active maintenance and no known vulnerabilities. Suitable for tools that need programmatic access to pip functionality without relying on pip's unsupported internal API. Used by established projects like pip-audit and pytest-reqs. [View on SkillFed](https://skillfed.io/packages/pip-api) · [View on PyPI](https://pypi.org/project/pip-api/)