pypi

package
v0.0.0-...-6addaf6 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PkgNotFound = errors.New("Pkg not found on the index server")
)

Functions

func GetIndexURLs

func GetIndexURLs(iconf IndexUrlsConf) ([]string, error)

func GetIndexURLsFromDefaultPipConf

func GetIndexURLsFromDefaultPipConf() ([]string, error)

Types

type IndexUrlsConf

type IndexUrlsConf struct {
	ReadStdPipConf         bool
	DisableDefaultIndexUrl bool
}

type PypiPackageManager

type PypiPackageManager struct {
	// contains filtered or unexported fields
}

func NewPrivatePypiPackageManager

func NewPrivatePypiPackageManager(indexUrls []string) *PypiPackageManager

func NewPypiPackageManager

func NewPypiPackageManager(indexUrls []string) *PypiPackageManager

func (*PypiPackageManager) DownloadAndGetPackageInfo

func (s *PypiPackageManager) DownloadAndGetPackageInfo(directory, packageName, version string) (map[string]interface{}, string, error)

Jump to

Keyboard shortcuts

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