A small library to make it easy to use colors in Python
Project description
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
Documentation: Coming soon
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
colorizon-0.0.3.tar.gz
(3.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file colorizon-0.0.3.tar.gz.
File metadata
- Download URL: colorizon-0.0.3.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
999c35ddfd44441cd06583121ba211a3a306e0267624203b582a78d9cd19ba9a
|
|
| MD5 |
1f3b537e40c4f2a118303d81ea0054fc
|
|
| BLAKE2b-256 |
84b28597e34823f7f73bb8cf3ca8e47bcf379a3377716e001e21375b5d83609b
|
File details
Details for the file colorizon-0.0.3-py3-none-any.whl.
File metadata
- Download URL: colorizon-0.0.3-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2639917143d657c383d2335c7d19194814e75523fabb05ca8eca6484b7c758cb
|
|
| MD5 |
5728c39e46506df981c803d5f1e81fcc
|
|
| BLAKE2b-256 |
3bd52bcf3a6c4ee8850651502c4c3c87dddfb8829e7fec43dc21970a2689f5f5
|