python

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

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

func NewInstalledPackageCataloger() pkg.Cataloger

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

Jump to

Keyboard shortcuts

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