A simple text utility package providing text manipulation functions
Project description
textutilsSohaib
textutilsSohaib is a simple Python package that provides various utility functions for manipulating text. These functions help with tasks such as converting text to uppercase, reversing text, counting words, and much more.
Functions
to_uppercase(text): Converts the text to uppercase.to_lowercase(text): Converts the text to lowercase.reverse_text(text): Reverses the text.capitalize_words(text): Capitalizes the first letter of each word.remove_whitespace(text): Removes all spaces from the text.word_count(text): Returns the number of words in the text.replace_spaces_with_underscore(text): Replaces spaces with underscores.remove_punctuation(text): Removes punctuation from the text.reverse_words(text): Reverses the order of words in the text.count_vowels(text): Counts the number of vowels in the text.is_palindrome(text): Checks if the text is a palindrome.
Installation
To install textutilsSohaib, use pip:
pip install textutilsSohaib
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 textutilsSohaib-1.1.0.tar.gz.
File metadata
- Download URL: textutilsSohaib-1.1.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9444d68794122630bead523a94d8e54804a656657e091504386cb15e0d5f8535
|
|
| MD5 |
1507b1a1a610c7e5eceae606da9787fc
|
|
| BLAKE2b-256 |
87f9f99912fcfe0ccf6635ed30f2800ee4e36794b9606e2425f20a254b076ec7
|
File details
Details for the file textutilsSohaib-1.1.0-py3-none-any.whl.
File metadata
- Download URL: textutilsSohaib-1.1.0-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7998701d230058290fcbda0d2ed7743faeb6e3070139e148452c48ea05e76afd
|
|
| MD5 |
aa8854aa6d317d6c22e3700fd0fa3ffd
|
|
| BLAKE2b-256 |
3bf84033fbe07a1e7e30b5d37cf7e772cd486828cf49e3c26f54ed4bd1991b7d
|