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']
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
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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dotsplit-0.2.1.tar.gz.
File metadata
- Download URL: dotsplit-0.2.1.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.3 CPython/3.8.0 Darwin/19.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e82830f11a239d4a6b9a84ebd081510fc05caa46b774a64b141a4ec7d62c26f8
|
|
| MD5 |
008e0868b55ee57b24dea8321e4fd6f7
|
|
| BLAKE2b-256 |
d78ca6d0e13f4ca0b7be594a9c1540fcd117507dabb591be68727014080c639d
|
File details
Details for the file dotsplit-0.2.1-py3-none-any.whl.
File metadata
- Download URL: dotsplit-0.2.1-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.3 CPython/3.8.0 Darwin/19.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69aae17dc5f81a6d39c6bdf1c75486e0672049f383cf5c67513e86720a7ee30a
|
|
| MD5 |
5af588190e25012421f857654756507f
|
|
| BLAKE2b-256 |
960205842b2c415dba03551476c1386c2529b579d59ac1ea98c6b1038790b2a6
|