python_dto_mappers.field_mappers.text_case ========================================== .. py:module:: python_dto_mappers.field_mappers.text_case .. autoapi-nested-parse:: Text case transformation utilities. Functions --------- .. autoapisummary:: python_dto_mappers.field_mappers.text_case.to_upper python_dto_mappers.field_mappers.text_case.to_lower python_dto_mappers.field_mappers.text_case.to_sentence_case python_dto_mappers.field_mappers.text_case.to_title_case Module Contents --------------- .. py:function:: to_upper(text: str) -> str Convert text to uppercase. Args: text: Input string Returns: Uppercase string Example: >>> to_upper("hello") 'HELLO' .. py:function:: to_lower(text: str) -> str Convert text to lowercase. Args: text: Input string Returns: Lowercase string Example: >>> to_lower("HELLO") 'hello' .. py:function:: to_sentence_case(text: str) -> str Convert text to sentence case (first letter uppercase). Args: text: Input string Returns: Sentence case string Example: >>> to_sentence_case("hello world") 'Hello world' .. py:function:: to_title_case(text: str) -> str Convert text to title case (each word capitalized). Args: text: Input string Returns: Title case string Example: >>> to_title_case("hello world") 'Hello World'