{"categories":[{"label":"Terminals","url":"https://skillfed.io/packages/category/terminals"}],"enrichment":{"capability":"Pastel adds colored text output to terminal applications using predefined or custom styles, with automatic TTY detection and color disabling support.","skillfed_tags":["cli-output","terminal-ui"],"use_cases":["Add colored output to CLI tools and scripts for better readability and user feedback","Highlight error, warning, and info messages in terminal applications with predefined semantic styles","Build terminal-based interfaces that gracefully degrade to plain text when output is not a TTY","Integrate colored logging or status messages into existing command-line tools"],"what_it_does":"Pastel is a lightweight library for adding ANSI color formatting to terminal output. It provides a simple API to colorize strings using predefined styles (green for info, yellow for comment, black-on-cyan for question, white-on-red for error) or custom style definitions. The library automatically detects whether the output is a TTY and disables colors when appropriate, and allows manual color disabling via a configuration call.\n\nThe package has no runtime dependencies and installs easily. It is used internally by cleo and similar terminal UI libraries. However, it has been abandoned since September 2020 with no recent maintenance, meaning it will not receive updates for newer Python versions or address any issues that may arise.","worth_installing":"Yes, if you need simple terminal coloring in a stable, mature project. Pastel is lightweight, has no dependencies, and works reliably for basic use cases. However, do not use it for new projects or active development\u2014it is unmaintained since 2020 and will not receive updates. Consider alternatives that are actively maintained if you need ongoing support or compatibility with future Python versions."},"id":"pastel","links":{"html":"https://skillfed.io/packages/pastel","md":"https://skillfed.io/packages/pastel.md","pypi":"https://pypi.org/project/pastel/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2020-09-16","license_spdx":null,"license_treatment":"permissive","name":"pastel","python_support":"supports_current","summary":"Bring colors to your terminal."},"popularity":{"monthly_downloads":7539811,"position":1724,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.2.1"}
