Skip to main content

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']

Downloads Supported Versions Contributors

Installation

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

GitHub license

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.2.1.tar.gz (1.7 kB view hashes)

Uploaded Source

Built Distribution

dotsplit-0.2.1-py3-none-any.whl (2.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page