Skip to main content

Consistent API for string workloads

Project description

StrX

Consistent API for string workloads


strx features

  • Consistent API with str_ prefix functions

  • Strict type checking: All functions use precise type hints to ensure safety and early error detection.

Installation

Install package from PyPI distribution strx

pip install strx

Usage

All functions in stringr start with str_* and take a string as the first argument:

import strx

# Get
strx.str_length
strx.str_sub
strx.str_to_upper
strx.str_to_lower
strx.str_trim
strx.str_reverse
strx.str_detect
strx.str_snakcase
strx.str_remove
strx.str_replace
strx.str_replace_all
strx.str_pad
strx.str_split
strx.str_count
strx.str_which
strx.str_sort
strx.str_unique
strx.str_dup
strx.str_c
strx.str_extract
strx.str_extract_all
strx.str_to_number
strx.str_to_number

Documentation:

Documentation document at folder docs/

Code Storage:

Repository: GitHub > Repository:strx

Releases:

Releases: GitHub > Repository:strx > Releases

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

strx-0.2.12.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

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

strx-0.2.12-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file strx-0.2.12.tar.gz.

File metadata

  • Download URL: strx-0.2.12.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for strx-0.2.12.tar.gz
Algorithm Hash digest
SHA256 b3525f73a162aed36782a510a0fa3acc433cbf3d4867278528e325ac02431823
MD5 b103d61c451105c1e394bc5f2788809f
BLAKE2b-256 f17fa76469213a3089a74732ec935a47dbb1a5f6c86fd84c0fa662c0d1b5bb47

See more details on using hashes here.

Provenance

The following attestation bundles were made for strx-0.2.12.tar.gz:

Publisher: publish.yml on thuyetbao/strx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file strx-0.2.12-py3-none-any.whl.

File metadata

  • Download URL: strx-0.2.12-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for strx-0.2.12-py3-none-any.whl
Algorithm Hash digest
SHA256 f2e6ffee5c192a0ac478f8d1f72eb0c176e3913e7eddee12849134ea3c131812
MD5 d06bdc13af71b32e9cd56f18f79e5316
BLAKE2b-256 a7f62b4c87f37177f06f0a87d03de539d0635ce267033a0aa659d425f91a54c7

See more details on using hashes here.

Provenance

The following attestation bundles were made for strx-0.2.12-py3-none-any.whl:

Publisher: publish.yml on thuyetbao/strx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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