A module for printing colored text to the terminal
Project description
Basic colors
Installation
You can install the module using pip:
pip install basic-colors
Usage
Module basic_colors provides you with a set of variables that you can use to color your text in terminal.
Colored text
from basic_colors import *
print(Blue + "Ahoj" + Reset)
Logging like messages
from basic_colors import print_warning, print_error, verbose_print
print_warning("This is a warning message.")
print_error("This is an error message.")
set_verbose(True)
verbose_print("This is a verbose message.")
Sources:
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
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 basic_colors-0.1.0-py3-none-any.whl.
File metadata
- Download URL: basic_colors-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e4369b9a254bd64310e31da5cf4248d90bb099bf7cd48dd2732408c146abfce
|
|
| MD5 |
e094855c2bad49f4016d5667e9ae9d3e
|
|
| BLAKE2b-256 |
fed787c416d06feb656215b6aee7f8d3be90dae662756d2e4f40b3a78da68c30
|