Skip to main content

Trivial split for strings with escaped characters and quotes

Project description

tssplit - Trivial split for strings with escaped characters and quotes

Installation

pip install tssplit

Usage

from tssplit import tssplit

tssplit('ooooo/ooo|/ooo"XXX/XXX"ooo/"ooo/ooooo',  quote='"', delimiter='/', escape='|')
['ooooo', 'ooo/oooXXX/XXXooo', 'ooo/ooooo']

Changelog

  • 2020.03.28 v1.0 Initial release
  • 2020.03.28 v1.0.1 Many quick fixes to make all things work in PyPI
  • 2020.03.29 v1.0.2 Minor fixes, Readme update, Long description provided

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

tssplit-1.0.2.tar.gz (1.9 kB view hashes)

Uploaded Source

Built Distribution

tssplit-1.0.2-py2.py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 2 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