Skip to main content

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


Release history Release notifications

This version
History Node

0.2.0

History Node

0.1.21

History Node

0.1.20

History Node

0.1.4

History Node

0.1.3

History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
tamcolors-0.2.0-cp36-cp36m-any.whl (32.6 kB) Copy SHA256 hash SHA256 Wheel cp36 Feb 1, 2018
tamcolors-0.2.0.tar.gz (1.6 MB) Copy SHA256 hash SHA256 Source None Feb 1, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page