Skip to main content

A collection of useful string manipulation and validation functions

Project description

String Utilities

A collection of useful string manipulation and validation functions.

Installation

pip install string-utils-package

Usage

from string_utils import reverse_string, is_palindrome, slugify

# Reverse a string
print(reverse_string("hello"))  # Output: "olleh"

# Check if palindrome
print(is_palindrome("radar"))   # Output: True

# Create slug
print(slugify("Hello World!"))  # Output: "hello-world"

Available Functions

Core Functions

  • reverse_string(text): Reverse a string
  • capitalize_words(text): Capitalize each word
  • slugify(text): Convert to URL-friendly slug

Validation Functions

  • is_palindrome(text): Check if string is palindrome
  • is_strong_password(password): Validate password strength

License

MIT License - see LICENSE file for details.

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

string_utils_package-0.1.1.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

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

string_utils_package-0.1.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file string_utils_package-0.1.1.tar.gz.

File metadata

  • Download URL: string_utils_package-0.1.1.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for string_utils_package-0.1.1.tar.gz
Algorithm Hash digest
SHA256 41d94d01ddeef763158a09363a6077beaf93efc4a66c9ffeb805d93e9951d130
MD5 74286553ed6d5ce2981cd73a87edd7e2
BLAKE2b-256 5b77101b28dc7de05b1be39b0843e09702a0e862afebef3a95f8ebdca037dab2

See more details on using hashes here.

File details

Details for the file string_utils_package-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for string_utils_package-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3a1a5d13c4905cf2a52c00d130c176d1e90d1a178238b5d84fbe437305a22a69
MD5 0241db0d201f97a0ac821eeb2881852f
BLAKE2b-256 81817a185f2586ea9c49773bd2a181a4487820816469ee0a2035e8b8b2adc030

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