py

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2024 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PipInstall

func PipInstall(dep string)

Install dependencies using pip

func PipUninstall

func PipUninstall(dep string)

Uninstall dependencies using pip

func RunCode

func RunCode(code string) map[string]interface{}

Run the Python code and return the result.

func RunCodef

func RunCodef(codeTemplate string, args ...interface{}) map[string]interface{}

Run the Python code with the given Golang variables and return the result. The variables should be passed by $v1, $v2, $v3... in the codeTemplate.

Types

This section is empty.

Jump to

Keyboard shortcuts

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