Skip to content

moremoban/moban-slim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

efe5b97 · Aug 16, 2020

History

6 Commits
Jun 16, 2020
Aug 16, 2020
Jun 16, 2020
Jun 16, 2020
Jun 16, 2020
Jun 16, 2020
Jun 16, 2020
Jun 16, 2020
Jun 16, 2020
Jun 16, 2020
Dec 31, 2018
Dec 31, 2018
Jun 16, 2020
Jun 16, 2020
Aug 16, 2020
Jun 16, 2020
Jun 16, 2020
Jun 16, 2020
Jun 16, 2020
Jun 16, 2020
Dec 31, 2018
Jun 16, 2020
Dec 31, 2018
Jun 16, 2020
Jun 16, 2020

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