fluidasserts.sca.pypi module

Software Composition Analysis for Python packages.

fluidasserts.sca.pypi.package_has_vulnerabilities(package, version=None, retry=True)

Search vulnerabilities on given package/version.

Parameters
Return type

fluidasserts.Result

fluidasserts.sca.pypi.project_has_vulnerabilities(path, exclude=None, retry=True)

Search vulnerabilities on given project directory.

Parameters
  • path (str) – Project path.

  • exclude (typing.Optional[list]) – Paths that contains any string from this list are ignored.

Return type

fluidasserts.Result