{"categories":[{"label":"Markup","url":"https://skillfed.io/packages/category/text-processing-markup"}],"enrichment":{"capability":"Python Liquid is a template engine that renders Liquid templates\u2014a safe, customer-facing template language used by Shopify\u2014from strings or files with variable substitution and control flow.","skillfed_tags":["template-engine","shopify-liquid"],"use_cases":["Render user-supplied or customer-provided templates safely without executing arbitrary Python code","Generate HTML emails or documents from template files with variable substitution and conditional logic","Build a template-based reporting or document generation system with Shopify Liquid syntax","Migrate Liquid templates from Ruby or JavaScript environments to a Python backend","Implement a theme or customization system where end users write templates in a familiar, safe syntax"],"what_it_does":"Python Liquid is a Liquid template engine\u2014a safe, expression-based template language originally from Shopify\u2014implemented in pure Python. It parses and renders templates that contain variable placeholders, filters, control flow (if/for/unless), and other Liquid constructs, making it suitable for customer-facing or untrusted template input where you need safety guarantees that general-purpose Python code execution would not provide.\n\nThe package offers two main entry points: a simple `render()` function for one-off template rendering, and an `Environment` class for managing multiple templates, configuring autoescape and template loaders, and reusing parsed templates. It follows Shopify's Liquid specification closely and validates against the Golden Liquid test suite. Runtime dependencies handle date/time operations (python-dateutil, pytz), internationalization (babel), HTML escaping (markupsafe), and resource loading (importlib-resources).","worth_installing":"Yes. Python Liquid is actively maintained, has no known vulnerabilities, installs with low friction, and is MIT-licensed. It is a solid choice if you need Liquid template rendering in Python\u2014particularly if you are migrating from Shopify or another Liquid implementation, or if you need to safely render customer-supplied templates. The Golden Liquid test suite alignment is a strong signal of correctness."},"id":"python-liquid","links":{"html":"https://skillfed.io/packages/python-liquid","md":"https://skillfed.io/packages/python-liquid.md","pypi":"https://pypi.org/project/python-liquid/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-08","license_spdx":"MIT","license_treatment":"permissive","name":"python-liquid","python_support":"supports_current","summary":"A Python engine for the Liquid template language."},"popularity":{"monthly_downloads":1293845,"position":4096,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.3.1"}
