semvec/pypi-packages huggingface dataset:
stencil-template 4.2.3
A template engine light enough to embed in your project.
License: MIT
Keywords: template

stencil
=======

A minimalist template engine for Python3

The goal of Stencil is to provide just enough of a template engine in a single file.

Currently weighs in at 550 LoC (414 according to sloccount).

Quick Start
-----------

1. Make a directory for our templates:

   .. code-block:: bash

      $ mkdir tmpl

2. Create a simple template:

   .. code-block:: html

      Good morning, {{ name }}!

3. Write a script to use it

   .. code-block:: python

      import stencil

      loader = stencil.TemplateLoader(['tmpl/'])

      t = loader['index.html']
      c = stencil.Context({'name': 'Ruprect'})

      print t.render(c)
      # Should output "Good morning, Ruprect!"


Python support
--------------

As of stencil v4, there is a new expression syntax that is not backward
compatible.

As of stencil v2.1, only Python 3.6+ is supported.
As of stencil v2, only Python 3.4+ is supported.

Stencil 1.2.3 is the last stable Python 2.7 version.

See the `documentation <https://stencil-templates.readthedocs.io/en/latest/>`_ to see more details.
gilbert 0.6.1
A simple, extensible static site generator.
License: MIT
Requires Python: >=3.12

# Gilbert

Another static site generator.

https://en.wikipedia.org/wiki/William_Gilbert_(astronomer)

This README contains a brief introduction to the project. Full documentation
[is available here](https://gilbert.readthedocs.io/en/latest/).

# Quick Start

Install gilbert:

    $ pip install gilbert

Create a gilbert project:

    $ gilbert --root mysite init

(You can omit `--root` if it's the current directory.)

Create page files in mysite/pages/

Render your site:

    $ gilbert --root mysite render

Have gilbert serve your site:

    $ gilbert --root mysite serve

Serve your site and re-render on changes:

    $ gilbert --root mysite serve --watch

Finally, list all loaders and plugins:

    $ gilbert --root mysite plugins


## Installation requirements

Gilbert current requires Python 3.7 or greater.