Documentation ¶
Overview ¶
Package python provides a concrete Cataloger implementation relating to packages within the Python language ecosystem.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInstalledPackageCataloger ¶
NewInstalledPackageCataloger returns a new cataloger for python packages within egg or wheel installation directories.
func NewPackageCataloger ¶
func NewPackageCataloger(cfg CatalogerConfig) pkg.Cataloger
NewPackageCataloger returns a new cataloger for python packages referenced from poetry lock files, requirements.txt files, and setup.py files.
Types ¶
type CatalogerConfig ¶
type CatalogerConfig struct {
GuessUnpinnedRequirements bool `yaml:"guess-unpinned-requirements" json:"guess-unpinned-requirements" mapstructure:"guess-unpinned-requirements"`
}
func DefaultCatalogerConfig ¶
func DefaultCatalogerConfig() CatalogerConfig
Click to show internal directories.
Click to hide internal directories.