stabilofont

stabilofont is a package for change text color in terminal/cmd when you print some important text


Keywords
colors, color, font, background, style
License
MIT
Install
pip install stabilofont==0.1

Documentation

stabilofont

stabilofont is a python package that serves to provide color, bakcground or style to python text that runs on the terminal / cmd. When we develop a program sometimes we need to mark important information that we need, so I develop it stabilofont is to facilitate you and me in developing a program

Documentation

To use this package you must first ensure that the python you are using is version> = 3.0 because This package only works with python version >= 3.0 , after making sure that your python meets the requirements for typing below.
pip3 install stabilofont
//## recommended install v0.3 version
pip3 install stabilofont==0.3

after completing it please enter into the root folder of your project then import it as follows

//#file main.py
from stabilofontfont import *
...

to use it is quite easy, you just need to write down the name of the color you want, consider the example below

//## main.py

from stabilofont import *

kata = Blue("Awesome")
print(kata)

List Colors

  1. Black=> Black(parameters)
  2. Red => Red(parameters)
  3. Green => Green(parameters)
  4. Blue => Blue(parameters)
  5. Yellow => Yellow(parameters)
  6. Purple => Purple(parameters)
  7. Cyan => Cyan(parameters)
  8. White => White(parameters)

Besides the example above, you can also combine it with other styles such as bold
from stabilofont import *

input = str(input("Apa pendapatmu tentang bahasa python ? : "))

print(Bold(Blue(input)))

not only that stabilofont is also able to provide the desired background text for the following examples

//## main.py

from stabilofont import *

kata = bgGreen(Blue("Awesome"))
print(kata)

List Background

  1. Black => bgBlack(parameters)
  2. Red => bgRed(parameters)
  3. Green => bgGreen(parameters)
  4. Blue => bgBlue(parameters)
  5. Yellow => bgYellow(parameters)
  6. Purple => bgPurple(parameters)
  7. Cyan => bgCyan(parameters)
  8. White => bgWhite(parameters)

It's not enough just to get here stabilofont is also able to provide text with bold results, custom colors and also the following background colors for example
//## main.py

from stabilofont import *

kata = bgPurple(Bold(Blue("Awesome")))
print(kata)


available for works email : rizkimaulana348@gmail.com