Metadata-Version: 2.1
Name: Hamlish
Version: 0.4.0
Summary: HAML-ish syntax for jinja2 templates
Author-email: zoey Mae <admin@barkshark.xyz>
Project-URL: Documentation, https://docs.barkshark.xyz/hamlish
Project-URL: Source, https://codeberg.org/barkshark/hamlish
Project-URL: Author, https://barkshark.xyz/@izalia
Keywords: jinja2,templates,haml,html
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Text Processing :: Markup :: HTML
Requires-Python: >=3.10
Description-Content-Type: text/x-rst; charset=UTF-8
License-File: LICENSE
License-File: AUTHORS
Requires-Dist: jinja2>=3.1.4
Provides-Extra: dev
Requires-Dist: flake8>=7.1.1; extra == "dev"
Requires-Dist: mypy>=1.13.0; extra == "dev"
Requires-Dist: types-toml==0.10.8.20240310; extra == "dev"
Requires-Dist: typing_extensions>=4.10.0; python_version < "3.11.0" and extra == "dev"
Provides-Extra: doc
Requires-Dist: furo==2024.8.6; extra == "doc"
Requires-Dist: sphinx==8.1.3; extra == "doc"
Requires-Dist: sphinx-external-toc==1.0.1; extra == "doc"

========================
Hamlish-Jinja
========================

Overview
========

An extension for Jinja2 that adds support for HAML-like templates

Forked from `Pitmairen/hamlish-jinja <https://github.com/Pitmairen/hamlish-jinja>`_

Usage
=====

Install
--------

You can install the latest version with pip

::

    pip install git+https://codeberg.org/barkshark/hamlish

or

::

    pip install hamlish

Basic Usage
-----------

To use this extension you just need to add it to you jinja environment and use ".haml", ".jhaml", or
".jaml" as an extension for your templates.

.. code-block:: python

    from jinja2 import Environment
    from hamlish import HamlishExtension

    env = Environment(extensions = [HamlishExtension])
