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
Built Distribution
File details
Details for the file Colorthon-2.9.6.tar.gz
.
File metadata
- Download URL: Colorthon-2.9.6.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6baf13445bb277fb16f5f2076942725ee3c133f1e243e043cece8781085525a2 |
|
MD5 | 0f11531133ea8b184fb0258f1887718c |
|
BLAKE2b-256 | 6d30b3482577bb87b96066e014e65f5c0fc5dac8420ad8a6fd7f6369af5ebc19 |
File details
Details for the file Colorthon-2.9.6-py3-none-any.whl
.
File metadata
- Download URL: Colorthon-2.9.6-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9dd5ba855db72a2b052d9910aace1fedfe037a8d15cb31105e5acdf036200003 |
|
MD5 | 42b90f61e5ce20cf4f75b07681ccd595 |
|
BLAKE2b-256 | 515d17f5cc4a66dce29ee94dff25986759bc27bb890558a3c4b9845e190e7ebb |