python

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const PYPI_REGISTRY_API = "https://pypi.org/pypi/%s/json"

https://warehouse.pypa.io/api-reference/json.html

Variables

This section is empty.

Functions

This section is empty.

Types

type PipDoctor

type PipDoctor struct {
	HTTPClient http.Client
}

func NewPipDoctor

func NewPipDoctor() *PipDoctor

func (*PipDoctor) Parse added in v1.2.0

func (*PipDoctor) SourceCodeURL

func (d *PipDoctor) SourceCodeURL(lib types.Library) (string, error)

type PipenvDoctor

type PipenvDoctor struct {
	HTTPClient http.Client
}

func NewPipenvDoctor

func NewPipenvDoctor() *PipenvDoctor

func (*PipenvDoctor) Parse added in v1.2.0

func (*PipenvDoctor) SourceCodeURL

func (d *PipenvDoctor) SourceCodeURL(lib types.Library) (string, error)

type PoetryDoctor added in v1.2.0

type PoetryDoctor struct {
	HTTPClient http.Client
}

func NewPoetryDoctor added in v1.2.0

func NewPoetryDoctor() *PoetryDoctor

func (*PoetryDoctor) Parse added in v1.2.0

func (*PoetryDoctor) SourceCodeURL added in v1.2.0

func (d *PoetryDoctor) SourceCodeURL(lib types.Library) (string, error)

type Pypi

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

type PypiRegistryResponse

type PypiRegistryResponse struct {
	Info struct {
		ProjectUrls struct {
			SourceCode    string `json:"Source Code"`
			Source        string `json:"Source"`
			Code          string `json:"Code"`
			GitHubProject string `json:"GitHub Project"`
		} `json:"project_urls"`
	} `json:"info"`
}

Jump to

Keyboard shortcuts

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