{"categories":[{"label":"Terminals","url":"https://skillfed.io/packages/category/terminals"},{"label":"Shells","url":"https://skillfed.io/packages/category/system-shells"},{"label":"Printing","url":"https://skillfed.io/packages/category/printing"}],"enrichment":{"capability":"Sty provides a simple, customizable string styling markup for terminal output, supporting 3/4bit, 8bit, and 24bit colors plus effects like bold, italic, and underline, with no external dependencies.","skillfed_tags":["terminal-styling","ansi-colors","cli-tools"],"use_cases":["Add colored and bold output to CLI tools and scripts for better readability and user feedback.","Create custom color palettes for logging or status messages without rewriting markup in your code.","Build terminal applications that need RGB colors or effects across Unix, macOS, and modern Windows terminals.","Mute all terminal styling globally for log files or non-interactive environments without code changes.","Extend default color and effect registers with domain-specific styles (e.g., error red, success green)."],"what_it_does":"Sty is a zero-dependency library for styling terminal output with colors and text effects. It decouples styling markup from color palettes and terminal implementations, letting you write color codes once and swap renderers or palettes without changing your code. It supports 3/4bit, 8bit, and 24bit (RGB) colors, effects like bold and italic, and allows you to mute all styles globally. The library is fully typed, does not modify globals like some alternatives do, and provides high-performance access to styling rules.\n\nYou apply styles by concatenating string constants (fg.red, bg.blue, ef.bold) with your text, then reset with reset codes (fg.rs, bg.rs, rs.italic). You can also create custom color registers by subclassing the built-in register classes, or use the Register class directly to define your own styling rules.","worth_installing":"Yes, if you need simple, zero-dependency terminal styling. Sty is lightweight, well-typed, and avoids global modifications that cause compatibility issues. The dormant maintenance status is not a blocker for stable use\u2014the library is feature-complete and has no known vulnerabilities\u2014but monitor the repository if you rely on it for new Python versions beyond 3.12."},"id":"sty","links":{"html":"https://skillfed.io/packages/sty","md":"https://skillfed.io/packages/sty.md","pypi":"https://pypi.org/project/sty/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2023-11-27","license_spdx":null,"license_treatment":"permissive","name":"sty","python_support":"supports_current","summary":"String styling for your terminal"},"popularity":{"monthly_downloads":243995,"position":8767,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.6"}
