Transform dot-delimited strings to an array of python strings.
Project description
dotsplit
Transform dot-delimited strings to array of python strings.
>>> import dotsplit
>>> dotsplit('group.0.section.a.seat.3')
['group', '0', 'section', 'a', 'seat', '3']
dotsplit is available on PyPI:
poetry
❯ poetry install dotsplit
pip
❯ python -m pip install dotsplit
Testing
to run the unit test suite, cd to the root directory and run:
❯ poetry install
❯ poetry run pytest
Licenses
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dotsplit-0.0.1.tar.gz
(1.6 kB
view hashes)