pip

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package pip provides the Python/pip ecosystem plugin.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct{}

Plugin implements the pip ecosystem.

func (*Plugin) Detect

func (p *Plugin) Detect(ctx context.Context, path string) bool

Detect checks if this is a Python project with scannable requirements files.

func (*Plugin) GetFix

GetFix returns the pip command to fix a vulnerability.

func (*Plugin) Info

func (p *Plugin) Info() ecosystem.PluginInfo

Info returns plugin metadata.

func (*Plugin) NativeAudit

func (p *Plugin) NativeAudit(ctx context.Context, path string) (*ecosystem.ScanResult, error)

NativeAudit runs pip-audit if available.

func (*Plugin) Scan

func (p *Plugin) Scan(ctx context.Context, path string) (*ecosystem.ScanResult, error)

Scan parses requirements.txt and checks for vulnerabilities.

Jump to

Keyboard shortcuts

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