gwss.utilities

Module Contents

Functions

prepare_config(→ str)

param config:

squish_info(→ dict)

path_validation(→ bool)

param path:

path_create(→ bool)

param path:

Attributes

ls_tmpl

gwss.utilities.ls_tmpl = Multiline-String[source]
Show Value
"""
{%- for type, values in config.items() %}
    {{- Style.BRIGHT }}{{- type.upper() }}{{ Style.NORMAL }}
    {% for value in values %}
    {{ value }}
{% endfor -%}
{%- endfor -%}
"""
gwss.utilities.prepare_config(config: dict) str[source]
Parameters:

config

Returns:

str

gwss.utilities.squish_info(config) dict[source]
gwss.utilities.path_validation(path: str | os.PathLike | pathlib.Path) bool[source]
Parameters:

path

Returns:

True

gwss.utilities.path_create(path: str | os.PathLike | pathlib.Path) bool[source]
Parameters:

path

Returns:

True