Advanced terminal color formatting and logging
Project description
termcolors
Advanced terminal formatting library with class-based structure and logger integration.
Example
from termcolors import TerminalFormatter, ColorLogger
fmt = TerminalFormatter(color="green", style="bold")
print(fmt.format("Success"))
logger = ColorLogger()
logger.info("Info message")
logger.warning("Warning!")
logger.error("Something went wrong")
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
termcolorsfx-0.1.0.tar.gz
(2.5 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 termcolorsfx-0.1.0.tar.gz.
File metadata
- Download URL: termcolorsfx-0.1.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9339a1eb92b310358f1f0e82f91659308c7aa0e6ef5e133a0393d62cec82209c
|
|
| MD5 |
168b93490b90ee5e1319085687d2d360
|
|
| BLAKE2b-256 |
66f7f8fba3a98f1b2bb8f67ba8fad66b2641ca9298e8566665a57ef41312f7b2
|
File details
Details for the file termcolorsfx-0.1.0-py3-none-any.whl.
File metadata
- Download URL: termcolorsfx-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73d7edd323efc0651d6d1d80ba4a51c09958389e3c0e4c95f370e93904712724
|
|
| MD5 |
b858524304573ff51656e9d7983cc7ab
|
|
| BLAKE2b-256 |
59bff3a21555ec86c194309e7608ee2e0bd87d5320237940bfc7a92e61a80f58
|