vmklib package#

Subpackages#

Submodules#

vmklib.app module#

vmklib - This package’s command-line entry-point application.

vmklib.app.add_app_args(parser: ArgumentParser) None[source]#

Add application-specific arguments to the command-line parser.

vmklib.app.build_makefile(user_file: Path, directory: Path, proj: str, data: Dict[str, Any]) Iterator[str][source]#

Build a temporary makefile and return the path.

vmklib.app.entry(args: Namespace) int[source]#

Execute the requested task.

vmklib.app.get_data(path: Path, targets: List[str], prefix: str | None = None) Tuple[Dict[str, str | int], List[str]][source]#

Load configuration data if it can be found.

vmklib.app.initialize_task_manager(manager: TaskManager, proj: str, task_register: str, directory: Path, substitutions: Dict[str, str | int]) None[source]#

Load internal and external tasks to the task manager.

vmklib.app.project(path: Path, name: str = None) str[source]#

If the project name wasn’t provided, guess that it’s either the name of the parent directory, or that name as a slug.

vmklib.entry module#

This package’s command-line entry-point (boilerplate).

vmklib.entry.main(argv: List[str] = None) int[source]#

Program entry-point.

vmklib.util module#

An interface exposing miscellaneous utilities.

vmklib.util.to_slug(data: str) str[source]#

Convert a string to an import slug.

Module contents#

Useful defaults and other package metadata.