This release is a pre-release and may not be stable for production use.
Textfile Recipe
This is a very simple recipe which generates a textfile from a template.
The template can be everything, and may contain python-style string formatters. The values will be replaced with the options you set inside the buildout.cfg section.
Example
An example buildout.cfg:
[buildout]
parts=test.txt
template-dir=${buildout:directory}/templates
[test.txt]
recipe=inquant.recipe.mktemplate
template=${buildout:template-dir}/test.txt.in
output=${buildout:directory}/test.txt
avalue=foo
anothervalue=bar
An example text template:
This is just a test template=%(template)s output=%(output)s This is just text %(avalue)s and %(anothervalue)s got replaced. See?
The recipe will read the template and replace the strings yielding something like:
This is just a test template=/Users/seletz/develop/plone/buildout/templates/test.txt.in output=/Users/seletz/develop/plone/buildout/test.txt This is just text foo and bar got replaced. See?
vim: set ft=rst ts=2 sw=2 expandtab:
Metadata
Release files for inquant.recipe.textfile 0.1dev-r1954
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| inquant.recipe.textfile-0.1dev-r1954.tar.gz | 12.8 kB | Without provenance | Details for inquant.recipe.textfile-0.1dev-r1954.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| inquant.recipe.textfile-0.1dev_r1954-py2.4.egg | Legacy Egg format | - | - | Details for inquant.recipe.textfile-0.1dev_r1954-py2.4.egg |
Total release size: 18.1 kB
Release files / inquant.recipe.textfile-0.1dev-r1954.tar.gz
| Download URL | inquant.recipe.textfile-0.1dev-r1954.tar.gz |
|---|---|
| Size | 12.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9a4216e6c808f788e530b9b9a7cc8a31928f43bc6a5343b063a0f8ff36027765
|
|
BLAKE2b-256 checksum How to use checksums |
c066d53d8106610e87d2b13acdff58929921dd0e07a89fa1e31415c4c8c0f499
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / inquant.recipe.textfile-0.1dev_r1954-py2.4.egg
| Download URL | inquant.recipe.textfile-0.1dev_r1954-py2.4.egg |
|---|---|
| Size | 5.3 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
13a59c02ec8d9a3218af96b90b862168cf0685028d12f5ce98396f0c313f8106
|
|
BLAKE2b-256 checksum How to use checksums |
5364963ba5625386468334a5a68199737a923ce54b662ac8b1277062a235c1be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for inquant.recipe.textfile 0.1dev-r1954
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.