A well maintained package to have coloured logs on the terminal. This would help isolate errors and success messages from each other by their colours.
Project description
customisedLogs v2.0.3
pip install customisedlogs --upgrade
A well maintained program to have coloured logs on the terminal. This would help isolate errors and success messages from each other just by their colours.
The package contains all colours combinations from https://davidpiesse.github.io/tailwind-md-colours
To install:
pip install customisedlogs --upgrade
pip3 install customisedlogs --upgrade
python -m pip install customisedlogs --upgrade
python3 -m pip install customisedlogs --upgrade
Using this program is as simple as:
from customisedLogs import CustomisedLogs
logger = CustomisedLogs(100)
logger.log(logger.Colors.teal, "teal")
logger.log(logger.Colors.red_100_accent, "red_100_accent")
logger.log(logger.Colors.blue_900, "blue_900")
logger.log(logger.Colors.grey_400, "grey_400")
logger.log(logger.Colors.deep_purple_700, "deep_purple_700")
logger.log(logger.Colors.black, "black")
logger.log(logger.Colors.white, "white")
And it would look like:
Future implementations:
- Let user change the default RGB values.
- Different formats. Compatible to render on HTML or any other stdout method.
This project is always open to suggestions and feature requests.
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
customisedlogs-2.0.3.tar.gz
(6.7 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 customisedlogs-2.0.3.tar.gz.
File metadata
- Download URL: customisedlogs-2.0.3.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c89ff164d2280ae34a5bfed541de99e50093f0fc4229f3049c2cd95d82d4def9
|
|
| MD5 |
e1f37332f173e0d23123ca40708e04be
|
|
| BLAKE2b-256 |
95a8e88780741886f64d2345d25755778aac8da0550c22fe4eebc53bcbf4da05
|
File details
Details for the file customisedLogs-2.0.3-py3-none-any.whl.
File metadata
- Download URL: customisedLogs-2.0.3-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
624f0ce39ca30a29eddbfa11436757aa48e5024231ac66b38f738743da050ddc
|
|
| MD5 |
f90b230277fc999306244953d469e489
|
|
| BLAKE2b-256 |
e34888bc328a2da4c257ea7a5997f5c496a7e86a98dcc6cfc276e25273e64594
|