Skip to content

moremoban/moban-slim

Repository files navigation

moban-slim

https://codecov.io/github/moremoban/moban-slim/coverage.png https://pepy.tech/badge/moban-slim/month https://img.shields.io/github/stars/moremoban/moban-slim.svg?style=social&maxAge=3600&label=Star

With slimish-jinja2 for Python 3, this library allow moban users to have slim template in their next documentation endeavour.

Quick start

Given a data.json file with the following content

{
  "person": {
    "firstname": "Smith",
    "lastname": "Jones",
  },
}
$ moban --template-type slim -c data.json  "{{person.firstname}} {{person.lastname}}"
Smith Jones

Installation

You can install moban-slim via pip:

$ pip install moban-slim

or clone it and install it:

$ git clone https://github.com/moremoban/moban-slim.git
$ cd moban-slim
$ python setup.py install