Skip to main content

A package for splitting texts while masking desired substrings.

Project description

Masked Split

Split text with masked substrings where delimiters would not apply.

input text: "Hello, World!" {USER.NAME} Said. What a surprise! I was happy. delimiters: ['!', '.'] masks: [['"', '"'], ['{', '}']]

Result: ['"Hello, World!" {USER.NAME} Said.', 'What a surprise!', 'I was happy.']

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

masked_split-0.0.1.tar.gz (18.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

masked_split-0.0.1-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file masked_split-0.0.1.tar.gz.

File metadata

  • Download URL: masked_split-0.0.1.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for masked_split-0.0.1.tar.gz
Algorithm Hash digest
SHA256 70650191623b1dc2421b4c1e2fd1649defbca60b1a396f1a8b2bb33ceb1488ee
MD5 9a2ed8cd5f69f7f799f16149a26c4a93
BLAKE2b-256 50f3d2660ed04e104acd010f4136b56a60373605e0bba4ddb67489173736bc9b

See more details on using hashes here.

File details

Details for the file masked_split-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: masked_split-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for masked_split-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5127a7ebaf1a24ab221ef22617aa624764ee80b5e1cdd5ac87429d96be15e682
MD5 469adff3ac0c6581d94f52cbd05bba79
BLAKE2b-256 0af5afcd642db28c44af0d9c994cdc5a29b0906ee4529f2a5ee31c2fa02751fa

See more details on using hashes here.

Supported by

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