Camel case aware word splitting.
Just grab the package from PyPI:
pip install camelsplit
from camelsplit import camelsplit
# 'CamelCase' -> ['Camel', 'Case']
camelsplit('CamelCase')
# 'HTTPRequest' -> ['HTTP', 'Request']
camelsplit('HTTPRequest')
# 'IEEE 802.11ac' -> ['IEEE', ' 802.11', 'ac']
camelsplit('IEEE 802.11ac')
MIT © 2018 Florian Pigorsch & contributors