Help us shape the future of Go! Take the 2026 Go Developer Survey

pythonruntime

package
v0.32.6 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interpreter

type Interpreter struct {
	Alias   string
	Path    string
	Version string
	Major   int
	Minor   int
}

Interpreter contains resolved Python interpreter metadata.

func FindPython3Interpreter

func FindPython3Interpreter() (Interpreter, error)

FindPython3Interpreter resolves a Python 3 interpreter from common aliases.

func FindPython3InterpreterAtLeast

func FindPython3InterpreterAtLeast(minMinor int) (Interpreter, error)

FindPython3InterpreterAtLeast resolves a Python 3 interpreter with a minimum minor version.

Jump to

Keyboard shortcuts

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