Skip to main content

Template buildout recipe

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 2010 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.

Metadata

Release files for isotoma.recipe.template 0.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for isotoma.recipe.template 0.0.0
File Size Uploaded Provenance Actions
isotoma.recipe.template-0.0.0.tar.gz 2.8 kB Without provenance Details for isotoma.recipe.template-0.0.0.tar.gz

Release files / isotoma.recipe.template-0.0.0.tar.gz

Download URL isotoma.recipe.template-0.0.0.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2ec13ddf81e6b996cd3cc12f83aecda52183cf6a1117dc876e588e94912a8fb3
BLAKE2b-256 checksum
How to use checksums
018c2ebdd877ae9d4c0ed19bee62b8cdfe69eb259702ed2fa83d24c84ea5ef11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for isotoma.recipe.template 0.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page