coxbuild.extensions.python package

Submodules

coxbuild.extensions.python.docs module

coxbuild.extensions.python.format module

coxbuild.extensions.python.package module

coxbuild.extensions.python.package.hasPackages(packages: dict[str, str])
coxbuild.extensions.python.package.installedPackages() → dict[str, str]
coxbuild.extensions.python.package.loadFromRequirements(lines: list[str]) → dict[str, str]
coxbuild.extensions.python.package.upgradePackages(*packages: str)

coxbuild.extensions.python.test module

Module contents

class coxbuild.extensions.python.Settings(config: coxbuild.configurations.Configuration)

Bases: coxbuild.configurations.ConfigurationAccessor

property requirements: pathlib.Path

Path to requirements.txt.

coxbuild.extensions.python.withSettings(task: coxbuild.tasks.Task) → coxbuild.tasks.Task

Decorator to add settings argument to task context.