rwskit.strings_ =============== .. py:module:: rwskit.strings_ .. autoapi-nested-parse:: String utilities. Functions --------- .. autoapisummary:: rwskit.strings_.camel_to_snake_case Module Contents --------------- .. py:function:: camel_to_snake_case(s: str) -> str Convert the string from CamelCase to snake_case. This method uses a simple regular expression to convert a string in CamelCase to one in snake_case. Strings with 2 or fewer are simply lowercased and returned. :param s: The string to convert. :type s: str :returns: The string in snake case. :rtype: str