Documentation ¶
Index ¶
Constants ¶
View Source
const Type string = "pypi"
Variables ¶
View Source
var ( Manifests = []string{"METADATA", "requirements.txt", "poetry.lock", "PKG-INFO"} Extensions = []string{".egg-info"} )
Functions ¶
Types ¶
type Dependency ¶
type Package ¶
type Package struct { Name string `json:"name"` Version string `json:"version"` Description string `json:"description"` Optional bool `json:"optional"` PythonVersions string `json:"python-versions"` Files []File `json:"files"` Dependencies map[string]Dependency `json:"dependencies"` Extras map[string][]string `json:"extras"` }
type PoetryLock ¶
type PoetryLock struct {
Packages []Package `json:"package"`
}
Click to show internal directories.
Click to hide internal directories.