python

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2025 License: MIT Imports: 7 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	DEFAULT_PYTHON_VERSION = "3.11"
	UV_CACHE_DIR           = "/opt/uv-cache"
	PIP_CACHE_DIR          = "/opt/pip-cache"
	VENV_PATH              = "/app/.venv"
	LOCAL_BIN_PATH         = "/root/.local/bin"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PythonProvider

type PythonProvider struct{}

func (*PythonProvider) AddRuntimeDeps added in v0.0.61

func (p *PythonProvider) AddRuntimeDeps(ctx *generate.GenerateContext)

func (*PythonProvider) Detect

func (p *PythonProvider) Detect(ctx *generate.GenerateContext) (bool, error)

func (*PythonProvider) GetBuilderDeps added in v0.0.23

func (*PythonProvider) GetPythonEnvVars

func (p *PythonProvider) GetPythonEnvVars(ctx *generate.GenerateContext) map[string]string

func (*PythonProvider) GetStartCommand added in v0.0.23

func (p *PythonProvider) GetStartCommand(ctx *generate.GenerateContext) string

func (*PythonProvider) Initialize added in v0.0.23

func (p *PythonProvider) Initialize(ctx *generate.GenerateContext) error

func (*PythonProvider) InstallMisePackages added in v0.0.23

func (p *PythonProvider) InstallMisePackages(ctx *generate.GenerateContext, miseStep *generate.MiseStepBuilder)

func (*PythonProvider) InstallPDM added in v0.0.35

func (p *PythonProvider) InstallPDM(ctx *generate.GenerateContext, install *generate.CommandStepBuilder) []string

func (*PythonProvider) InstallPip added in v0.0.35

func (p *PythonProvider) InstallPip(ctx *generate.GenerateContext, install *generate.CommandStepBuilder) []string

func (*PythonProvider) InstallPipenv added in v0.0.35

func (p *PythonProvider) InstallPipenv(ctx *generate.GenerateContext, install *generate.CommandStepBuilder) []string

func (*PythonProvider) InstallPoetry added in v0.0.35

func (p *PythonProvider) InstallPoetry(ctx *generate.GenerateContext, install *generate.CommandStepBuilder) []string

func (*PythonProvider) InstallUv added in v0.0.35

func (*PythonProvider) Name

func (p *PythonProvider) Name() string

func (*PythonProvider) Plan

func (*PythonProvider) StartCommandHelp added in v0.0.28

func (p *PythonProvider) StartCommandHelp() string

Jump to

Keyboard shortcuts

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