python

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Detector

type Detector struct{}

Detector implements Python component detection

func (*Detector) Detect

func (d *Detector) Detect(files []types.File, currentPath, basePath string, provider types.Provider, depDetector components.DependencyDetector) []*types.Payload

Detect scans for Python projects with priority-based detection: Priority 1: pyproject.toml (supports Poetry, uv, and other PEP 518 tools) Priority 2: requirements.txt (PEP 508 compliant dependency parsing) Priority 3: setup.py (basic detection, no dependency parsing)

If pyproject.toml is found and successfully parsed, lower-priority files are skipped.

func (*Detector) Name

func (d *Detector) Name() string

Name returns the detector name

Jump to

Keyboard shortcuts

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