python

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Python

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

func New

func New(meta *metadata.Metadata) *Python

func (*Python) CompareVersions

func (p *Python) CompareVersions(a, b string) (int, error)

func (*Python) DependencyFilePatterns

func (p *Python) DependencyFilePatterns() []string

func (*Python) ExtractInstallScriptsFromFiles

func (p *Python) ExtractInstallScriptsFromFiles(files map[string]string) ([]string, error)

func (*Python) ExtractPackageArchive

func (p *Python) ExtractPackageArchive(artifactPath, destDir string) error

func (*Python) ExtractPackageMetadata

func (p *Python) ExtractPackageMetadata(ctx context.Context, pkg models.PackageInfo, registryData any) (*models.PackageMetadata, *string, *string, error)

func (*Python) ExtractVersionHistory

func (p *Python) ExtractVersionHistory(ctx context.Context, pkg models.PackageInfo, registryData any) (*models.VersionMetadata, error)

func (*Python) FetchPackageFromRegistry

func (p *Python) FetchPackageFromRegistry(ctx context.Context, pkg models.PackageInfo) (*language.RegistryResponse, error)

func (*Python) Metadata

func (p *Python) Metadata() *metadata.Metadata

func (*Python) NormalizeName

func (p *Python) NormalizeName(name string) string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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