Need help with jinja2-live-parser?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

qn7o
231 Stars 71 Forks MIT License 24 Commits 4 Opened issues

Description

Jinja2 live (web) parser

Services available

!
?

Need anything else?

Contributors list

# 338,322
HTML
CSS
11 commits
# 11,472
podcast...
activit...
Electro...
Express
3 commits
# 503,794
HTML
CSS
2 commits
# 58,685
phantom...
seleniu...
Heroku
dokku
1 commit
# 377,029
Shell
Docker
golang
C
1 commit

Jinja2 live parser

A lightweight live parser for Jinja2 based on Flask and Jquery.
All you need is Python and preferably pip. Can parse JSON and YAML inputs.

Deploy

Install

Clone + pip

$ git clone [email protected]:abourguignon/jinja2-live-parser.git
$ pip install -r requirements.txt
$ python parser.py

Dockerfile

Build it:

docker build -t mydocker/j2parser .
docker run -d -p 5000:5000 mydocker/j2parser

Or simply pull it from registry (without building):

docker run -d -p 5000:5000 sahilsk/j2parser

Usage

You are all set, go to

http://localhost:5000/
and have fun.
You can add any custom filter you'd like in
filters.py
. Just make sure the function's name starts with
filter_
.

Preview

preview

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.