Transform#
This section of this documentation contains information on the classes of Transform.
- hashily.transform.altCase(text: str)#
Returns an Alternate Casing of the text.
- hashily.transform.firstLetter(text: str)#
Returns the first letter of every word in the text.
- hashily.transform.password(length: int = 16)#
Creates a secure password of the specified length.
- Parameters
length (int) โ The length of the password should be.
- Raises
ValueError โ If the password is less than 8 or more than 16 characters long.
- Returns
password โ The Password that was generated
- Return type
str
- hashily.transform.pigLatin(text: str)#
Returns the Pig Latin translation of the text.
- hashily.transform.reverse(text: str)#
Returns the text in reverse order.
- hashily.transform.titleize(text: str)#
Capitalizes all the words in the text.
- hashily.transform.token()#
Generates a Random hex token.
- Returns
hex_token โ The token that was created.
- Return type
str