write lines with color and tags !
Project description
console_color_writer
write lines with color tags !
Installation
pip install console_color_writer
https://pypi.org/project/dumb-menu/
https://github.com/cornradio/dumb_menu (I want stars ⭐ uwu)
Usage
example:
from console_color_writer import *
print_green('ok','some info text ...')
print_yellow('alert','some info text ...')
print_red('bad','some info text ...')
print_cyan('some info text ... only cyan')
print_magenta('some info text ... only magenta')
print_white('only white text here (super white)')
print('\nhere some tag example:')
print_green_tag('ok','some info text ...')
print_yellow_tag('alert','some info text ...')
print_red_tag('bad','some info text ...')
print('\nthat all ... color makes the world better !')
Get help
Get help ➡️ Github issue
Update log
1.0.0
first release
how to upload a new version (for me)
en: https://packaging.python.org/tutorials/packaging-projects/
zh: https://python-packaging-zh.readthedocs.io/zh_CN/latest/minimal.html#id2
make sure have twine installed first
-
change
setup.py
-
testing
py setup.py develop
-
py setup.py sdist
-
twine upload dist/*
test code :
py
from console_color_writer import *
print_green('ok','some info text ...')
print_yellow('alert','some info text ...')
print_red('bad','some info text ...')
print_cyan('some info text ... only cyan')
print_magenta('some info text ... only magenta')
print_white('only white text here (super white)')
dumb_menu.demo()
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
Close
Hashes for console_color_writer-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2a656c321bdba6349bf8d205ca22a7c07d18521654fc07db15976874f588261 |
|
MD5 | 01254a9c426fe6fc0dadce4e3271c2b0 |
|
BLAKE2b-256 | 95f81295ed0f0e65fdc1c2fe98015eacdf60a0a8e2d46647484a50361870e7a1 |