{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/3"},{"label":"Text Processing","url":"https://skillfed.io/packages/category/text-processing"},{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/2"},{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance"},{"label":"Markup","url":"https://skillfed.io/packages/category/text-processing-markup"},{"label":"Systems Administration","url":"https://skillfed.io/packages/category/system-systems-administration"},{"label":"HTML","url":"https://skillfed.io/packages/category/text-processing-markup-html"}],"enrichment":{"capability":"Converts terminal output with ANSI color codes to HTML or LaTeX, preserving colors and formatting for display in browsers or documents.","skillfed_tags":["terminal-output","color-conversion"],"use_cases":["Convert colored log files to HTML for web-based log viewing and archival","Pipe colored CLI tool output through ansi2html to create shareable HTML reports","Preserve terminal colors when exporting test runner or build tool output to HTML","Convert colored task management or monitoring tool output to LaTeX for documentation","Generate HTML versions of colored terminal sessions for documentation or tutorials"],"what_it_does":"ansi2html is a utility for converting terminal text containing ANSI color and formatting codes into HTML or LaTeX markup. It works both as a Python library (via the Ansi2HTMLConverter class) and as a command-line tool, making it useful for capturing colored terminal output and rendering it in web pages or documents. The package depends on importlib-metadata and typing-extensions, both lightweight standard-library backports.\n\nTypical use cases include converting colored log output to HTML for web display, converting task runner output to shareable HTML, or piping colored command output through the tool to preserve formatting. It has been actively maintained since its first release in 2010, supports Python 3.7 through 3.12, and carries no known security vulnerabilities.","worth_installing":"Yes. ansi2html is a stable, actively maintained utility with no known vulnerabilities, low install friction, and a clear single purpose. The copyleft LGPLv3+ license is appropriate for open-source projects and most internal use; proprietary projects should verify compatibility. Install it if you need to convert ANSI-colored terminal output to HTML or LaTeX."},"id":"ansi2html","links":{"html":"https://skillfed.io/packages/ansi2html","md":"https://skillfed.io/packages/ansi2html.md","pypi":"https://pypi.org/project/ansi2html/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-06-22","license_spdx":null,"license_treatment":"copyleft","name":"ansi2html","python_support":"supports_current","summary":"Convert text with ANSI color codes to HTML or to LaTeX"},"popularity":{"monthly_downloads":2302559,"position":3155,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.9.2"}
