https://github.com/cheetahbyte/cucumber
templates of finest taste.
https://github.com/cheetahbyte/cucumber
Last synced: 2 months ago
JSON representation
templates of finest taste.
- Host: GitHub
- URL: https://github.com/cheetahbyte/cucumber
- Owner: cheetahbyte
- License: mit
- Created: 2021-12-31T08:58:15.000Z (over 3 years ago)
- Default Branch: development
- Last Pushed: 2022-11-21T16:07:00.000Z (over 2 years ago)
- Last Synced: 2025-04-01T09:28:34.926Z (2 months ago)
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fuchs Templates
> Fuchs Templates is a simple template engine for HTML/XML written in Python.
Fuchs is the successor of [TEX](https://pypi.org/project/tex-engine) (Template Engine X)
## Inspiration
Fuchs was clearly influenced by template engines like Handlebars, Jinja and Genshi. And deliberately combines everything to ensure the best comfort with the highest quality.
## Functional references
Fuchs takes its cue from PHP, it has a syntax that allows to execute Python code.
```html
{{abc}}
```
```html
{{abc}}
```
## Why not Jinja?
For my web framework Wire, I really wanted something that came from myself. I mean, it's easy to add any dependency and be satisfied. But, I don't want that.
# Note
Since Fuchs works exclusively on the server side, any security measures were removed when evaluating the code. Keywords like `quit()`, `exit()` etc. are therefore usable.
Please avoid using them.