{"categories":[{"label":"Terminals","url":"https://skillfed.io/packages/category/terminals"}],"enrichment":{"capability":"Crayons provides colored text output for terminal applications by wrapping strings in ANSI color codes and automatically resetting to the original state afterward.","skillfed_tags":["terminal-ui","cli-colors"],"use_cases":["Add colored output to CLI tools and scripts for better readability and user feedback","Highlight errors, warnings, and success messages in terminal applications with distinct colors","Create visually distinct log output or status reports in command-line utilities","Build interactive terminal UIs where color improves navigation and information hierarchy"],"what_it_does":"Crayons is a lightweight wrapper around colorama that simplifies colored terminal output in Python. It provides named color functions (red, green, yellow, blue, black, magenta, cyan, white) that automatically wrap text in the appropriate ANSI codes and reset the terminal state afterward, eliminating the need to manually manage color state. The package detects whether output is going to a TTY and suppresses colors when piped, and it correctly calculates string length for colored output.\n\nThe package is powered by colorama and has a single runtime dependency. It supports Python 2.7 and Python 3.4 through 3.8 according to its classifiers. Since its last release in 2020, the project is no longer actively maintained, though the core functionality remains stable for basic terminal coloring tasks.","worth_installing":"Yes, if you need simple terminal colors and don't require active maintenance. Crayons is lightweight, has no complex dependencies beyond colorama, and works reliably for basic colored output. However, the abandoned status means no bug fixes or Python version updates will be released\u2014use it only if you're comfortable with a stable but unmaintained package, or if you're targeting Python versions it already supports."},"id":"crayons","links":{"html":"https://skillfed.io/packages/crayons","md":"https://skillfed.io/packages/crayons.md","pypi":"https://pypi.org/project/crayons/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2020-08-26","license_spdx":null,"license_treatment":"permissive","name":"crayons","python_support":"unspecified","summary":"TextUI colors for Python."},"popularity":{"monthly_downloads":500822,"position":6319,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.4.0"}
