python

package
v0.87.1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: Apache-2.0 Imports: 21 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPythonIndexCataloger

func NewPythonIndexCataloger(cfg CatalogerConfig) *generic.Cataloger

NewPythonIndexCataloger returns a new cataloger for python packages referenced from poetry lock files, requirements.txt files, and setup.py files.

func NewPythonPackageCataloger

func NewPythonPackageCataloger() *generic.Cataloger

NewPythonPackageCataloger returns a new cataloger for python packages within egg or wheel installation directories.

Types

type CatalogerConfig added in v0.86.0

type CatalogerConfig struct {
	GuessUnpinnedRequirements bool
}

func DefaultCatalogerConfig added in v0.86.0

func DefaultCatalogerConfig() CatalogerConfig

type Dependency added in v0.21.0

type Dependency struct {
	Hashes  []string `json:"hashes"`
	Version string   `json:"version"`
	Index   string   `json:"index"`
}

Jump to

Keyboard shortcuts

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