experimental_lowqa.tasks package#

Subpackages#

Submodules#

experimental_lowqa.tasks.conntextual module#

A module capable of registering workflow tasks for invoking project-specific conntextual tasks.

class experimental_lowqa.tasks.conntextual.ConntextualTask(name: str, *args, execute: Callable[[Dict[str, Dict[str, Any]], Dict[str, Any]], Coroutine[Any, Any, bool]] = None, log: Logger = None, timer: Timer = None, target: Target = None, **kwargs)[source]#

Bases: SubprocessLogMixin

A task for running conntextual.

default_requirements: _Set[str] = {'python-install-conntextual', 'venv', 'vmklib.init'}#
async run(inbox: Dict[str, Dict[str, Any]], outbox: Dict[str, Any], *args, **kwargs) bool[source]#

Generate ninja configuration files.

experimental_lowqa.tasks.conntextual.register(manager: TaskManager, project: str, cwd: Path, substitutions: Dict[str, str], prefix: str = 'r') bool[source]#

Register project tasks to the manager.

experimental_lowqa.tasks.docs module#

A module for project documentation tasks.

class experimental_lowqa.tasks.docs.SphinxTask(name: str, *args, execute: Callable[[Dict[str, Dict[str, Any]], Dict[str, Any]], Coroutine[Any, Any, bool]] = None, log: Logger = None, timer: Timer = None, target: Target = None, **kwargs)[source]#

Bases: SubprocessLogMixin

A class to facilitate generating documentation with sphinx.

default_requirements: _Set[str] = {'python-editable', 'python-install-sphinx', 'python-install-sphinx-book-theme', 'venv'}#
async run(inbox: Dict[str, Dict[str, Any]], outbox: Dict[str, Any], *args, **kwargs) bool[source]#

Generate ninja configuration files.

experimental_lowqa.tasks.python module#

A module for Python-project task registration.

class experimental_lowqa.tasks.python.PythonTags(name: str, *args, execute: Callable[[Dict[str, Dict[str, Any]], Dict[str, Any]], Coroutine[Any, Any, bool]] = None, log: Logger = None, timer: Timer = None, target: Target = None, **kwargs)[source]#

Bases: GenerateTags

A class implementing a task for generating tags files.

extra_source_candidates: list[tuple[str | Path, ...]] = [('tasks',), ('tests',), (PosixPath('/home/vkottler'), 'src', 'python', 'cpython', 'Lib')]#
languages = 'Python'#
async run(inbox: Dict[str, Dict[str, Any]], outbox: Dict[str, Any], *args, **kwargs) bool[source]#

Generate a tags files.

experimental_lowqa.tasks.python.to_slug(data: str) str[source]#

Get a slug from a string.

experimental_lowqa.tasks.runtimepy module#

A module for tasks related to the runtimepy project.

class experimental_lowqa.tasks.runtimepy.ArbiterTask(name: str, *args, execute: Callable[[Dict[str, Dict[str, Any]], Dict[str, Any]], Coroutine[Any, Any, bool]] = None, log: Logger = None, timer: Timer = None, target: Target = None, **kwargs)[source]#

Bases: SubprocessLogMixin

A task for running the runtime arbiter.

default_requirements: _Set[str] = {'python-editable', 'venv', 'vmklib.init'}#
async run(inbox: Dict[str, Dict[str, Any]], outbox: Dict[str, Any], *args, **kwargs) bool[source]#

Generate ninja configuration files.

Module contents#