{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/8"},{"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":"MarkupPy generates HTML and XML markup from Python code using an intuitive, pythonic API without external dependencies.","skillfed_tags":["html-generation","markup-builder","no-dependencies"],"use_cases":["Generate HTML reports or dashboards programmatically from Python data structures.","Build XML feeds or configuration files dynamically without manual string formatting.","Create pre-formatted code or text blocks in HTML with exact whitespace control using add_raw.","Embed inline CSS and JavaScript directly in generated HTML pages during initialization.","Construct HTML pages for testing or documentation generation in automated workflows."],"what_it_does":"MarkupPy is a lightweight Python library for generating HTML and XML markup programmatically. Instead of writing strings or using templates, you build markup by calling methods on a page object\u2014each method corresponds to an HTML or XML tag, and you chain or nest them to create document structure. It supports inline styles and scripts, raw content insertion for pre-formatted text, and works with both Python 2 and 3.\n\nThe package is useful when you need to generate markup dynamically from Python code without the overhead of a templating engine or the verbosity of string concatenation. It has no external dependencies, installs cleanly, and is maintained actively with recent updates.","worth_installing":"Yes. MarkupPy is a solid choice for programmatic HTML/XML generation when you want a lightweight, dependency-free alternative to templating. It has no known vulnerabilities, uses a permissive MIT license, and is actively maintained. Install it if you need to build markup from Python code without external dependencies or template syntax overhead."},"id":"markuppy","links":{"html":"https://skillfed.io/packages/markuppy","md":"https://skillfed.io/packages/markuppy.md","pypi":"https://pypi.org/project/markuppy/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-03-19","license_spdx":null,"license_treatment":"permissive","name":"MarkupPy","python_support":"supports_current","summary":"An HTML/XML generator"},"popularity":{"monthly_downloads":818364,"position":4981,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.18"}
