{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/7"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/10"},{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content/3"},{"label":"Documentation","url":"https://skillfed.io/packages/category/documentation/2"},{"label":"Front-Ends","url":"https://skillfed.io/packages/category/database-front-ends/2"},{"label":"HTML","url":"https://skillfed.io/packages/category/text-processing-markup-html"},{"label":"Visualization","url":"https://skillfed.io/packages/category/scientific-engineering-visualization"},{"label":"Code Generators","url":"https://skillfed.io/packages/category/software-development-code-generators"},{"label":"Browsers","url":"https://skillfed.io/packages/category/internet-www-http-browsers"}],"enrichment":{"capability":"Airium generates HTML from Python code using indentation and context managers instead of templates, and can also parse HTML back into Python.","skillfed_tags":["html-generation","template-free","code-generator"],"use_cases":["Generate HTML programmatically in Flask or Django views without writing separate template files","Build dynamic HTML tables, forms, or page structures where the layout is determined by Python logic","Create minified HTML output for production when file size matters","Convert existing HTML documents into Python code for programmatic manipulation","Generate email HTML bodies or static site content from pure Python"],"what_it_does":"Airium is a Python library that generates HTML by treating DOM structure as Python indentation and context managers, eliminating the need for separate template files. Instead of writing HTML templates, you write Python code where nesting is expressed through `with` statements, and element attributes and text are passed as function arguments. The library supports both pretty-printed (indented, human-readable) and minified output modes.\n\nThe package also includes a reverse translator to parse existing HTML back into Python code. It has no external dependencies, works across Python 3.8 through 3.13 and PyPy, and can be integrated into web frameworks like Flask or Django to replace template engines entirely. Output can be cast to string or UTF-8 bytes directly.","worth_installing":"Yes, if you prefer writing HTML in Python over templates and want zero external dependencies. The package is stable (Beta status, no known vulnerabilities) but aging\u2014last release was 430 days ago. Suitable for small to medium projects; verify performance and framework integration for your specific use case before adopting in production."},"id":"airium","links":{"html":"https://skillfed.io/packages/airium","md":"https://skillfed.io/packages/airium.md","pypi":"https://pypi.org/project/airium/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-06-10","license_spdx":null,"license_treatment":"permissive","name":"airium","python_support":"unspecified","summary":"Easy and quick html builder with natural syntax correspondence (python->html). No templates needed. Serves pure pythonic library with no dependencies."},"popularity":{"monthly_downloads":96967,"position":13182,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.2.7"}
