{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/8"},{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/3"},{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content"}],"enrichment":{"capability":"Yattag generates HTML or XML documents using Python code with context managers instead of template strings, letting you build nested markup programmatically with readable syntax.","skillfed_tags":["html-generation","markup-builder","form-rendering"],"use_cases":["Generate HTML forms with pre-filled default values and error message display without a separate template file","Build XML documents programmatically where the Python code structure mirrors the document hierarchy","Create HTML snippets or full pages in web applications that prefer code-based markup over template syntax","Render dynamic HTML in scripts or tools where a full template engine feels like overkill"],"what_it_does":"Yattag is a Python library for generating HTML and XML documents by writing code instead of using template engines. You build markup using context managers (with statements) that represent nested tags, making the document structure visually match the code indentation. The library also provides special methods for rendering HTML forms with default values and error messages pre-filled.\n\nThe package depends only on the standard library's typing module and is designed as a lightweight alternative to template engines. It trades template syntax for pure Python, which can be more readable for some use cases but requires more explicit code. The project is classified as dormant with no release in 650 days, and carries classifiers for Python 2 versions without a declared requires_python constraint, creating ambiguity about actual modern Python support.","worth_installing":"Yes, if you prefer code-based HTML generation over templates and accept the maintenance risk. The package is stable with no known vulnerabilities, but dormant status and high install friction mean you should verify Python version compatibility for your target runtime before committing. Suitable for small projects or scripts where template overhead is unwelcome; risky for production systems requiring active maintenance."},"id":"yattag","links":{"html":"https://skillfed.io/packages/yattag","md":"https://skillfed.io/packages/yattag.md","pypi":"https://pypi.org/project/yattag/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-11-02","license_spdx":null,"license_treatment":"copyleft","name":"yattag","python_support":"unspecified","summary":"Generate HTML or XML in a pythonic way. Pure python alternative to web template engines.Can fill HTML forms with default values and error messages."},"popularity":{"monthly_downloads":821703,"position":4973,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.16.1"}
