muos package

Subpackages

Submodules

muos.color module

class muos.color.Color

Bases: object

CYAN = '\x1b[36m'
DEFAULT = '\x1b[39m'
GREEN = '\x1b[32m'

muos.command module

class muos.command.Command

Bases: object

static capture(command: Any) CompletedProcess[str]
static run(command: Any) None

muos.environment module

class muos.environment.DiskFormat(value)

Bases: LowercaseStrEnum

An enumeration.

DOS = 'dos'
GPT = 'gpt'
class muos.environment.Environment(bootloader_id: str, bootx64_efi: str, description: str, disk_format: DiskFormat, file_systems: List[FileSystem], fstab_tag: FstabTag, host_name: str, mnt: str, pacstrap_packages: List[str], mount_points: List[Tuple[int, str]], partitions: List[str], keymap: str = 'us', locales: List[str] = [], main_locale: str = 'C.UTF-8', pacman_mirrors: List[str] = [], passwords: List[Tuple[str, str]] = [], systemd_services: List[str] = [], time_zone: str = 'UTC')

Bases: object

bootloader_id: str
bootx64_efi: str
description: str
disk: str
disk_format: DiskFormat
file_systems: List[str]
fstab_tag: FstabTag
fzf: FzfPrompt
host_name: str
keymap = 'us'
locales: List[str]
main_locale = 'C.UTF-8'
mnt = '/mnt'
mount_points: List[Tuple[int, str]]
pacman_mirrors: List[str]
pacstrap_packages: List[str]
partitions: List[str]
passwords: List[Tuple[str, str]]
setup_fzf() None
systemd_services: List[str] = []
time_zone = 'UTC'
class muos.environment.FileSystem(value)

Bases: Enum

An enumeration.

EXT4 = 1
FAT32 = 2
class muos.environment.FstabTag(value)

Bases: UppercaseStrEnum

An enumeration.

LABEL = 'LABEL'
PARTLABEL = 'PARTLABEL'
PARTUUID = 'PARTUUID'
UUID = 'UUID'

muos.fzf_manager module

class muos.fzf_manager.FzfManager

Bases: object

EXECUTABLE_NAME = 'fzf'
download() None
executable: str
extract() None
get() None
tarfile: str
temp_d: str
use() FzfPrompt

muos.get_disks module

muos.get_disks.get_disks() List[str]

muos.get_efi_dir module

muos.get_efi_dir.get_efi_dir(environment: Environment) Path

muos.get_lines_as_list module

muos.get_lines_as_list.get_lines_as_list(path: PathLike) List[str]

muos.get_nth_partition module

muos.get_nth_partition.get_nth_partition(disk: str, n: int) str

muos.get_static_dir module

muos.get_static_dir.get_static_dir() Path

muos.log module

class muos.log.Log

Bases: object

static message(value: Any) None

muos.runner module

class muos.runner.Runner(environment: Environment, steps: List[Step])

Bases: object

environment: Environment
run() None

muos.step module

class muos.step.Step

Bases: object

at_exit(environment: Environment) None
description: str
main(environment: Environment) None

Module contents