camel_case_split

lib.utils.camel_case_split(identifier: str) list[str]

Split a camelCase string into a list of its individual parts

Parameters:

identifier (str) – The camelCase text to be split

Return type:

A list of the individual parts of the camelCase string.

References

https://stackoverflow.com/questions/29916065

Example

>>> from lib.utils import camel_case_split
>>> camel_case_split('camelCaseExample')
['camel', 'Case', 'Example']