runtimepy.net.html package#
Subpackages#
Submodules#
runtimepy.net.html.arbiter module#
A module implementing connection-arbiter related utilities.
Module contents#
A module implementing HTML-related interfaces.
- runtimepy.net.html.append_kind(element: Element, *names: str, package: str = 'runtimepy', kind: str = 'js', tag: str = 'script', subdir: str = None, worker: bool = False) Element | None [source]#
Append a new script element.
- runtimepy.net.html.create_app_shell(parent: Element, bootstrap_theme: str = 'dark', use_button_column: bool = True, **kwargs) tuple[Element, Element] [source]#
Create a bootstrap-based application shell.
- runtimepy.net.html.full_markdown_page(document: Html, markdown: str, uri_query: str | None = None) None [source]#
Render a full markdown HTML app.
- runtimepy.net.html.handle_worker(writer: IndentedFileWriter) int [source]#
Boilerplate contents for worker thread block.
- runtimepy.net.html.kind_url(kind: str, name: str, subdir: str = None, package: str = 'runtimepy') str [source]#
Return a URL to find a package resource.