This release is a pre-release and may not be stable for production use.
iw.recipe.template package
================
.. contents::
What is iw.recipe.template ?
==================
Explain here what is the purpose of iw.recipe.template.
How to use iw.recipe.template ?
=====================
We need some buildout vars::
>>> data_dir = join(test_dir, 'data')
>>> parts_dir = join(data_dir, 'parts')
>>> buildout = {'instance': {'location': test_dir},
... 'buildout': {'directory': test_dir,
... 'install-from-cache': False,
... 'download-cache':False,
... 'parts-directory': parts_dir}}
>>> name = 'template'
And a template::
>>> template = join(data_dir, 'template.py_impl')
>>> open(template, 'w').write('''My template is named "$name"''')
Then, the recipe should work::
>>> from iw.recipe.template import Recipe
>>> options = {}
>>> options['source'] = template
>>> options['destination'] = join(data_dir, 'template.py')
>>> recipe = Recipe(buildout, name, options)
>>> filename = recipe.install()
Here is the result::
>>> print open(options['destination']).read()
My template is named "template"
Metadata
Release files for iw.recipe.template 0.1dev-r6578
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| iw.recipe.template-0.1dev_r6578-py2.4.egg | Legacy Egg format | - | - | Details for iw.recipe.template-0.1dev_r6578-py2.4.egg |
Release files / iw.recipe.template-0.1dev_r6578-py2.4.egg
| Download URL | iw.recipe.template-0.1dev_r6578-py2.4.egg |
|---|---|
| Size | 8.8 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
009ccbc2aad0d1455ef4d75927a8aca0d472a18b99e9b7f95d88a8cc1101a0a2
|
|
BLAKE2b-256 checksum How to use checksums |
5506bf80022f8da254a189bf540cb7388029eda0c0043cc73c0d1ba437548c89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for iw.recipe.template 0.1dev-r6578
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.