A simple Python module for adding colors to text in the terminal
Project description
Terminal-Colorify
A simple Python module for adding colors to text in the terminal.
Installation and Usage
Install the package
pip install Terminal-Colorify
Example Python usage
import colors
Set a simple color
print(colors.Colors.set_color("yellow", "Hello, world!"))
Set RGB color
print(colors.Colors.set_color(rgb=(255, 0, 0), text="Red Text"))
Use bold and underline styles
print(colors.Colors.set_color("blue", "Bold Blue Text", bold=True))
print(colors.Colors.set_color("green", "Underlined Green Text", underline=True))
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file Terminal-Colorify-0.1.4.tar.gz.
File metadata
- Download URL: Terminal-Colorify-0.1.4.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c03b8233a4caf76b31ab64ad45dd3eabd0a60bba690cbeffc559545af8431e2e
|
|
| MD5 |
32122115d842f48672321da1f091e652
|
|
| BLAKE2b-256 |
1bd5bb6fd062fbac49d227bc29127cd390d5cbe9dd9c00d6d6e6f8a80e2443d5
|
File details
Details for the file Terminal_Colorify-0.1.4-py3-none-any.whl.
File metadata
- Download URL: Terminal_Colorify-0.1.4-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f28ec37ab869ac288355b1a79bc300ca6892ba8b813020200cb193a1207b0402
|
|
| MD5 |
118568098b7764507f2c320490d76f8a
|
|
| BLAKE2b-256 |
242ef18b7b1502436a997d82d1905f00737e696c9f9ac0a723de38fe363decb6
|