an enhanced version of the print function
Project description
一个颜色输出的库,print的增强版!
使用colorama库实现
效果如下:
下面时可以调用的所有函数
colorful_print
yellow_print
red_print
green_print
blue_print
magenta_print
cyan_print
white_print
black_print
bright_red_print
bright_green_print
bright_blue_print
bright_yellow_print
bright_magenta_print
bright_cyan_print
bright_white_print
dim_red_print
dim_green_print
dim_blue_print
dim_yellow_print
dim_magenta_print
dim_cyan_print
dim_white_print
danger
success
info
warning
upload log
1.5 加上类型提示,并重新调整文件结构,目前太多重复代码,下一步加上设计模式,让代码更优雅
1.4 打印函数修改,从console直接使用rich.print,支持flush
1.3 修复1.2 bug 和 warning bug
1.2 修改"info"和"warning"的颜色,在开发中debug更方便
1.1 调整目录结构
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file colorful_prints-1.5.tar.gz.
File metadata
- Download URL: colorful_prints-1.5.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9fe731ad892841540dbf0797d3f56ebbdd594ae3ba1b3034be461c835f92dcba
|
|
| MD5 |
83459d19a70e686c05356b456fea261c
|
|
| BLAKE2b-256 |
09e0648aee13c44c3ed825baa61d19ae0829825535d252416fd14a5999ec73df
|