pyproject

package
v0.0.0-...-1de9a37 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: MIT Imports: 3 Imported by: 3

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]interface{}, error)

type Poetry

type Poetry struct {
	Dependencies map[string]interface{} `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