Metadata-Version: 1.1
Name: moban-velocity
Version: 0.0.2
Summary: Provide velocity templating capability to moban
Home-page: https://github.com/moremoban/moban-velocity
Author: Ayan Banerjee, C.W. et al
Author-email: wangc_2011@hotmail.com
License: MIT
Download-URL: https://github.com/moremoban/moban-velocity/archive/0.0.2.tar.gz
Description: ================================================================================
        moban-velocity
        ================================================================================
        
        .. image:: https://api.travis-ci.org/moremoban/moban-velocity.svg
           :target: http://travis-ci.org/moremoban/moban-velocity
        
        .. image:: https://codecov.io/github/moremoban/moban-velocity/coverage.png
           :target: https://codecov.io/github/moremoban/moban-velocity
        .. image:: https://badge.fury.io/py/moban-velocity.svg
           :target: https://pypi.org/project/moban-velocity
        
        .. image:: https://pepy.tech/badge/moban-velocity/month
           :target: https://pepy.tech/project/moban-velocity/month
        
        .. image:: https://img.shields.io/github/stars/moremoban/moban-velocity.svg?style=social&maxAge=3600&label=Star
            :target: https://github.com/moremoban/moban-velocity/stargazers
        
        
        With `airspeed` for Python 3, this library allows moban users to have velocity
        template in their next documentation endeavour.
        
        Given the following data.json:
        
        .. code-block::
        
           {"people":
               [
                   {"name": "Bill", "age": 100},
                   {"name": "Bob", "age": 90},
                   {"name": "Mark", "age": 25}
               ]
           }
        
        And given the following velocity.template:
        
        .. code-block::
        
           Old people:
           #foreach ($person in $people)
            #if($person.age > 70)
             $person.name
            #end
           #end
           
           Third person is $people[2].name
        
        **moban** can do the template:
        
        .. code-block:: bash
        
           $ moban --template-type velocity -c data.json -t velocity.template
           Velocity-templating vo.t to moban.output
           Velocity-templated 1 file.
           $ cat moban.output
           Old people:
        
           Bill
         
           Bob
         
         
           Third person is Mark
        
        
        
        
        Installation
        ================================================================================
        
        
        You can install moban-velocity via pip:
        
        .. code-block:: bash
        
            $ pip install moban-velocity
        
        
        or clone it and install it:
        
        .. code-block:: bash
        
            $ git clone https://github.com/moremoban/moban-velocity.git
            $ cd moban-velocity
            $ python setup.py install
        
        Author
        ================================================================================
        
        `Ayan Banerjee <https://github.com/ayan-b>`_
        
        Contributors
        ================================================================================
        
        In alphabetical order:
        
        * `C. W. <https://github.com/chfw>`_
        * `John Vandenberg <https://github.com/jayvdb>`_
        * `PRAJWAL M <https://github.com/PrajwalM2212>`_
        
        Change log
        ================================================================================
        
        0.0.2 - 03.06.2020
        --------------------------------------------------------------------------------
        
        **Added**
        
        #. Support moban v0.6.0+
        
        0.0.1 - 02.02.2018
        --------------------------------------------------------------------------------
        
        **First release**
        
        #. Render .velocity, .vtl files for moban
        
        
Keywords: python
Platform: UNKNOWN
Classifier: Topic :: Software Development :: Libraries
Classifier: Programming Language :: Python
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
