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 stringcapitalize_words(text): Capitalize each wordslugify(text): Convert to URL-friendly slug
Validation Functions
is_palindrome(text): Check if string is palindromeis_strong_password(password): Validate password strength
License
MIT License - see LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41d94d01ddeef763158a09363a6077beaf93efc4a66c9ffeb805d93e9951d130
|
|
| MD5 |
74286553ed6d5ce2981cd73a87edd7e2
|
|
| BLAKE2b-256 |
5b77101b28dc7de05b1be39b0843e09702a0e862afebef3a95f8ebdca037dab2
|
File details
Details for the file string_utils_package-0.1.1-py3-none-any.whl.
File metadata
- Download URL: string_utils_package-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a1a5d13c4905cf2a52c00d130c176d1e90d1a178238b5d84fbe437305a22a69
|
|
| MD5 |
0241db0d201f97a0ac821eeb2881852f
|
|
| BLAKE2b-256 |
81817a185f2586ea9c49773bd2a181a4487820816469ee0a2035e8b8b2adc030
|