Package: kaviyesutil
A standard kaviyes utility for python thats ideal for small projects and prototypes.InstallationYou can install and update usingpippip install kaviyesutil -UDocumentationFUNCTIONSFUNCTIONDESCRIPTIONprintcQuick and easy way to customize your textcountdownA verbose countdown timercloakedLinkcreate a visually appealing links for terminalsresourcePathGet absolute path to resource, works for dev and for PyInstallergenerateCustomIDGenerate own custom ID or use premade formatspromptPrompts user with desired messagecurrentTimeA simplified version of datetime functiondelaya delay function / This function is from time.sleep()decodeHexDecodes Hex into StringencodeHexEncodes String into Hexterminala quick access to terminalcterClears the contents of the terminal screenEXAMPLESprintcprintc('Hello Kaviyes!', 'red', 'magenta')
print(printc('Hello Kaviyes!', 'red', 'magenta', True))
    
printc('Hello Kaviyes!', 'red', 'magenta', 'bold', 'italic')
print(printc('Hello Kaviyes!', 'red', 'magenta', 'bold', 'italic', ReturnText='True'))countdowncountdown(10,'Timer: ' ,'Timer complete!')cloakedLinkcloakedLink('visit kaviyes on github!', 'https://github.com/Kaviyes', True)
print(cloakedLink('visit kaviyes on github!', 'https://github.com/Kaviyes'))
cloakedLink(printc('Visit Kaviyes on Github!', 'cyan', 'default', 'underlined', ReturnText=True), 'https://github.com/Kaviyes', Print=True)resourcePathresourcePath("image.png") # For PyInstallergenerateCustomIDgenerateCustomID('STD08') # 08 | 16 | 32

generateCustomID(Length="8", Type="standard") # does not include special characters
generateCustomID(Length="8", Type="all") # includes special characters
generateCustomID(Length="8", Type "digits")

generateCustomID('AA00aa$$') # custom one
# A = Uppercase letter A-Z
# a = Lowercase letter a-z
# $ = Custom Characters
# 0 = Digits 0-9

# NOTE: Using "Length" will override "Format"prompt#default value / Waits until the user press enter
prompt()

#Pause until user press any key
prompt(Anykey=True)

#Add Desired message / Waits until the user press enter
prompt('Hello Kaviyes!')currentTime#Using own format
currentTime('%H:%M:%S')

#Printing the results
time = currentTime('%H:%M:%S')
print(time)
or
print(currentTime('%H:%M:%S'))

#quick preset
currentTime(Format_24H=True) # its true by defaultdelaydelay(1) # delays for 1 second

sleep(.25) # delays for 250 milisecondsdecodeHexx = 68656c6c6f20746865726521
decodeHex(x, reversed = True)

decodeHex(x, reversed = False)encodeHexx = "hello there!"
encodeHex(x, reversed = True)

encodeHex(x, reversed = False)terminalterminal('echo Hello Kaviyes!') #Outputs Hello Kaviyes! to terminalctercter() # will clear the terminal
cter("terminal cleared")NotesKaviyesutil version2.0.0is no longer compatible with older versions.This is a completely revamped version, and it is not compatible with older versions due to function changes. It is better to download the old version and use it locally if you want to update to the latest version.Changes in the new version2.0.0-2.0.1:2.0.0RenamedFancyTexttoprintc.RemovedConvertUnitsandTodayfunctions.Improved function names.General bug fixes and improvements.2.0.1Fixed print bug oncloakedLinkfunction.Added feature oncterto leave message after the terminal is cleared.Compatibilities:Python version:3.10minimumIDE:Visual Studio Code (fully compatible)PyCharm & Visual Studio (function description is displayed in raw but still readable)Not tested on other IDEs yetOS:Android (Termux)Windows (8.1 and later)Linux (Debian and others)macOS (10.15 Catalina and later)Links:Found a problemcreate an issuehere!Create apull requesthere!