def camel_case_split(identifier):
    matches = finditer('(?<=[a-z])(?=[A-Z])|(?<=[A-Z])(?=[A-Z][a-z])',
        identifier)
split_string = []
previous = 0
for match in matches:
    split_string.append(identifier[previous:match.start()])
previous = match.start()
split_string.append(identifier[previous:])
return split_string
Как разделить CamelCase на python