This is Python Code for Operations on Strings to find Vowels, Consonants, Spaces, Digits and Special Characters
Project description
String Character Counter
This is a simple Python package named smfun that analyzes a string and counts the number of vowels consonants digits spaces and special characters The results are displayed in a clean and organized format using pandas
Features
Counts Vowels Detects and counts all vowels regardless of case Counts Consonants Identifies and counts all consonants Counts Digits Tallies all numeric characters from zero to nine Counts Spaces Counts all whitespace characters Counts Special Characters Flags characters that are not letters digits or spaces
Prerequisites
Python version three point six or higher is required The pandas library will be installed automatically with the package
Installation and Usage
Install the package using pip
pip install smfun
Import the function in your Python code
from smfun import charFun
Run the function and enter a string when prompted
Enter the String Hello World 123
Example Output
Vowels 3 Consonants 7 Digits 3 Spaces 2 Special Characters 1
License
This package is released under the MIT License
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 smfun-0.0.4.tar.gz.
File metadata
- Download URL: smfun-0.0.4.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27c5b92bad389f7e8059679ef84331acabd0d6d6403a1203db29f54aece71ecf
|
|
| MD5 |
57cd6d9cd1743894b98eab311a7ce2a2
|
|
| BLAKE2b-256 |
48222b39f0b4944eab477230e9de11bc9b17b65793c21178d98f2a7229a197ca
|
File details
Details for the file smfun-0.0.4-py3-none-any.whl.
File metadata
- Download URL: smfun-0.0.4-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3922bf7906d15d0f00888b80dcec2586b577ef21a93f8c5fe6d111c5ab4c5e9
|
|
| MD5 |
c838c8e9817a1cea5ec7ac014ebb6964
|
|
| BLAKE2b-256 |
6c7c831e8591a0e279c23e433e6d0cd09cba252084b649b503530d2881eea256
|