{"categories":[{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content/2"}],"enrichment":{"capability":"Chameleon is an HTML/XML template engine that compiles page templates into Python code for fast server-side rendering.","skillfed_tags":["template-engine","html-xml","compiled-templates"],"use_cases":["Render dynamic HTML pages in web frameworks by compiling template files into callable Python functions.","Generate XML documents or feeds from template definitions with variable substitution and conditional blocks.","Build server-side templated responses in REST APIs where template compilation overhead should be minimized.","Internationalize web content by leveraging built-in i18n support for translation context and target language handling.","Embed templating in Python applications that need fast, compiled template execution without external runtime dependencies."],"what_it_does":"Chameleon is a template engine that compiles HTML and XML templates written in the page templates language into optimized Python code. It runs on Python 3.9 and later, including PyPy, and is designed to be embedded in any Python application without external dependencies. The engine parses template markup and generates bytecode-compiled Python functions, making rendering fast and suitable for high-throughput web applications.\n\nThe package handles both HTML and XML modes, supports dynamic content interpolation, conditional rendering, looping, variable scoping, and internationalization. Recent versions have focused on startup-time optimization, Python 3.13 compatibility, and removal of slower legacy dependencies in favor of importlib.resources. It is production-stable and has been maintained since 2009.","worth_installing":"Yes. Chameleon is a mature, actively maintained template engine with zero runtime dependencies, permissive licensing, and broad Python version support (3.9 and up, plus PyPy 3). It is well-suited for projects requiring compiled, high-performance HTML/XML templating. Install it if you need a self-contained template solution; avoid it only if your project already standardizes on a different templating approach."},"id":"chameleon","links":{"html":"https://skillfed.io/packages/chameleon","md":"https://skillfed.io/packages/chameleon.md","pypi":"https://pypi.org/project/chameleon/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-12-31","license_spdx":null,"license_treatment":"permissive","name":"Chameleon","python_support":"supports_current","summary":"Fast HTML/XML Template Compiler."},"popularity":{"monthly_downloads":358222,"position":7264,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"4.6.0"}
