Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Wrapper around Cheetah + JSON to provide simple buildout templating

Project Description

This recipe provides buildout with a generic way to fill in a template from buildout parameters. Lists and dictionaries are supported using JSON syntax.

Mandatory Parameters

input
Path to a template (in Cheetah format)
output
Where to write the template

Example

In your template:

${hello_world}
#for $bar in $foo
$bar
#end for

And in your buildout.cfg:

[buildout]
parts = template

[template]
recipe = isotoma.recipe.template
input = template.cfg
output = myfile.cfg
hello_world = Hello World
foo = ['foo', 'bar', 'baz']

Repository

This software is available from our recipe repository on github.

License

Copyright 2011 Isotoma Limited

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Release History

Release History

This version
History Node

0.0.5

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

History Node

0.0.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
isotoma.recipe.template-0.0.5.tar.gz (3.1 kB) Copy SHA256 Checksum SHA256 Source Jun 13, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting