Installomator#
See also
- class Installomator(concurrency: int | None = 5)[source]#
The Installomator class interacts with Installomator, a script used for automated software installations on macOS.
This class provides methods for fetching, parsing, and matching Installomator labels to
PatchTitle
objects using direct or fuzzy matching.- Parameters:
concurrency (
Optional
[int
]) – Number of concurrent requests allowed for API operations. See concurrency in Usage docs.
- async get_labels() List[Label] [source]#
Builds
Label
objects after collectingFragment
objects from GitHub API.- Returns:
The compiled list of
Label
objects.- Return type:
List
[Label
]
- async match(patch_titles: List[PatchTitle]) None [source]#
Matches Installomator labels to
PatchTitle
objects using direct mapping and fuzzy matching.Uses multiple app names from
get_app_names()
Matches labels directly by name by default
Applies fuzzy matching as a fallback if direct matching fails
Updates
install_label
with matched labels
- Parameters:
patch_titles (
List
[PatchTitle
]) – The list ofPatchTitle
objects to match withLabel
objects.- Return type:
None