--- id: pip-requirements-parser version: "32.0.1" license: MIT license_treatment: permissive maintenance: dormant --- # pip-requirements-parser — pip requirements parser - a mostly correct pip requirements parsing library because it uses pip's own code. License: permissive · Maintenance: dormant · Popularity: top 1,000 on PyPI ## Install pip install pip-requirements-parser uv add pip-requirements-parser poetry add pip-requirements-parser ## Description pip-requirements-parser - a mostly correct pip requirements parsing library ================================================================================ Copyright (c) nexB Inc. and others. Copyright (c) The pip developers (see AUTHORS.rst file) SPDX-License-Identifier: MIT Homepage: https://github.com/nexB/pip-requirements and https://www.aboutcode.org/ ``pip-requirements-parser`` is a mostly correct pip requirements parsing library ... because it uses pip's own code! pip is the ``package installer`` for Python that is using "requirements" text files listing the packages to install. Per https://pip.pypa.io/en/stable/reference/requirements-file-format/ : "The requirements file format is closely tied to a number of internal details of pip (e.g., pip’s command line options). The basic format is relatively stable and portable but the full syntax, as described here, is only intended for consumption by pip, and other tools should take that into account before using it for their own purposes." And per https://pip.pypa.io/en/stable/user_guide/#using-pip-from-your-program : "[..] pip is a command line program. While it is implemented in Python, and... ## AI interpretation — verify before relying Parses pip requirements files using pip's own internal code, handling all syntax variations that pip supports without requiring network access or pip as a dependency. Verdict: Solid for parsing requirements files offline with minimal dependencies, backed by pip's own code and an extensive test suite. The permissive MIT license poses no barrier. However, dormant maintenance (last release December 2022) means no updates for pip's evolving syntax or security fixes—use only if your requirements format is stable or if you can maintain it yourself. [View on SkillFed](https://skillfed.io/packages/pip-requirements-parser) · [View on PyPI](https://pypi.org/project/pip-requirements-parser/)