Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

tomasvotava/pformat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PFormat

Python TTY color formatter.

Screenshot

alt text

Installation

$ git clone https://github.com/tomasvotava/pformat.git
$ cd pformat
$ ./setup.py install

Usage

from pformat import pprint

pprint(":red:This is a red text:-: This is default text. :blue:This is blue text.")
pprint("Every pprint command ends with default reset, so this a default text.")

Available codes

Code Meaning
- reset everything
bold bold text
dim dimmed text
normal normal text
black black text
red red text
green green text
yellow yellow text
blue blue text
magenta magenta text
cyan cyan text
white white text
bblack black background
bred red background
bgreen green background
bwhite white background

About

Python TTY color formatter.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages