Package: inksplash
inksplashinksplashis a Python package that provides a versatile set of utilities for colorizing and styling text output in terminal environments.Table of ContentsinksplashTable of ContentsInstallationUsageFeaturesAvailable styles and functions1. Basics2. Text Styles3. Bright Text Colors4. Background ColorBright background stylesContributingLicenseInstallationYou can installinksplashvia pip:pipinstallinksplashUsageFirst, you need to import thechameleonmodule from theinksplashpackage:frominksplashimportchameleonprint(chameleon.bg_bright_green(chameleon.italic(chameleon.black("Hello world"))))Output:This example demonstrates how to usechameleonfunctions frominksplashto colorize and style text output. In this case, it applies a bright green background, italic style, and black text color to the string "Hello world".FeaturesEasy-to-use API for applying various text styles and colors.Supports a wide range of styling options, including bold, italic, underline, foreground and background colors, etc.Compatible with ANSI terminal escape sequences, ensuring compatibility across different terminal emulators and platforms.Available styles and functionsThe following are the functions that are available for text styles and colors.1. BasicsblueApplies a blue color to the text.Parameters:value(str): The input text.Returns:str: The input text with blue color.greenApplies a green color to the text.Parameters:value(str): The input text.Returns:str: The input text with green color.yellowApplies a yellow color to the text.Parameters:value(str): The input text.Returns:str: The input text with yellow color.whiteApplies a white color to the text.Parameters:value(str): The input text.Returns:str: The input text with white color.purpleApplies a purple color to the text.Parameters:value(str): The input text.Returns:str: The input text with purple color.redApplies a red color to the text.Parameters:value(str): The input text.Returns:str: The input text with red color.cyanApplies a cyan color to the text.Parameters:value(str): The input text.Returns:str: The input text with cyan color.blackApplies a black color to the text.Parameters:value(str): The input text.Returns:str: The input text with black color.2. Text StylesboldApplies bold style to the text.Parameters:value(str): The input text.Returns:str: The input text with bold style.underlineApplies underline style to the text.Parameters:value(str): The input text.Returns:str: The input text with underline style.italicApplies italic style to the text.Parameters:value(str): The input text.Returns:str: The input text with italic style.strikethroughApplies strikethrough style to the text.Parameters:value(str): The input text.Returns:str: The input text with strikethrough style.3. Bright Text Colorsbright_blackApplies a bright black color to the text.Parameters:value(str): The input text.Returns:str: The input text with bright black color.bright_redApplies a bright red color to the text.Parameters:value(str): The input text.Returns:str: The input text with bright red color.bright_greenApplies a bright green color to the text.Parameters:value(str): The input text.Returns:str: The input text with bright green color.bright_yellowApplies a bright yellow color to the text.Parameters:value(str): The input text.Returns:str: The input text with bright yellow color.bright_blueApplies a bright blue color to the text.Parameters:value(str): The input text.Returns:str: The input text with bright blue color.bright_purpleApplies a bright purple color to the text.Parameters:value(str): The input text.Returns:str: The input text with bright purple color.bright_cyanApplies a bright cyan color to the text.Parameters:value(str): The input text.Returns:str: The input text with bright cyan color.bright_whiteApplies a bright white color to the text.Parameters:value(str): The input text.Returns:str: The input text with bright white color.4. Background Colorbg_blackApplies a black background color to the text.Parameters:value(str): The input text.Returns:str: The input text with black background color.bg_redApplies a red background color to the text.Parameters:value(str): The input text.Returns:str: The input text with red background color.bg_greenApplies a green background color to the text.Parameters:value(str): The input text.Returns:str: The input text with green background color.bg_yellowApplies a yellow background color to the text.Parameters:value(str): The input text.Returns:str: The input text with yellow background color.bg_blueApplies a blue background color to the text.Parameters:value(str): The input text.Returns:str: The input text with a blue background color.bg_purpleApplies a purple background color to the text.Parameters:value(str): The input text.Returns:str: The input text with a purple background color.bg_cyanApplies a cyan background color to the text.Parameters:value(str): The input text.Returns:str: The input text with a cyan background color.bg_whiteApplies a white background color to the text.Parameters:value(str): The input text.Returns:str: The input text with a white background color.Bright background stylesbg_bright_blackApplies a bright black background color to the text.Parameters:value(str): The input text.Returns:str: The input text with a bright black background color.bg_bright_redApplies a bright red background color to the text.Parameters:value(str): The input text.Returns:str: The input text with a bright red background color.bg_bright_greenApplies a bright green background color to the text.Parameters:value(str): The input text.Returns:str: The input text with a bright green background color.bg_bright_yellowApplies a bright yellow background color to the text.Parameters:value(str): The input text.Returns:str: The input text with a bright yellow background color.bg_bright_blueApplies a bright blue background color to the text.Parameters:value(str): The input text.Returns:str: The input text with a bright blue background color.bg_bright_purpleApplies a bright purple background color to the text.Parameters:value(str): The input text.Returns:str: The input text with a bright purple background color.bg_bright_cyanApplies a bright cyan background color to the text.Parameters:value(str): The input text.Returns:str: The input text with a bright cyan background color.bg_bright_whiteApplies a bright white background color to the text.Parameters:value(str): The input text.Returns:str: The input text with a bright white background color.ContributingContributions toinksplashare welcome! Feel free to submit bug reports, feature requests, or pull requests onGitHub.LicenseThis project is licensed under the MIT License - see theLICENSEfile for details.