# 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:
```shell
pip install colorthon
# linux
pip3 install colorthon
```
## Usage
To start using Colorthon, import the Colors and Back modules:
```python
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:
```python
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:
```python
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](https://mmdrza.com)
Raw data
{
"_id": null,
"home_page": "https://github.com/colorthon/colorthon",
"name": "Colorthon",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "color,colorthon,color package,text color,python color,color text,print color,back color,format color,colorthon package",
"author": "Mohammadreza Fekri",
"author_email": "Pymmdrza@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/6d/30/b3482577bb87b96066e014e65f5c0fc5dac8420ad8a6fd7f6369af5ebc19/Colorthon-2.9.6.tar.gz",
"platform": null,
"description": "# Colorthon\r\n\r\nColorthon is a powerful Python package that provides a simple and intuitive way to work with colors in the terminal.\r\n\r\n## Features\r\n\r\n- Easy-to-use syntax for applying colors and background colors to text in the terminal.\r\n- Supports a wide range of colors and background colors.\r\n- Lightweight and efficient implementation.\r\n\r\n## Installation\r\n\r\nYou can install Colorthon using pip:\r\n\r\n```shell\r\npip install colorthon\r\n# linux \r\npip3 install colorthon\r\n```\r\n\r\n## Usage\r\n\r\nTo start using Colorthon, import the Colors and Back modules:\r\n\r\n```python\r\nfrom colorthon import Colors, Back\r\n\r\n```\r\nNow, you can use the color and background color codes provided by Colorthon. For example, you can define the following color variables:\r\n\r\n```python\r\nfrom colorthon import Colors, Back\r\n\r\n# text color\r\nred = Colors.RED\r\ngreen = Colors.GREEN\r\nblue = Colors.BLUE\r\nblack = Colors.BLACK\r\nmagenta = Colors.MAGENTA\r\nyellow = Colors.YELLOW\r\ncyan = Colors.CYAN\r\nwhite = Colors.WHITE\r\n# Text background Color (back text)\r\non_red = Back.RED\r\non_green = Back.GREEN\r\non_blue = Back.BLUE\r\non_yellow = Back.YELLOW\r\non_white = Back.WHITE\r\non_magenta = Back.MAGENTA\r\non_cyan = Back.CYAN\r\non_black = Back.BLACK\r\n# Reset Format\r\nreset = Colors.RESET\r\n```\r\n\r\nThese variables allow you to easily apply colors and background colors to your text. Here's an example usage:\r\n\r\n```python\r\nprint(f\"{red}This text is red.{reset}\")\r\nprint(f\"{green}This text is green.{reset}\")\r\nprint(f\"{on_red}This text has a red background.{reset}\")\r\nprint(f\"{on_green}This text has a green background.{reset}\")\r\n\r\n```\r\n### Contributing\r\n\r\nContributions 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.\r\n\r\n## License\r\n\r\nThis project is licensed under the MIT License.\r\nContact\r\n\r\nIf 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!\r\n\r\n\r\nother package :\r\n\r\n**_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\r\n\r\nprogrammer and Owner Website : [Mmdrza.Com](https://mmdrza.com)\r\n\r\n\r\n\r\n",
"bugtrack_url": null,
"license": "",
"summary": "Colorthon Best and Fast Package For Generating Color For Text Color and Back Color Text Format",
"version": "2.9.6",
"project_urls": {
"Documentation": "https://colorthon.gitbook.io/colorthon/",
"Homepage": "https://github.com/colorthon/colorthon",
"Personal Website": "https://mmdrza.com"
},
"split_keywords": [
"color",
"colorthon",
"color package",
"text color",
"python color",
"color text",
"print color",
"back color",
"format color",
"colorthon package"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "515d17f5cc4a66dce29ee94dff25986759bc27bb890558a3c4b9845e190e7ebb",
"md5": "42b90f61e5ce20cf4f75b07681ccd595",
"sha256": "9dd5ba855db72a2b052d9910aace1fedfe037a8d15cb31105e5acdf036200003"
},
"downloads": -1,
"filename": "Colorthon-2.9.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "42b90f61e5ce20cf4f75b07681ccd595",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 2905,
"upload_time": "2023-07-16T16:02:49",
"upload_time_iso_8601": "2023-07-16T16:02:49.993254Z",
"url": "https://files.pythonhosted.org/packages/51/5d/17f5cc4a66dce29ee94dff25986759bc27bb890558a3c4b9845e190e7ebb/Colorthon-2.9.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6d30b3482577bb87b96066e014e65f5c0fc5dac8420ad8a6fd7f6369af5ebc19",
"md5": "0f11531133ea8b184fb0258f1887718c",
"sha256": "6baf13445bb277fb16f5f2076942725ee3c133f1e243e043cece8781085525a2"
},
"downloads": -1,
"filename": "Colorthon-2.9.6.tar.gz",
"has_sig": false,
"md5_digest": "0f11531133ea8b184fb0258f1887718c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 3029,
"upload_time": "2023-07-16T16:02:51",
"upload_time_iso_8601": "2023-07-16T16:02:51.443791Z",
"url": "https://files.pythonhosted.org/packages/6d/30/b3482577bb87b96066e014e65f5c0fc5dac8420ad8a6fd7f6369af5ebc19/Colorthon-2.9.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-16 16:02:51",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "colorthon",
"github_project": "colorthon",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "colorthon"
}