python

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PythonRuntime

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

PythonRuntime implements the Runtime interface for Python

func New

func New(cache types.Cache, downloader types.Downloader) *PythonRuntime

New creates a new Python runtime manager

func (*PythonRuntime) Get

func (p *PythonRuntime) Get(ctx context.Context, version string) (string, error)

Get downloads and installs the specified Python version

func (*PythonRuntime) GetLatest

func (p *PythonRuntime) GetLatest(ctx context.Context) (string, error)

GetLatest downloads the latest stable Python version

func (*PythonRuntime) List

func (p *PythonRuntime) List(ctx context.Context) ([]types.Version, error)

List returns available Python versions

func (*PythonRuntime) Name

func (p *PythonRuntime) Name() string

Name returns the runtime name

Jump to

Keyboard shortcuts

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