{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/3"},{"label":"Systems Administration","url":"https://skillfed.io/packages/category/system-systems-administration"}],"enrichment":{"capability":"Extends the rich library with a Console class that supports stream redirection and soft text wrapping, plus a logging handler that preserves client-side wrapping decisions.","skillfed_tags":["terminal-ui","logging-enhancement"],"use_cases":["Capture and record terminal output from sys.stdout/stderr while displaying it live using Console redirect mode.","Build terminal UIs that reflow text based on the user's terminal width rather than a fixed application width.","Log application output that will be displayed on web pages or terminals with unknown widths using RichHandler.","Process and display output from subprocesses that contain ANSI escape codes without breaking formatting.","Create logging configurations where log lines remain unwrapped and let the viewer decide line breaks."],"what_it_does":"Enrich is a set of extensions to the rich library that add features rejected or not yet accepted upstream. It provides an enhanced Console class with two key capabilities: stream redirection (capturing sys.stdout and sys.stderr via a FileProxy) and soft text wrapping (allowing the client terminal to decide where to break lines rather than the application). It also extends Console to handle ANSI escape sequences in already-formatted text, and provides a RichHandler for logging that uses soft wrapping by default instead of pre-wrapping output to a fixed console width.\n\nThe package targets developers building terminal applications or logging systems where output needs to adapt to the client's display constraints rather than being pre-formatted. It depends only on rich and supports Python 3.6 and later.","worth_installing":"Yes, if you use rich and need stream redirection or client-side text wrapping. The package is stable (MIT, no vulnerabilities, active repository) and has low install friction. However, note that the last release was 2022-01-10; verify compatibility with your current rich version before adopting."},"id":"enrich","links":{"html":"https://skillfed.io/packages/enrich","md":"https://skillfed.io/packages/enrich.md","pypi":"https://pypi.org/project/enrich/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2022-01-10","license_spdx":null,"license_treatment":"permissive","name":"enrich","python_support":"supports_current","summary":"enrich"},"popularity":{"monthly_downloads":2329339,"position":3133,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.2.7"}
