Skip to main content

✈️ HTML Template engine for python!

Project description

Htmotor

HTML Template Engine for Python!

Installation:

Open your terminal and type pip install htmotor. Now you are ready to go!

Supports:

  • Variables
  • For Loop
  • Eval, Exec
  • XSS Preventation

Documentation:

Documentation is avaible at GitHub.

Bug? Issue?

If you got an error or bug, please report at here.

Simple Example

if you want to see htmotor syntax, here you go:

<!DOCTYPE html>
<html lang="en">
<head>
        {% responsive %}
        <title>{%v title %}</title>
</head>
<body>
        <h1>{%v name %}</h1>
        {%ex import datetime %}
        <p>Datetime: {%ev datetime.datetime.utcnow().strftime("%d/%m/%Y, %H:%M:%S") %}</p>
</body>
</html>

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

htmotor-1.0.0.tar.gz (4.2 kB view hashes)

Uploaded Source

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