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
PatchTitleobjects using direct or fuzzy matching.- Parameters:
concurrency (int | None) – Number of concurrent requests allowed for API operations. See concurrency in Usage docs.
- async get_labels() list[Label][source]#
Builds
Labelobjects after collectingFragmentobjects from GitHub API.- Returns:
The compiled list of
Labelobjects.- Return type:
list [
Label]
- async match(patch_titles: list[PatchTitle]) None[source]#
Matches Installomator labels to
PatchTitleobjects 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_labelwith matched labels
- Parameters:
patch_titles (list [
PatchTitle]) – The list ofPatchTitleobjects to match withLabelobjects.- Return type:
None