Skip to main content

TBA

Project description

split_paren

… code-block:: python

def paren_multisplit(subject, separator=”,”, lparen=”([{’"”, rparen=[“)”, “]”, “}”, “’”, ‘”’], strip=None, escape=escape_backslash):

Using split_paren

import split_paren

# example usage

>>> paren_multisplit('ordinals="1,2,3",4,5', ',', '\'"', '\'"')
['ordinals="1,2,3"', '4', '5']

Changelog

0.0.1: initial release (2021-09-19)

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

split_paren-0.0.3.tar.gz (3.0 kB view details)

Uploaded Source

File details

Details for the file split_paren-0.0.3.tar.gz.

File metadata

  • Download URL: split_paren-0.0.3.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.9

File hashes

Hashes for split_paren-0.0.3.tar.gz
Algorithm Hash digest
SHA256 6a98540f867cf820b2824d29e26a209e1a1930269971b8096a2c4ca6ad821cea
MD5 93614094bdf4ef9bf9496112a722fd86
BLAKE2b-256 e0894184437cf177a5cfa33fdc18c4702424925ba6a21ce90819f50bdb2ad1fd

See more details on using hashes here.

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