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.2.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.2-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: masked_split-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 266fbfa691125bbd126aa21d83e73bd28ecf8f60f82bece57ad7a7ec9c78e854
MD5 1af025d219ee5679f0c4fc6b2162ec65
BLAKE2b-256 b934001f230cd3ab320ac7834e81cadee2d5de2677ac2ec6f83f4d190503e575

See more details on using hashes here.

File details

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

File metadata

  • Download URL: masked_split-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b079ed4f8a65ffe2a0cbf1c501b9ed6bd73355711f962582cfad75aa46c8a25f
MD5 126f6c8d17d59985a1953e8735c472ba
BLAKE2b-256 4da5f53dfb73a657e99b268e350cdc2900ce947543f12aa0416d870b1869a1a8

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