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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file moban-slim-0.0.2.tar.gz.
File metadata
- Download URL: moban-slim-0.0.2.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75e736002dfa6b675f966784ae2ca5557bb58b48041df2195a5907a10ae1b18c
|
|
| MD5 |
2be7b022477989bfb21511259956ce5a
|
|
| BLAKE2b-256 |
a87ded90d57e391c006a40b230a34ee4d1efcb7c837c2650d4c3c1e98f6ff755
|
File details
Details for the file moban_slim-0.0.2-py2.py3-none-any.whl.
File metadata
- Download URL: moban_slim-0.0.2-py2.py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f61ec26f814db6d8e16866206cbf8fc57ec93349c08480e15abf051922babe4e
|
|
| MD5 |
b86b57e02245580f7db3c8e8c44e1bbb
|
|
| BLAKE2b-256 |
fc12ac8d2ce3f9cc1f67a57182bfce2d16e5079df96b9b90753234fc8fbb2b56
|