Metadata-Version: 2.1
Name: miko-tpl
Version: 1.0.0
Summary: Little, lightweight and fast template engine.
Home-page: https://github.com/tasuren/miko
Author: tasuren
Author-email: tasuren@aol.com
License: MIT
Project-URL: Source Code, https://github.com/tasuren/miko
Project-URL: Documentation, https://miko.readthedocs.io/
Description: [![PyPI](https://img.shields.io/pypi/v/miko-tpl)](https://pypi.org/project/miko-tpl/) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/miko-tpl) ![PyPI - Downloads](https://img.shields.io/pypi/dm/miko-tpl) ![PyPI - License](https://img.shields.io/pypi/l/miko-tpl) [![Documentation Status](https://readthedocs.org/projects/miko/badge/?version=latest)](https://miko.readthedocs.io/en/latest/?badge=latest)
        # miko
        miko is a pythonic template engine that is little, lightweight and fast.
        
        **Features:**
        * Full python syntax. So there is absolutely nothing to remember in the syntax.
        * It runs in Python.
        * Little, lightweight and fast. (No dependency)
        * Inheriting layouts through template inheritance.
        * Easy to use!
        
        ## Installation
        You can install it using pip.  
        `$ pip install miko-tpl`
        
        ## Examples
        ### Title
        ```html
        <title>^^ title ^^</title>
        ```
        ### Members
        ```html
        <body>
          <h1>^^ team.name ^^ members</h1>
          <ul>
            ^^
              "".join(
                f'<li><a href="{ member.url }">{ member.name }</a></li>'
                for member in team.members
              )
            ^^
          </ul>
        </body>
        ```
        ### Extend
        ```python
        ^^
          manager.render(
              "blog_page_layout.html", title="My sixteenth birthday.",
              content="""
                <strong>Today is my birthday!</strong><br>
                So give me a gift.
              """
          )
          # or self.extends(...)
        ^^
        ```
        
        ## Documentation
        You can view the UserGuide and API reference of miko [here](https://miko.readthedocs.io/).
        
        ## Contributing
        You can contribute on the development of miko in the GitHub repository.  
        If you send a pull request, please keep the following in mind.  
        The source code is written in such a way that it is 45% compliant with PEP8.  
        I would like you to keep the overall style of the source code as unchanged as possible.
        
        ## License
        miko is available under the MIT license.  
        Detail: [LICENSE](https://github.com/tasuren/miko/blob/main/LICENSE)
Keywords: template engine
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Text Processing :: Markup :: HTML
Classifier: Typing :: Typed
Requires-Python: >=3.8.0
Description-Content-Type: text/markdown
