Metadata-Version: 1.2
Name: j2y
Version: 0.1.0
Summary: Jinja2 Template CLI
Home-page: https://github.com/chaudum/j2y
Author: Christian Haudum
Author-email: christian@christianhaudum.at
License: Apache License 2.0
Description: j2y - A Jinja2 Template CLI
        ===========================
        
        Render Jinja2 templates on the command line using a YAML_, JSON_ or HCL_ file
        as input for the render context.
        
        Installation
        ------------
        
        ``j2y`` is installed using ``pip``::
        
          pip install j2y
        
        Alternatively you can install directly from Github master branch::
        
          pip install git+https://github.com/chaudum/j2y.git@master
        
        Usage
        -----
        
        By default, ``j2y`` takes a YAML_ file as input::
        
          j2y template.j2 < values.yaml
        
        Alternatively you can use JSON_ or HCL_ as input format::
        
          j2y template.j2 -f json < values.json
        
          j2y template.j2 -f hcl < values.hcl
        
        Run ``j2y -h`` to see all available options.
        
        Local Development
        -----------------
        
        Bootstrapping
        .............
        
        Create a virtualenv_ and install the package as develop egg::
        
          $ python -m venv env
          $ env/bin/activate
          (env) $ pip install -e .
        
        Tests
        .....
        
        At the moment there are very simple test cases only. Test are written as native
        Python doctests. You can invoke them like so::
        
          (env) $ python j2y/tests.py
        
        
        .. _YAML: http://yaml.org/spec/
        .. _JSON: https://www.json.org/
        .. _HCL: https://github.com/hashicorp/hcl
        .. _virtualenv: https://docs.python.org/3/tutorial/venv.html
        
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Python: >=3.6
