Skip to main content

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)

Metadata

Release files for split-paren 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for split-paren 0.0.3
File Size Uploaded
split_paren-0.0.3.tar.gz 3.0 kB Details

Release files / split_paren-0.0.3.tar.gz

Download URL split_paren-0.0.3.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6a98540f867cf820b2824d29e26a209e1a1930269971b8096a2c4ca6ad821cea
BLAKE2b-256 checksum
How to use checksums
e0894184437cf177a5cfa33fdc18c4702424925ba6a21ce90819f50bdb2ad1fd
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file

0.0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page