pywebui.packages
¶
Module Contents¶
Classes¶
Package object. |
|
PackageHistory object. |
|
Encapsulates methods for manage packages. |
- class pywebui.packages.Package(attrs)¶
Package object.
- architecture¶
The base system name identifies both a hardware platform and an operating system.
- Type
str
- name¶
The product name.
- Type
str
- producer¶
The name of the company that owns the product.
- Type
str
- state¶
The state of the product.
- Type
str
- type¶
The type of product kit (full LP, operating system, mandatory update, partial, patch, platform, or transition).
- Type
str
- version¶
The version of product.
- Type
str
- class pywebui.packages.PackageHistory(attrs)¶
PackageHistory object.
- architecture¶
The base system name identifies both a hardware platform and an operating system.
- Type
str
- date¶
The date of the operation (Unix Epoch format).
- Type
int
- dateStr¶
The date of the operation in string format.
- Type
str
- error¶
The number of error during the operation.
- Type
int
- name¶
The product name.
- Type
str
- operation¶
The operation name with product kit.
- Type
str
- producer¶
The name of the company that owns the product.
- Type
str
- type¶
The type of product kit (full LP, operating system, mandatory update, partial, patch, platform, or transition).
- Type
str
- validStatus¶
The validation code status object.
- Type
dict
- username¶
The name of user who performed operation.
- Type
str
- version¶
The version of product.
- Type
str
- class pywebui.packages.InstalledPackagesMethods¶
Encapsulates methods for manage packages.
- get_installed_packages(self) List[Package] ¶
Returns the list of installed packages on current node.
- get_package_history(self, product: str) List[PackageHistory] ¶
Returns the history of selected package on current node.
- export_package_history(self, product: str) str ¶
Exports the history of selected package on current node to text.
- delete_package(self, product: str) bool ¶
Deletes the selected package on current node.