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
Metadata
Release files for Colorthon 2.9.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Colorthon-2.9.6.tar.gz | 3.0 kB | Without provenance | Details for Colorthon-2.9.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Colorthon-2.9.6-py3-none-any.whl | Python 3 | none | any | Details for Colorthon-2.9.6-py3-none-any.whl |
Total release size: 5.9 kB
Release files / Colorthon-2.9.6.tar.gz
| Download URL | Colorthon-2.9.6.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6baf13445bb277fb16f5f2076942725ee3c133f1e243e043cece8781085525a2
|
|
BLAKE2b-256 checksum How to use checksums |
6d30b3482577bb87b96066e014e65f5c0fc5dac8420ad8a6fd7f6369af5ebc19
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.3
|
Release files / Colorthon-2.9.6-py3-none-any.whl
| Download URL | Colorthon-2.9.6-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9dd5ba855db72a2b052d9910aace1fedfe037a8d15cb31105e5acdf036200003
|
|
BLAKE2b-256 checksum How to use checksums |
515d17f5cc4a66dce29ee94dff25986759bc27bb890558a3c4b9845e190e7ebb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.3
|
Security for Colorthon 2.9.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.