{"categories":[{"label":"HTML","url":"https://skillfed.io/packages/category/text-processing-markup-html"},{"label":"XML","url":"https://skillfed.io/packages/category/text-processing-markup-xml"}],"enrichment":{"capability":"Reformats HTML and XML strings with intelligent inline-tag handling, avoiding the excessive line breaks that tools like BeautifulSoup.prettify() introduce between tags that should stay on the same line.","skillfed_tags":["html-formatting","xml-prettify","abandoned"],"use_cases":["Post-process BeautifulSoup.prettify() output to remove unwanted line breaks between inline HTML tags.","Format raw XML strings with intelligent indentation before writing to files or logs.","Clean up HTML templates or scraped markup for human readability without breaking inline element layout.","Debug HTML/XML structure by viewing it in a more compact, readable form than standard prettifiers produce."],"what_it_does":"Prettierfier is a lightweight HTML and XML formatter that solves a specific problem: BeautifulSoup's prettify() method adds line breaks between every tag, which breaks inline elements like `<span>`, `<sup>`, and `<em>`. This package uses regex-based parsing to reformat markup more intelligently, preserving inline tags on the same line while still indenting block-level structure.\n\nThe package contains no external dependencies\u2014it uses only the Python Standard Library\u2014and offers two main functions: prettify_xml() for raw XML with configurable indentation, and prettify_html() designed to post-process BeautifulSoup output. It's a single-purpose tool for developers who need cleaner, more readable HTML/XML output without the whitespace bloat.","worth_installing":"No. The project is abandoned with its last release on 2019-07-22 and no maintenance since. While the code is simple and dependency-free, there is no path to bug fixes or compatibility updates. For active alternatives, consider using BeautifulSoup with a custom formatter or modern HTML/XML libraries with maintained prettification support."},"id":"prettierfier","links":{"html":"https://skillfed.io/packages/prettierfier","md":"https://skillfed.io/packages/prettierfier.md","pypi":"https://pypi.org/project/prettierfier/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2019-07-22","license_spdx":null,"license_treatment":"permissive","name":"prettierfier","python_support":"unspecified","summary":"Intelligently pretty-print HTML/XML with inline tags."},"popularity":{"monthly_downloads":614995,"position":5744,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.3"}
