python

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PythonPackageTypeIdentifier = "pypi://"
)

Variables

This section is empty.

Functions

func BuildDependencyTree

func BuildDependencyTree(auditPython *AuditPython) (dependencyTree []*xrayUtils.GraphNode, uniqueDeps []string, downloadUrls map[string]string, err error)

func SetPipVirtualEnvPath

func SetPipVirtualEnvPath() (restoreEnv func() error, err error)

Execute virtualenv command: "virtualenv venvdir" / "python3 -m venv venvdir" and set path

Types

type AuditPython

type AuditPython struct {
	Server              *config.ServerDetails
	Tool                pythonutils.PythonTool
	RemotePypiRepo      string
	PipRequirementsFile string
	IsCurationCmd       bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL