system_helpers.apt.extract

Functions

parse_args() → argparse.Namespace

Parse CLI arguments.

candidate(*, package, plus) → str

Get candidate version for package.

extract(*, package, files[, arch, clean]) → None

Download .deb for package and install only the specified files.

Module Contents

system_helpers.apt.extract.parse_args() → argparse.Namespace

Parse CLI arguments.

system_helpers.apt.extract.candidate(*, package: str, plus: bool) → str

Get candidate version for package.

system_helpers.apt.extract.extract(*, package: str, files: List[str], arch: str = 'amd64', clean: bool = True) → None

Download .deb for package and install only the specified files.