utils

Utility functions.

aws_stepfunction.utils.short_uuid(n: int = 7) str[source]

return short uuid.

aws_stepfunction.utils.is_json_path(path: str) bool[source]

Verify if string is a valid JSON path.

aws_stepfunction.utils.tokenize(s: str) List[str][source]

Tokenize the text into words.

aws_stepfunction.utils.slugify(s: str) str[source]

Convert to lowercase + hyphen naming convention.

aws_stepfunction.utils.snake_case(s: str) str[source]

Convert to lowercase + underscore naming convention.

aws_stepfunction.utils.camel_case(s: str) str[source]

Convert to first letter uppercase + no space naming convention.