Output & input in color on terminal.
Project description
About tamcolors
tamcolors lets you change terminal colors for Mac, Linux and Windows.
Color Table:
Colors
Way1
Way2
Default
-1
None
Black
0
“Black”
Blue
1
“Blue”
Green
2
“Green”
Aqua
3
“Aqua”
Red
4
“Red”
Purple
5
“Purple”
Yellow
6
“Yellow”
White
7
“White”
Gray
8
“Gray”
Light Blue
9
“Light Blue”
Light Green
10
“Light Green”
Light Aqua
11
“Light Aqua”
Light Red
12
“Light Red”
Light Purple
13
“Light Purple”
Light Yellow
14
“Light Yellow”
Bright White
15
“Bright White”
printc
from tamcolors import*
#printc(*value, sameColor = False, sep = ' ', end = '\n', bypassCTT = False)
printc("I'm Thinking 101", (11, -1))
printc("French Bread 404", (4, None), "Sing", ("Light Aqua", "red"))
printc("C","H","4","4","D",(11,15), sameColor = True)
inputc
from tamcolors import*
#inputc(value, color, bypassCTT = False)
inputc(">>> ", (3, 8))
textBuffer
from tamcolors import*
title = textBuffer('#', (4, 7), 110, 28)
title.place(1, 1, 'tamcolors', background = 9)
title.printt()
#textBuffer(self, value, color, w, h)
#new(self, value, color, w, h)
#fill(self, value = "NC", foreground = "NC", background = "NC")
#place(self, x, y, value = "NC", foreground = "NC", background = "NC")
#printt(self)
#drawOn(self, buffer2, x, y)
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
tamcolors-0.2.0.tar.gz
(1.6 MB
view details)
Built Distribution
File details
Details for the file tamcolors-0.2.0.tar.gz
.
File metadata
- Download URL: tamcolors-0.2.0.tar.gz
- Upload date:
- Size: 1.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b0bb9a1914a38917d5b2f9e7b97e719a0b00694229f7d6b723f8d3a90636408 |
|
MD5 | 91610bc17bea3c80880e7a66118500b7 |
|
BLAKE2b-256 | baf29b5bbcdda43f9cae581ecf7dafd1f5a024dd54af46c86d1f58435366dfc2 |
File details
Details for the file tamcolors-0.2.0-cp36-cp36m-any.whl
.
File metadata
- Download URL: tamcolors-0.2.0-cp36-cp36m-any.whl
- Upload date:
- Size: 32.6 kB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a522e2b17b616adda223df9d8819a99a65cba2f4e35424a89812967560a43d75 |
|
MD5 | e2a6d63195837a5d94cf84365a8122cd |
|
BLAKE2b-256 | 558225413b2128992b1caa19154bf307d00e6734e0afce49c2390c8783cbe9fe |