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()
#Print one character at a time with 1 second between each character
slowprint("Hello", 1)
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.9.tar.gz
(3.0 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.9.tar.gz.
File metadata
- Download URL: TermiText-0.1.9.tar.gz
- Upload date:
- Size: 3.0 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 |
ff35f842568abfa38e5fb0aa78b7329c8eaa61e9c4490d1a01e05bd6b6b97630
|
|
| MD5 |
5e934a7b9c99985738c0a8cb8989e302
|
|
| BLAKE2b-256 |
ff0d6dc83aa7349c167b8ee3ba4f214c0c09716d504a5c60fe5b7f40bc60ed0a
|
File details
Details for the file TermiText-0.1.9-py3-none-any.whl.
File metadata
- Download URL: TermiText-0.1.9-py3-none-any.whl
- Upload date:
- Size: 3.1 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 |
3eceb11f9086d04c6000aac013b01857ff1274149bd3f61b3a36a573b2e4ade2
|
|
| MD5 |
7902584191655a4f349548a4118574a5
|
|
| BLAKE2b-256 |
647d153b9fea62e2cb0d186a56fa28a26ae92be1ab9532787929d4b7dc505e57
|