--- id: coloredlogs version: "15.0.1" license: MIT license_treatment: permissive maintenance: abandoned --- # coloredlogs — Colored terminal output for Python's logging module License: permissive · Maintenance: abandoned · Popularity: top 1,000 on PyPI ## Install pip install coloredlogs uv add coloredlogs poetry add coloredlogs ## Description coloredlogs: Colored terminal output for Python's logging module ================================================================ .. image:: https://travis-ci.org/xolox/python-coloredlogs.svg?branch=master :target: https://travis-ci.org/xolox/python-coloredlogs .. image:: https://coveralls.io/repos/github/xolox/python-coloredlogs/badge.svg?branch=master :target: https://coveralls.io/github/xolox/python-coloredlogs?branch=master The `coloredlogs` package enables colored terminal output for Python's logging_ module. The ColoredFormatter_ class inherits from `logging.Formatter`_ and uses `ANSI escape sequences`_ to render your logging messages in color. It uses only standard colors so it should work on any UNIX terminal. It's currently tested on Python 2.7, 3.5+ and PyPy (2 and 3). On Windows `coloredlogs` automatically tries to enable native ANSI support (on up-to-date Windows 10 installations) and falls back on using colorama_ (if installed). Here is a screen shot of the demo that is printed when the command ``coloredlogs --demo`` is executed: .. image:: https://coloredlogs.readthedocs.io/en/latest/_images/defaults.png Note that the screenshot above includes custom... ## AI interpretation — verify before relying Adds colored output to Python's standard logging module using ANSI escape sequences, with automatic fallback support for Windows terminals. Verdict: A stable, well-established logging formatter with no known vulnerabilities and permissive licensing, but abandoned maintenance since June 2021 means no fixes for future Python versions or emerging issues. Suitable for projects that can tolerate a frozen dependency; risky for long-term production use. [View on SkillFed](https://skillfed.io/packages/coloredlogs) · [View on PyPI](https://pypi.org/project/coloredlogs/)