Documentation ¶
Index ¶
Constants ¶
View Source
const ( // SourceAPI is the format string for the PyPi API SourceAPI = "https://pypi.python.org/pypi/%s/json" // DateFormat is the Time format used by PyPi DateFormat = "2006-01-02T15:04:05" )
Variables ¶
View Source
var TarballRegex = regexp.MustCompile("https?://[^/]*py[^/]*/packages/(?:[^/]+/)+(.+)$")
TarballRegex matches PyPi source tarballs
Functions ¶
Types ¶
type Info ¶
type Info struct {
Version string `json:"version"`
}
Info contains a PyPi Version number
type LatestSource ¶
LatestSource contains a JSON representation of a PyPi Source
type Provider ¶
type Provider struct{}
Provider is the upstream provider interface for pypi
Click to show internal directories.
Click to hide internal directories.