requirements

package
v0.19.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PackageName added in v0.15.2

func PackageName(pipRequirement string) string

func ReadRequirements added in v0.14.4

func ReadRequirements(path string) ([]string, error)

func SplitPinnedPythonRequirement added in v0.15.2

func SplitPinnedPythonRequirement(requirement string) (name string, version string, findLinks []string, extraIndexURLs []string, err error)

SplitPinnedPythonRequirement returns the name, version, findLinks, and extraIndexURLs from a requirements.txt line in the form name==version [--find-links=<findLink>] [-f <findLink>] [--extra-index-url=<extraIndexURL>]

func Versions added in v0.15.10

func Versions(pipRequirement string) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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