Skip to main content

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


Download files

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

Source Distribution

wishbone_function_template-1.0.1.tar.gz (3.5 kB view details)

Uploaded Source

File details

Details for the file wishbone_function_template-1.0.1.tar.gz.

File metadata

File hashes

Hashes for wishbone_function_template-1.0.1.tar.gz
Algorithm Hash digest
SHA256 330eb1222c13951a8dc7ab54c6548ef0ec8da585e3e57a07a0f8f73700d0a222
MD5 f799ca50f934d12f1eacbd34fdfd74ae
BLAKE2b-256 f72cfecf6077a7a48dc278b91610bab67cdd0a54992f1c95f40683a3bde71ac7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page