python

package
v1.23.14 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2026 License: MIT Imports: 9 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

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cli

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

func NewCli

func NewCli(commandRunner exec.CommandRunner) *Cli

func (*Cli) CheckInstalled

func (cli *Cli) CheckInstalled(ctx context.Context) error

func (*Cli) CreateVirtualEnv

func (cli *Cli) CreateVirtualEnv(ctx context.Context, workingDir, name string, env []string) error

func (*Cli) InstallProject

func (cli *Cli) InstallProject(ctx context.Context, workingDir, environment string, env []string) error

InstallProject installs dependencies from pyproject.toml using pip.

func (*Cli) InstallRequirements

func (cli *Cli) InstallRequirements(
	ctx context.Context, workingDir, environment, requirementFile string, env []string,
) error

func (*Cli) InstallUrl

func (cli *Cli) InstallUrl() string

func (*Cli) Name

func (cli *Cli) Name() string

func (*Cli) Run

func (cli *Cli) Run(
	ctx context.Context,
	workingDir string,
	environment string,
	env []string,
	args ...string,
) (*exec.RunResult, error)

Jump to

Keyboard shortcuts

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