pyproject

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct {
}

Parser parses pyproject.toml defined in PEP518. https://peps.python.org/pep-0518/

func NewParser

func NewParser() *Parser

func (*Parser) Parse

func (p *Parser) Parse(r io.Reader) (map[string]any, error)

type Poetry

type Poetry struct {
	Dependencies map[string]any `toml:"dependencies"`
}

type PyProject

type PyProject struct {
	Tool Tool `toml:"tool"`
}

type Tool

type Tool struct {
	Poetry Poetry `toml:"poetry"`
}

Jump to

Keyboard shortcuts

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