Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

casescan

Ultra Simple Python Library to case text differently for vowels and consonants, and analyze the amount of those.

asciicast

Installation

Install directly from GitHub:

pip install git+https://github.com/gioyous-it/casescan.git

Usage

import casescan

print(casescan.apply("Hello World!")) print(casescan.analyze("Hello World!"))

apply()

Transforms text by uppercasing vowels and lowercasing everything else.

Example:

casescan.apply("Hello WORLD!")

Returns:

hEllO wOrld!

analyze()

Analyzes a string and returns:

(vowels, consonants, other_characters)

Example:

casescan.analyze("Hello!")

Returns:

(2, 3, 1)

LICENSE

CaseScan is released under the CC0 1.0 Universal public domain dedication.

About

Ultra Simple Python Library to case text differently for vowels and consonants, and analyze the amount of those.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages