Skip to main content

Colorthon Best and Fast Package For Generating Color For Text Color and Back Color Text Format

Project description

Colorthon

Colorthon is a powerful Python package that provides a simple and intuitive way to work with colors in the terminal.

Features

  • Easy-to-use syntax for applying colors and background colors to text in the terminal.
  • Supports a wide range of colors and background colors.
  • Lightweight and efficient implementation.

Installation

You can install Colorthon using pip:

pip install colorthon
# linux 
pip3 install colorthon

Usage

To start using Colorthon, import the Colors and Back modules:

from colorthon import Colors, Back

Now, you can use the color and background color codes provided by Colorthon. For example, you can define the following color variables:

from colorthon import Colors, Back

# text color
red = Colors.RED
green = Colors.GREEN
blue = Colors.BLUE
black = Colors.BLACK
magenta = Colors.MAGENTA
yellow = Colors.YELLOW
cyan = Colors.CYAN
white = Colors.WHITE
# Text background Color (back text)
on_red = Back.RED
on_green = Back.GREEN
on_blue = Back.BLUE
on_yellow = Back.YELLOW
on_white = Back.WHITE
on_magenta = Back.MAGENTA
on_cyan = Back.CYAN
on_black = Back.BLACK
# Reset Format
reset = Colors.RESET

These variables allow you to easily apply colors and background colors to your text. Here's an example usage:

print(f"{red}This text is red.{reset}")
print(f"{green}This text is green.{reset}")
print(f"{on_red}This text has a red background.{reset}")
print(f"{on_green}This text has a green background.{reset}")

Contributing

Contributions are welcome! If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request. Make sure to read our Contribution Guidelines before getting started.

License

This project is licensed under the MIT License. Contact

If you have any questions or need support, feel free to reach out to us at pymmdrza@gmail.com We'd be happy to assist you!

other package :

Blockthon - Generate Easy and Fast Private Key & Mnemonic and Decimal , Binary & seed (Bytes) , Compress and UnCompress address Bitcoin , Ethereum , TRON, Dogecoin, Litecoin, zcash, Digibyte, Dash, Qtum, Ravencoin, BitcoinGold

programmer and Owner Website : Mmdrza.Com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Colorthon-2.9.6.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

Colorthon-2.9.6-py3-none-any.whl (2.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page