{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/3"}],"enrichment":{"capability":"Embeds ANSI color and style codes into Python strings for colored terminal output, supporting 8 basic colors, 256-color xterm palette, 24-bit RGB, and CSS color names.","skillfed_tags":["cli-output","terminal-styling","abandoned"],"use_cases":["Colorize CLI tool output (error messages in red, success in green) for better user readability.","Highlight specific log entries or warnings in terminal-based monitoring or debugging scripts.","Create styled prompts or status messages in interactive command-line applications.","Generate colored output for test runners or build tool summaries to distinguish pass/fail/skip states.","Add visual emphasis to data dumps or formatted text in terminal-based data inspection tools."],"what_it_does":"ansicolors is a lightweight library that wraps strings with ANSI escape sequences to add foreground color, background color, and text styling (bold, underline, etc.) for display in terminal emulators. It offers multiple ways to specify colors: 8 basic ANSI names (black, red, green, yellow, blue, magenta, cyan, white), 256-color xterm palette by integer index (0-255), or 24-bit RGB via tuple, CSS color name, hex string, or RGB notation. The library also provides utility functions to strip ANSI codes from styled strings and compute their effective length.\n\nThe package has no runtime dependencies and installs as a pure Python wheel, making it trivial to add to any project. However, it is abandoned\u2014the last release was in 2017, and the repository has not been updated since 2022. While the core functionality remains stable and works on modern Python versions, no maintenance or fixes will be forthcoming. Terminal support for ANSI codes varies widely; the library will emit the codes regardless, but not all terminals render all colors and styles accurately.","worth_installing":"Yes, if you need simple ANSI coloring in a CLI tool and accept that the package will not be maintained. The library is stable, dependency-free, and widely used (top 5000 on PyPI). Do not use it if you require active maintenance, Python 2 support, or advanced terminal control beyond basic colors and styles. For new projects, consider whether a more actively maintained alternative better suits your risk tolerance."},"id":"ansicolors","links":{"html":"https://skillfed.io/packages/ansicolors","md":"https://skillfed.io/packages/ansicolors.md","pypi":"https://pypi.org/project/ansicolors/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2017-06-02","license_spdx":null,"license_treatment":"permissive","name":"ansicolors","python_support":"unspecified","summary":"ANSI colors for Python"},"popularity":{"monthly_downloads":12803460,"position":1304,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.1.8"}
