python

package
v0.0.4-alpha.6 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2026 License: EUPL-1.2 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CoolifyModulePath

func CoolifyModulePath() (string, error)

CoolifyModulePath returns the path to the Coolify module_utils.

func CoolifyScript

func CoolifyScript(baseURL, apiToken, operation string, params map[string]any) (string, error)

CoolifyScript generates Python code to call the Coolify API.

func DevOpsPath

func DevOpsPath() (string, error)

DevOpsPath returns the path to the DevOps repo.

func GetPython

func GetPython() *python.EmbeddedPython

GetPython returns the embedded Python instance.

func Init

func Init() error

Init initializes the embedded Python runtime.

func RunModule

func RunModule(ctx context.Context, module string, args ...string) (string, error)

RunModule runs a Python module (python -m module_name).

func RunScript

func RunScript(ctx context.Context, code string, args ...string) (string, error)

RunScript runs a Python script with the given code and returns stdout.

Types

This section is empty.

Jump to

Keyboard shortcuts

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