python

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package python provides the Python language plugin for monox.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PythonPlugin

type PythonPlugin struct{}

PythonPlugin implements the LanguagePlugin interface for Python.

func (*PythonPlugin) DetectProject

func (p *PythonPlugin) DetectProject(path string) bool

DetectProject checks if a directory contains a Python project.

func (*PythonPlugin) GetDefaultTasks

func (p *PythonPlugin) GetDefaultTasks(project *api.Project) []api.Task

GetDefaultTasks returns default tasks for Python projects.

func (*PythonPlugin) GetDependencies

func (p *PythonPlugin) GetDependencies(ctx context.Context, project *api.Project, workspaceRoot string) ([]api.Dependency, error)

GetDependencies extracts dependencies from a Python project.

func (*PythonPlugin) InferProjectConfig

func (p *PythonPlugin) InferProjectConfig(projectPath string, workspaceRoot string) (*api.Project, error)

InferProjectConfig infers project configuration from the filesystem.

func (*PythonPlugin) Name

func (p *PythonPlugin) Name() string

Name returns the plugin name.

func (*PythonPlugin) RunTask

func (p *PythonPlugin) RunTask(ctx context.Context, project *api.Project, task api.Task, workspaceRoot string) error

RunTask executes a task for a Python project.

func (*PythonPlugin) ValidateProject

func (p *PythonPlugin) ValidateProject(project *api.Project, workspaceRoot string) []error

ValidateProject validates a Python project configuration.

Jump to

Keyboard shortcuts

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