This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Welcome to JinjaLive documentation!

JinjaLive is a project created by Marlysys.

JinjaLive can be used to test your Jinja templates. It renders a Jinja template with given variables to a rendered output. As simple as that !

Installation

JinjaLive is available on pip:

pip install jinjalive

Usage

Command-line usage

Given a context file and a template file, JinjaLive will generate the output file:

jinjalive -cf <context_file> -tf <template_file> -of <output_file>

Web application

Launch the JinjaLive server with:

jinjalive-server

Open your browser to http://<your_ip_address>:8888

Tests

JinjaLive embeds unittests to ensure both functionnalities coverage but also Python code quality.

The test suite can be launched with tox:

cd jinjalive
sudo pip install -r test-requirements.txt
tox

Apache configuration (optional)

If you want to serve the JinjaLive web application behind Apache, please use WSGI.

sudo apt-get update
sudo apt-get install apache2 libapache2-mod-wsgi
sudo a2enmod wsgi

Here is a sample Apache virtualhost:

<VirtualHost *:80>

    WSGIDaemonProcess jinjalive threads=5
    WSGIScriptAlias /jinja /usr/local/lib/python2.7/dist-packages/jinjalive/jinjalive.wsgi

    <Directory /usr/local/lib/python2.7/dist-packages/jinjalive>
        WSGIProcessGroup jinjalive
        WSGIApplicationGroup %{GLOBAL}
        WSGIScriptReloading On
        Require all granted
    </Directory>

    ErrorLog ${APACHE_LOG_DIR}/jinjalive.error.log
    CustomLog ${APACHE_LOG_DIR}/jinjalive.access.log combined

</VirtualHost>

Your JinjaLive web application is now available under http://<your_ip_address>/jinja.

Contributing

Requirements

JinjaLive needs the following requirements:

Nowadays, python should ever be present on your system, but bower usually requires proper installation.

bower requires nodejs. Here is the full procedure to install bower for Ubuntu:

sudo apt-get update
sudo apt-get install nodejs npm
sudo npm install -g bower
sudo ln -s /usr/bin/nodejs /usr/bin/node

Go to project directory:

cd jinjalive

Install bower requirements:

bower install

Install Python requirements and JinjaLive package with a virtualenv:

mkvirtualenv jinjalive
pip install -r requirements.txt
python setup.py develop
Release History

Release History

0.2.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
jinjalive-0.2.0-py2.py3-none-any.whl (3.3 MB) Copy SHA256 Checksum SHA256 2.7 Wheel Mar 14, 2016
jinjalive-0.2.0.tar.gz (3.4 MB) Copy SHA256 Checksum SHA256 Source Mar 14, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting