module documentation

Helper functions for working with templates

Function render_templatefile Undocumented
Function string_camelcase Convert a word to its CamelCase version and remove invalid chars
Constant CAMELCASE_INVALID_CHARS Undocumented
def render_templatefile(path: Union[str, PathLike], **kwargs): (source)

Undocumented

def string_camelcase(string): (source)

Convert a word to its CamelCase version and remove invalid chars >>> string_camelcase('lost-pound') 'LostPound' >>> string_camelcase('missing_images') 'MissingImages'

CAMELCASE_INVALID_CHARS = (source)

Undocumented

Value
re.compile(r'[^a-zA-Z\d]')