def camel_case_to_spaces(value):
 return re_camel_case.sub(' \\1', value).strip().lower()

def camel_case_to_spaces ( value ) : return re_camel_case . sub ( ' \\1' , value ) . strip ( ) . lower ( )
splits camelcase and converts to lower case .