Hamlish


NameHamlish JSON
Version 0.4.0 PyPI version JSON
download
home_pageNone
SummaryHAML-ish syntax for jinja2 templates
upload_time2024-11-26 10:00:27
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseNone
keywords jinja2 templates haml html
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ========================
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])

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "Hamlish",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "jinja2, templates, haml, html",
    "author": null,
    "author_email": "zoey Mae <admin@barkshark.xyz>",
    "download_url": "https://files.pythonhosted.org/packages/22/d5/3b7ec43371670776ed5d2224800b84f852faa79bbe8501e688357a066e09/hamlish-0.4.0.tar.gz",
    "platform": "any",
    "description": "========================\nHamlish-Jinja\n========================\n\nOverview\n========\n\nAn extension for Jinja2 that adds support for HAML-like templates\n\nForked from `Pitmairen/hamlish-jinja <https://github.com/Pitmairen/hamlish-jinja>`_\n\nUsage\n=====\n\nInstall\n--------\n\nYou can install the latest version with pip\n\n::\n\n    pip install git+https://codeberg.org/barkshark/hamlish\n\nor\n\n::\n\n    pip install hamlish\n\nBasic Usage\n-----------\n\nTo use this extension you just need to add it to you jinja environment and use \".haml\", \".jhaml\", or\n\".jaml\" as an extension for your templates.\n\n.. code-block:: python\n\n    from jinja2 import Environment\n    from hamlish import HamlishExtension\n\n    env = Environment(extensions = [HamlishExtension])\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "HAML-ish syntax for jinja2 templates",
    "version": "0.4.0",
    "project_urls": {
        "Author": "https://barkshark.xyz/@izalia",
        "Documentation": "https://docs.barkshark.xyz/hamlish",
        "Source": "https://codeberg.org/barkshark/hamlish"
    },
    "split_keywords": [
        "jinja2",
        " templates",
        " haml",
        " html"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2e77a6b453bdabe43f0c0274b9fc24c3c62dafbaf72385994366e41bdc95be3e",
                "md5": "2d834f19bb4688b8f20bf7733fc44f65",
                "sha256": "3949fa27df224123e6a97879591e30c23dced7b5ed949e9428c6150ba8e3845b"
            },
            "downloads": -1,
            "filename": "Hamlish-0.4.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2d834f19bb4688b8f20bf7733fc44f65",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.10",
            "size": 16654,
            "upload_time": "2024-11-26T10:00:26",
            "upload_time_iso_8601": "2024-11-26T10:00:26.778305Z",
            "url": "https://files.pythonhosted.org/packages/2e/77/a6b453bdabe43f0c0274b9fc24c3c62dafbaf72385994366e41bdc95be3e/Hamlish-0.4.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "22d53b7ec43371670776ed5d2224800b84f852faa79bbe8501e688357a066e09",
                "md5": "002521b5862b42881d695b0a1bc7c56f",
                "sha256": "a1c1b1e9f182303b7f7305b7cc2c0d767e76ba2995e6dba7d1b7f05219717b73"
            },
            "downloads": -1,
            "filename": "hamlish-0.4.0.tar.gz",
            "has_sig": false,
            "md5_digest": "002521b5862b42881d695b0a1bc7c56f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 21333,
            "upload_time": "2024-11-26T10:00:27",
            "upload_time_iso_8601": "2024-11-26T10:00:27.715854Z",
            "url": "https://files.pythonhosted.org/packages/22/d5/3b7ec43371670776ed5d2224800b84f852faa79bbe8501e688357a066e09/hamlish-0.4.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-26 10:00:27",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": true,
    "codeberg_user": "barkshark",
    "codeberg_project": "hamlish",
    "lcname": "hamlish"
}
        
Elapsed time: 0.37351s