palgen.template.string
#
Module Contents#
- class palgen.template.string.Template(filename, encoding='utf-8')#
palgen.template.string.Template palgen.template.string.Template palgen.template.string.Template palgen.template.string.Template string.Template string.Template palgen.template.string.Template->string.Template A string class for supporting $-substitutions.
- Parameters:
filename (pathlib.Path | str) –
encoding (Optional[str]) –
- render#
- __call__#
- delimiter = '$'#
- idpattern = '(?a:[_a-z][_a-z0-9]*)'#
- braceidpattern#
- flags#
- classmethod __init_subclass__()#
- substitute(mapping=_sentinel_dict, /, **kws)#
- safe_substitute(mapping=_sentinel_dict, /, **kws)#
- is_valid()#
- get_identifiers()#