Skip to content

FelipeSavazii/Colorizon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Colorizon

Discord server invite PyPI version info PyPI supported Python versions

An easy to use library for putting colors into the terminal written in Python.

Installing

Python 3.8 or higher is required

# Linux/macOS
python3 -m pip install -U colorizon

# Windows
py -3 -m pip install -U colorizon

Or install from GitHub:

$ git clone https://github.com/FelipeSavazii/Colorizon
$ cd Colorizon
$ python3 -m pip install -U

Quick Example

from colorizon.backgrounds import Backgrounds
from colorizon.colors import Colors
from colorizon.formattings import Formattings

print(Backgrounds().black('Hello, World!'))
print(Colors().pink('I love you, Ariana Grande.'))
print(Formattings().bold('Excuse me, i love you!'))

Documentation

Attributes for Backgrounds():

Backgrounds()
.black(text)
.red(text)
.green(text)
.orange(text)
.blue(text)
.purple(text)
.cyan(text)
.lightcyan(text)

Attributes for Colors():

Colors()
.black(text)
.red(text)
.green(text)
.orange(text)
.blue(text)
.purple(text)
.cyan(text)
.lightgray(text)
.darkgray(text)
.lightred(text)
.lightgreen(text)
.yellow(text)
.lightblue(text)
.pink(text)
.lightcyan(text)

Attributes for Formattings():

Formattings()
.normal()
.bold(text)
.disable(text)
.underline(text)
.reverse(text)
.strikethrough(text)
.invisible(text)

Links

About

An easy to use library for putting colors into the terminal written in Python.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages