pylock

package
v0.69.4 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dependency

type Dependency struct {
	Name    string `toml:"name"`
	Version string `toml:"version"`
}

type Directory

type Directory struct {
	Path string `toml:"path"`
}

type Package

type Package struct {
	Name         string       `toml:"name"`
	Version      string       `toml:"version"`
	Dependencies []Dependency `toml:"dependencies"`
	Directory    Directory    `toml:"directory"`
}

type Parser

type Parser struct{}

Parser parses pylock.toml defined in PEP 751. https://peps.python.org/pep-0751

func NewParser

func NewParser() *Parser

func (*Parser) Parse

type Pylock

type Pylock struct {
	Packages []Package `toml:"packages"`
}

Jump to

Keyboard shortcuts

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