A simple python library in order to print in different colorsand save them into a file optionally.
Project description
Colored Print
A lightweight python library in order to print in different colors and save them into a file optionally.
Setup
pip install python-colored-print
Usage
from colored_print import log
log.success("Hello", 123, "Bye").store()
log.info("Hello", 123, "Bye")
log.warn("Hello", 123, "Bye")
log.err("Hello", 123, "Bye").store()
log.pink("Hello", 123, "Bye")
log("Hello", 123, "Bye") # default color is white
Output
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
Built Distribution
File details
Details for the file python_colored_print-1.1.0.tar.gz
.
File metadata
- Download URL: python_colored_print-1.1.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40f23102787a9b4abace356d8cca97ff4aa745bec22a0d0741283e23108588f6 |
|
MD5 | 164a7ee45a691ef2709e108daf468c0c |
|
BLAKE2b-256 | 38f9e3ea946eaa748bb11d5a3db6368e4ea3e9ff78adb87752e63ab53651848b |
File details
Details for the file python_colored_print-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: python_colored_print-1.1.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 408b2e4c22f8c4b49feef1f6e80c10a97206408965af27b037f9614e2bfde213 |
|
MD5 | baa0315d4fc3d0ac8293b8f0b1d0e9ed |
|
BLAKE2b-256 | a02de1673e30ce42ee23df1e892a7ef3918d4a97c17e98f183469e9e42fabb42 |