Skip to main content

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

termcolorsfx-0.1.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

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

Hashes for termcolorsfx-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9339a1eb92b310358f1f0e82f91659308c7aa0e6ef5e133a0393d62cec82209c
MD5 168b93490b90ee5e1319085687d2d360
BLAKE2b-256 66f7f8fba3a98f1b2bb8f67ba8fad66b2641ca9298e8566665a57ef41312f7b2

See more details on using hashes here.

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

Hashes for termcolorsfx-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 73d7edd323efc0651d6d1d80ba4a51c09958389e3c0e4c95f370e93904712724
MD5 b858524304573ff51656e9d7983cc7ab
BLAKE2b-256 59bff3a21555ec86c194309e7608ee2e0bd87d5320237940bfc7a92e61a80f58

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page