system_helpers.apt.extract

Attributes

args

Functions

parse_args(→ argparse.Namespace)

Parse CLI arguments.

candidate(→ str)

Get candidate version for package.

extract(→ 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.

system_helpers.apt.extract.args