Public APIΒΆ
import kloch
""" functions """
kloch.get_cli(...)
# Return the command line interface generated from user arguments provided.
kloch.is_hub_up_to_date(...)
# Return True if the current hub version doesn't need update.
kloch.is_runtime_from_local_install(...)
# Find if the current runtime code is executed from a local hub installation.
""" classes """
kloch.BaseParser(...)
# The root CLI parser who's all subparsers use as base.
kloch.Environ(...)
# Global list of supported environment variables.
kloch.HubConfig(...)
# Options determining how the hub must be installed.
kloch.HubLocalFilesystem(...)
# Collection of paths for storing runtime data
kloch.OS(...)
# Current operating system.
""" modules """
kloch.config
# A simple configuration system for the Knots-hub runtime.
kloch.constants
# Variables that are constants through the app runtime.
kloch.filesystem
# manipulate the filesystem
kloch.installer
# various software that can be installed on the user system
""" other """
- Configuration
- Constants
- Command Line Interface
- Installer
- knots_hub.installer
BaseVendorInstallerBaseVendorInstaller.__init__()BaseVendorInstaller.dirs_to_makeBaseVendorInstaller.get_documentation()BaseVendorInstaller.get_hash()BaseVendorInstaller.install()BaseVendorInstaller.install_dirBaseVendorInstaller.install_record_pathBaseVendorInstaller.make_install_directories()BaseVendorInstaller.name()BaseVendorInstaller.serialize()BaseVendorInstaller.unserialize()BaseVendorInstaller.version()
HubInstallRecordRezVendorInstallerVendorInstallRecordget_hub_local_executable()install_hub()install_vendor()is_hub_up_to_date()read_vendor_installer_from_file()uninstall_vendor()
- knots_hub.installer.vendors
BaseVendorInstallerBaseVendorInstaller.__init__()BaseVendorInstaller.dirs_to_makeBaseVendorInstaller.get_documentation()BaseVendorInstaller.get_hash()BaseVendorInstaller.install()BaseVendorInstaller.install_dirBaseVendorInstaller.install_record_pathBaseVendorInstaller.make_install_directories()BaseVendorInstaller.name()BaseVendorInstaller.serialize()BaseVendorInstaller.unserialize()BaseVendorInstaller.version()
RezVendorInstallerVendorNameErrorinstall_vendor()read_vendor_installer_from_file()uninstall_vendor()
- knots_hub.installer
- Filesystem