Provide slim templating capability to moban.
Project description
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}}"
Slimming <p>{{first... to moban.output
Slimmed 1 file.
$ cat moban.output
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
Contributors
In alphabetical order:
Change log
0.0.2 - 16-06-2020
Updated
0.0.1 - 30-11-2018
First release
render slim files for moban
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
moban-slim-0.0.2.tar.gz
(5.1 kB
view hashes)
Built Distribution
Close
Hashes for moban_slim-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f61ec26f814db6d8e16866206cbf8fc57ec93349c08480e15abf051922babe4e |
|
MD5 | b86b57e02245580f7db3c8e8c44e1bbb |
|
BLAKE2b-256 | fc12ac8d2ce3f9cc1f67a57182bfce2d16e5079df96b9b90753234fc8fbb2b56 |