This function searches the OSS index for vulnerabilities recorded for packages listed in a requirements.txt file based on PyPi.

audit_req_txt(dir = ".", verbose = TRUE)

Arguments

dir

The file path of a requirements.txt file.

verbose

Default TRUE.

Details

pip is a standard of python package management based on the Python Package Index (PyPI). pip uses a requirements.txt file to manage of Python libraries. The requirements.txt file contains package names and versions (often used to manage a virtual environment).

Examples

if (FALSE) { # Looks for a requirements.txt file in dir audit_description(dir = ".") }