Skip to main content

Jinja2 compiler

Project description

version number: 0.0.3 author: Tom Tang

Overview

Jinja2 compiler

Installation / Usage

To install use pip:

$ pip install jj2c

To use it:

Render from folder to folder:

jj2c template_folder/ -V ‘a: AAA’ ‘b: BBB’ -o output_folder/

Render from zip to folder:

jj2c template.zip -V ‘a: AAA’ ‘b: BBB’ -o output_folder/

Render from zip to zip:

jj2c template.zip -V ‘a: AAA’ ‘b: BBB’ -o template.zip

Render to stdout:

jj2c template-file -V ‘a: AAA’ ‘b: BBB’

Or clone the repo:

$ git clone https://github.com/tly1980/jj2c.git $ python setup.py install

Contributing

TBD

Example

TBD

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jj2c-0.0.3.tar.gz (15.0 kB view hashes)

Uploaded Source

Built Distribution

jj2c-0.0.3-py2.py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page