Simple ANSI terminal text coloring
Project description
Simple ANSI terminal text coloring
from chalky import sty, fg
my_style = sty.bold & fg.red
print(my_style | "This is red on black")
print(my_style.reverse | "This is black on red")
from chalky import rgb, sty, hex
print(rgb(23, 255, 122) & sty.italic | "Truecolor as well")
print(sty.bold & hex("#ff02ff") | "More and more colors")
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
chalky-0.2.0.tar.gz
(16.6 kB
view details)
Built Distribution
chalky-0.2.0-py3-none-any.whl
(23.8 kB
view details)
File details
Details for the file chalky-0.2.0.tar.gz
.
File metadata
- Download URL: chalky-0.2.0.tar.gz
- Upload date:
- Size: 16.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.6 Darwin/18.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d615da7d1cd94414a2d73ada5f59bac70cc7250d6a1425dc8f056d3615da8864 |
|
MD5 | 74d13518abee59b6ceda90dca3f7aef4 |
|
BLAKE2b-256 | efd3df4ff6b303c323202c84bae7a800b4a1ef979a66420bd886b46066a33b83 |
File details
Details for the file chalky-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: chalky-0.2.0-py3-none-any.whl
- Upload date:
- Size: 23.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.6 Darwin/18.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3356deab680bed313070586ec958cbf98fd10f3bcad4d19196ff4e491212573c |
|
MD5 | 5fa6fd5084d9f013fe01b96d0232cc0a |
|
BLAKE2b-256 | a894c6bc8bb54c8a5dbc70d4cc0713f35fd706a74cc6b060e1a109e280ff9992 |