A Wishbone function module to render Jinja2 templates.
Project description
__ __ __ .--.--.--|__.-----| |--| |--.-----.-----.-----. | | | | |__ --| | _ | _ | | -__| |________|__|_____|__|__|_____|_____|__|__|_____| version 2.1.2 Build composable event pipeline servers with minimal effort. ========================== wishbone.function.template ========================== Version: 1.0.0 A Wishbone module which generates a text from a dictionary and a template. -------------------------------------------------------------------------- Converts a dictionary to a text using the defined Jinja2 template. Optionally header template values can be converted too. Parameters: - location(str)("./") | The directory containing templates. - template(str)()* | The template filename stored in directory <location>. - source(str)("@data")* | The dictionary to use. - destination(str)("@data")* | The location to which the rendered result has to be stored. - header_templates(dict)({})* | A dict of templates to render. Can be lookup values. | Results are stored in this module's instance header | using the provided key. Queues: - inbox | Incoming events - outbox | Outgoing events
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for wishbone_function_template-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75ecf14630da62a975d23afac1ba02d7f2f7f84a1b8feeddef422f37a855a501 |
|
MD5 | bde1a93e371d1bd68fd82df07fb144e0 |
|
BLAKE2b-256 | b6a5ccfbca77d4cf59e51a94018a002d90b9b4b1bd0cc566c373fd44f2b9b7e3 |