Color your output to terminal
Project description
ChromaTerm
ChromaTerm is a Python module and script used for coloring the output to terminals.
Installation
pip3 install chromaterm
Command Line Script
You can pipe a program into ct
to have its output colored according to
user-configurable rules. For instance, ssh | ct
:
Check out the script's documentation for more details on usage.
API
You can color your module's output with ChromaTerm's API. Here's a simple example:
from chromaterm import Color
color = Color('bold')
# The string is bold-styled
color.print('Hello World!')
Have a look at the introduction for the API.
Help
If you've got any questions or suggestions, please open up an issue (always appreciated).
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
chromaterm-0.6.3.tar.gz
(16.4 kB
view hashes)
Built Distribution
chromaterm-0.6.3-py3-none-any.whl
(17.7 kB
view hashes)
Close
Hashes for chromaterm-0.6.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbab33e7298706a94081169b06347a771e9c8a1085f16b1c86472d69a9aba4c0 |
|
MD5 | 45f0c8af7ff244de90e0bdbf7556d74b |
|
BLAKE2b-256 | d9df7ae7d690cd9b7ad0c85a0740a542da0f9ccaa63cfc2005360f6fc3ed690c |