Skip to main content

Provide slim templating capability to moban.

Project description

https://api.travis-ci.org/moremoban/moban-slim.svg https://codecov.io/github/moremoban/moban-slim/coverage.png https://badge.fury.io/py/moban-slim.svg 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}}"
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

Author

Charlie Liu

Contributors

In alphabetical order:

Change log

0.0.2 - 16-06-2020

Updated

  1. #1: support moban v0.3.8

  2. #3: support moban v0.3.9

  3. #5: support moban v.0.4.1

  4. #6: support moban v6.0.0

0.0.1 - 30-11-2018

First release

  1. render slim files for moban

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)

Uploaded Source

Built Distribution

moban_slim-0.0.2-py2.py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page