Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cmason3/jinjafx_server

JinjaFx Server - Jinja2 Templating Tool
https://github.com/cmason3/jinjafx_server

ansible-filter csv jinja2-template kubernetes python template-engine xpath yaml

Last synced: about 1 month ago
JSON representation

JinjaFx Server - Jinja2 Templating Tool

Awesome Lists containing this project

README

        

[![PyPI](https://img.shields.io/pypi/v/jinjafx-server.svg)](https://pypi.python.org/pypi/jinjafx-server/)
![Python](https://img.shields.io/badge/python-≥ 3.9-brightgreen)
[](https://jinjafx.io)
 

JinjaFx Server - Jinja2 Templating Tool

JinjaFx Server is a lightweight web server that provides a Web UI to JinjaFx. It is a separate Python module which imports the "jinjafx" module to generate outputs from a web interface - it does require the "requests" module which isn't in the base install. Usage instructions are provided below, although it is considered an additional component and not part of the base JinjaFx tool, although it is probably a much easier way to use it.

### Installation

```
python3 -m pip install --upgrade --user jinjafx-server
```

### JinjaFx Server Usage

Once JinjaFx Server has been started with the `-s` argument then point your web browser at http://localhost:8080 and you will be presented with a web page that allows you to specify `data.csv`, `template.j2` and `vars.yml` and then generate outputs. If you click on "Export" then it will present you with an output that can be pasted back into any pane of JinjaFx to restore the values.

```
jinjafx_server -s [-l

] [-p ]
[-r | -s3 | -github /[:]]
[-rl ] [-tl