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.
Click to show internal directories.
Click to hide internal directories.