{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/2"},{"label":"Markup","url":"https://skillfed.io/packages/category/text-processing-markup"},{"label":"Terminals","url":"https://skillfed.io/packages/category/terminals"}],"enrichment":{"capability":"Provides ANSI color text output for console applications with automatic color selection based on terminal background (dark or light) across Linux, macOS, and Windows.","skillfed_tags":["ansi-colors","cli-output","abandoned"],"use_cases":["Add colored output to CLI tools and scripts that run on multiple platforms without manual ANSI code management.","Build terminal-based applications that automatically adapt text colors to dark or light terminal backgrounds.","Pipe colored or ANSI-coded text through Python for processing, stripping, or forcing color output via environment variables.","Create cross-platform shell utilities in Python that display error/warning/success messages in distinct colors."],"what_it_does":"colorclass is a library for adding ANSI color codes to console text in Python, with built-in support for automatic color selection based on terminal background brightness. It works by subclassing str (Python 3.x) or unicode (Python 2.x) and provides tag-based syntax like {red}text{/red} to mark colored regions. The library includes platform-specific initialization\u2014Windows.enable() for Windows, set_light_background() or set_dark_background() for Linux/macOS\u2014to enable automatic color detection and adjustment.\n\nThe package is designed for developers building command-line applications that need portable, readable color output across different terminal environments. It handles the complexity of terminal capability detection and provides helper attributes to access both colored and plain-text versions of strings. However, the project is archived and unmaintained since 2021-12-09, with no active development or security updates.","worth_installing":"Yes, if you need basic ANSI color support in a stable, mature codebase and can accept no further maintenance. The library is production-stable and has no known vulnerabilities, but its abandonment since 2021-12-09 means no fixes for future Python versions or terminal changes. For new projects, consider actively maintained alternatives; for existing codebases already using it, the low install friction and lack of dependencies make it safe to keep."},"id":"colorclass","links":{"html":"https://skillfed.io/packages/colorclass","md":"https://skillfed.io/packages/colorclass.md","pypi":"https://pypi.org/project/colorclass/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2021-12-09","license_spdx":null,"license_treatment":"permissive","name":"colorclass","python_support":"supports_current","summary":"Colorful worry-free console applications for Linux, Mac OS X, and Windows."},"popularity":{"monthly_downloads":9103576,"position":1562,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.2.2"}
