Skip to main content

A file template renderer

Project description

lovely.spice is a template renderer package to generate files from given template path and given context file.

Usage

usage: render [-h] template_path context_path target_path

Render templates with given context into target folder

positional arguments:
template_path | The directory containing the templates to use
context_path | The path to the python file defining the context
target_path | The directory where the rendered files will be stored
optional arguments:
-h, --help

show this help message and exit

Development

Run bootstrap:

$ python bootstrap.py -v 2.3.1

And run buildout the project to generate the required scripts and command line tools:

$ bin/buildout -N

Run tests:

$ bin/test

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lovely.spice-0.1.0.tar.gz (4.0 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page