Skip to main content

No project description provided

Project description

pysimultan_jinja


Table of Contents

Overview

The pysimultan_jinja package is a toolbox for rendering Jinja2 templates in PySimultanUI.

How does it work?

The package implements a JinjaTemplate class that is used to render Jinja2 templates in PySimultanUI.

With the package, a JinjaTemplate Component can be created, which can be used to render Jinja2 templates with it's rendered_component as content.

The class has the following attributes:

  • name: The name of the component
  • template_file: The Jinja2 template file. This is a File which contains the Jinja2 template.
  • rendered_component: The rendered component or parameter. This component or parameter is passed to the Jinja2 template for rendering.
  • result: The result of the rendering. This is a File which contains the rendered template.
  • output_filename: The name of the output file. This is the name of the file that will be created after rendering the template.

license

This project is licensed under the GNU Lesser General Public License v3.0 - see the LICENSE file for details.

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

pysimultan_jinja-1.0.0.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pysimultan_jinja-1.0.0-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

Details for the file pysimultan_jinja-1.0.0.tar.gz.

File metadata

  • Download URL: pysimultan_jinja-1.0.0.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for pysimultan_jinja-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a571a971df53ea37f36c9fc2a6333d4889223bdf2bc16ad7246159074e88d840
MD5 fe11ff2c93063a2f40745be0f3f7d587
BLAKE2b-256 d1551670764815935bdaa350ef2e8acda35ad87ca6163a6241460c8753c386ee

See more details on using hashes here.

File details

Details for the file pysimultan_jinja-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pysimultan_jinja-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8926ada4b149e78ad2b25bb31fd7643bc76779f39dc081e6d5fd4cc2815462eb
MD5 6d97b3a30fc6a34e88ff6230b4de1b32
BLAKE2b-256 4eed66e6c47001725fcd5edacf004e5c6597fc2f1bcd85758b231e128501e936

See more details on using hashes here.

Supported by

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