wheezy.template


Namewheezy.template JSON
Version 3.2.2 PyPI version JSON
download
home_pagehttps://github.com/akornatskyy/wheezy.template
SummaryA lightweight template library
upload_time2024-01-02 11:12:03
maintainer
docs_urlhttps://pythonhosted.org/wheezy.template/
authorAndriy Kornatskyy
requires_python>=3.8
licenseMIT
keywords html markup template preprocessor
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # wheezy.template

[![tests](https://github.com/akornatskyy/wheezy.template/actions/workflows/tests.yml/badge.svg)](https://github.com/akornatskyy/wheezy.template/actions/workflows/tests.yml)
[![Coverage Status](https://coveralls.io/repos/github/akornatskyy/wheezy.template/badge.svg?branch=master)](https://coveralls.io/github/akornatskyy/wheezy.template?branch=master)
[![Documentation Status](https://readthedocs.org/projects/wheezytemplate/badge/?version=latest)](https://wheezytemplate.readthedocs.io/en/latest/?badge=latest)
[![pypi version](https://badge.fury.io/py/wheezy.template.svg)](https://badge.fury.io/py/wheezy.template)

[wheezy.template](https://pypi.org/project/wheezy.template/) is a
[python](https://www.python.org) package written in pure Python code. It
is a lightweight template library. The design goals achived:

- **Compact, Expressive, Clean:** Minimizes the number of keystrokes
  required to build a template. Enables fast and well read coding. You
  do not need to explicitly denote statement blocks within HTML
  (unlike other template systems), the parser is smart enough to
  understand your code. This enables a compact and expressive syntax
  which is really clean and just pleasure to type.
- **Intuitive, No time to Learn:** Basic Python programming skills
  plus HTML markup. You are productive just from start. Use full power
  of Python with minimal markup required to denote python statements.
- **Do Not Repeat Yourself:** Master layout templates for inheritance;
  include and import directives for maximum reuse.
- **Blazingly Fast:** Maximum rendering performance: ultimate speed
  and context preprocessor features.

Simple template:

```txt
@require(user, items)
Welcome, @user.name!
@if items:
    @for i in items:
        @i.name: @i.price!s.
    @end
@else:
    No items found.
@end
```

It is optimized for performance, well tested and documented.

Resources:

- [source code](https://github.com/akornatskyy/wheezy.template),
  [examples](https://github.com/akornatskyy/wheezy.template/tree/master/demos)
  and [issues](https://github.com/akornatskyy/wheezy.template/issues)
  tracker are available on
  [github](https://github.com/akornatskyy/wheezy.template)
- [documentation](https://wheezytemplate.readthedocs.io/en/latest/)

## Install

[wheezy.template](https://pypi.org/project/wheezy.template/) requires
[python](https://www.python.org) version 3.8+. It is independent of
operating system. You can install it from
[pypi](https://pypi.org/project/wheezy.template/) site:

```sh
pip install -U wheezy.template
```

If you run into any issue or have comments, go ahead and add on
[github](https://github.com/akornatskyy/wheezy.template).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/akornatskyy/wheezy.template",
    "name": "wheezy.template",
    "maintainer": "",
    "docs_url": "https://pythonhosted.org/wheezy.template/",
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "html markup template preprocessor",
    "author": "Andriy Kornatskyy",
    "author_email": "andriy.kornatskyy@live.com",
    "download_url": "https://files.pythonhosted.org/packages/0e/09/4b54ef37ec541cc290613d3f1d10f44453c208975718004ed6332a9710d9/wheezy.template-3.2.2.tar.gz",
    "platform": "any",
    "description": "# wheezy.template\n\n[![tests](https://github.com/akornatskyy/wheezy.template/actions/workflows/tests.yml/badge.svg)](https://github.com/akornatskyy/wheezy.template/actions/workflows/tests.yml)\n[![Coverage Status](https://coveralls.io/repos/github/akornatskyy/wheezy.template/badge.svg?branch=master)](https://coveralls.io/github/akornatskyy/wheezy.template?branch=master)\n[![Documentation Status](https://readthedocs.org/projects/wheezytemplate/badge/?version=latest)](https://wheezytemplate.readthedocs.io/en/latest/?badge=latest)\n[![pypi version](https://badge.fury.io/py/wheezy.template.svg)](https://badge.fury.io/py/wheezy.template)\n\n[wheezy.template](https://pypi.org/project/wheezy.template/) is a\n[python](https://www.python.org) package written in pure Python code. It\nis a lightweight template library. The design goals achived:\n\n- **Compact, Expressive, Clean:** Minimizes the number of keystrokes\n  required to build a template. Enables fast and well read coding. You\n  do not need to explicitly denote statement blocks within HTML\n  (unlike other template systems), the parser is smart enough to\n  understand your code. This enables a compact and expressive syntax\n  which is really clean and just pleasure to type.\n- **Intuitive, No time to Learn:** Basic Python programming skills\n  plus HTML markup. You are productive just from start. Use full power\n  of Python with minimal markup required to denote python statements.\n- **Do Not Repeat Yourself:** Master layout templates for inheritance;\n  include and import directives for maximum reuse.\n- **Blazingly Fast:** Maximum rendering performance: ultimate speed\n  and context preprocessor features.\n\nSimple template:\n\n```txt\n@require(user, items)\nWelcome, @user.name!\n@if items:\n    @for i in items:\n        @i.name: @i.price!s.\n    @end\n@else:\n    No items found.\n@end\n```\n\nIt is optimized for performance, well tested and documented.\n\nResources:\n\n- [source code](https://github.com/akornatskyy/wheezy.template),\n  [examples](https://github.com/akornatskyy/wheezy.template/tree/master/demos)\n  and [issues](https://github.com/akornatskyy/wheezy.template/issues)\n  tracker are available on\n  [github](https://github.com/akornatskyy/wheezy.template)\n- [documentation](https://wheezytemplate.readthedocs.io/en/latest/)\n\n## Install\n\n[wheezy.template](https://pypi.org/project/wheezy.template/) requires\n[python](https://www.python.org) version 3.8+. It is independent of\noperating system. You can install it from\n[pypi](https://pypi.org/project/wheezy.template/) site:\n\n```sh\npip install -U wheezy.template\n```\n\nIf you run into any issue or have comments, go ahead and add on\n[github](https://github.com/akornatskyy/wheezy.template).\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A lightweight template library",
    "version": "3.2.2",
    "project_urls": {
        "Homepage": "https://github.com/akornatskyy/wheezy.template"
    },
    "split_keywords": [
        "html",
        "markup",
        "template",
        "preprocessor"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0e094b54ef37ec541cc290613d3f1d10f44453c208975718004ed6332a9710d9",
                "md5": "ae00656a6a9529734de085d38b072936",
                "sha256": "8649cf5c718f3cd8d102bd13615a2c3da4e7b6c8f042338a641094faa165207c"
            },
            "downloads": -1,
            "filename": "wheezy.template-3.2.2.tar.gz",
            "has_sig": false,
            "md5_digest": "ae00656a6a9529734de085d38b072936",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 18660,
            "upload_time": "2024-01-02T11:12:03",
            "upload_time_iso_8601": "2024-01-02T11:12:03.330002Z",
            "url": "https://files.pythonhosted.org/packages/0e/09/4b54ef37ec541cc290613d3f1d10f44453c208975718004ed6332a9710d9/wheezy.template-3.2.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-02 11:12:03",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "akornatskyy",
    "github_project": "wheezy.template",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "wheezy.template"
}
        
Elapsed time: 0.49799s