pip

lib.pip.parseRequirementsTxt

Type: parseRequirementsTxt :: AttrSet -> list

Parse dependencies from requirements.txt

requirements

: The contents of or path to requirements.txt

::: {.example #function-library-example-lib.pip.parseRequirementsTxt}

lib.pip.parseRequirementsTxt usage example

# parseRequirements ./requirements.txt
[ { flags = []; requirement = {}; # Returned by pep508.parseString } ]

:::