Color and format text in the console
Project description
TermiText
Color and format text you print in the terminal! Here is an example on how to use TermiText:
from termitext import *
#Print green text with orange highlight
print(color("Hello world!", color = "green", highlight = "orange"))
#Print on the same line
slprint("This text is all ")
slprint(" on the same line!")
#Print bold text
print(format("Hello world!", style = "bold"))
#Clear the terminal
clear()
LIST OF COLORS:
- Text: lightred, red, orange, yellow, lightgreen, green, lightcyan, cyan, lightblue, blue, pink, purple, black, darkgrey, lightgrey
- Highlight: red, orange, green, cyan, blue, purple, black, lightgrey
LIST OF FORMATS:
- Styles: bold, underline, strikethrough, invisible, reverse, disable
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
TermiText-0.1.8.tar.gz
(2.8 kB
view details)
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 TermiText-0.1.8.tar.gz.
File metadata
- Download URL: TermiText-0.1.8.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.8.10 Linux/5.4.0-1044-gcp
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1849a9e928954941f566904483924ba327efe399cb93dfecf00775560fb1ba1
|
|
| MD5 |
323065287ea0851a1945e40216f96fb3
|
|
| BLAKE2b-256 |
077f302f845096fe8413ac62d805b383d3027237e07d53aa39ca5103042eca6b
|
File details
Details for the file TermiText-0.1.8-py3-none-any.whl.
File metadata
- Download URL: TermiText-0.1.8-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.8.10 Linux/5.4.0-1044-gcp
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e80e9ce10e1b269389112c34efe20a7a7bb42a2580c60ecfa259622d28e2d0cc
|
|
| MD5 |
5ab35fa34be9ed55c2f1d75a8fe3b245
|
|
| BLAKE2b-256 |
28d9cac101599dbd11765ddc0552f7845d51423a17d0f89a7ca6ca5b80bd232f
|